Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated werkzeug.cached_property #349

Open
kshefchek opened this issue Feb 26, 2020 · 1 comment
Open

remove deprecated werkzeug.cached_property #349

kshefchek opened this issue Feb 26, 2020 · 1 comment

Comments

@kshefchek
Copy link
Contributor

When booting biolink it exits at start-up with the exception:

  File "/opt/biolink-api/biolink/app.py", line 13, in <module>
    from biolink.api.restplus import api
  File "/opt/biolink-api/biolink/api/restplus.py", line 4, in <module>
    from flask_restplus import Api
  File "/opt/biolink-api/venv/lib/python3.6/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/opt/biolink-api/venv/lib/python3.6/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property
ImportError: cannot import name 'cached_property'

See jarus/flask-testing#143

temporarily fixed by anchoring Werkzeug to 0.16.1

@kshefchek
Copy link
Contributor Author

theres a large reduction in logs after changing werkzeug 0.16.1 (or perhaps from another dep being upgraded)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant