-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
New version of Werkzeug is not compatible with Flask #3486
Comments
I've created a PR with the proposed solution of @andresionek91 to see if that solves the issue, as a previous step before adapting the Flask code to use the new version of Werkzeug. |
flask-admin is not part of flask but a third-party extension module. |
@ThiefMaster |
I still haven't seen a traceback where it broke flask itself... |
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug, because the newest release breaks Flask and flask-restplus. More information --> pallets/flask#3486
Downgrade werkzeug, because the newest release breaks Flask. More information --> pallets/flask#3486
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug, because the newest release breaks Flask. More information --> pallets/flask#3486
Downgrade werkzeug, because the newest release breaks Flask. More information --> pallets/flask#3486
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Downgrade werkzeug and jsonschema, because their newest release break Flask and flask-restplus. More information --> pallets/flask#3486 and noirbizarre/flask-restplus#777
Expected Behavior
A new major release of Werkzeug is available as of yesterday. https://pypi.org/project/Werkzeug/1.0.0/
This is not compatible with flask_admin and flask_wtf:
File "/home/airflow/miniconda/envs/conda_env/lib/python3.6/site-packages/flask_admin/model/base.py", line 8, in <module> from werkzeug import secure_filename ImportError: cannot import name 'secure_filename'
Pinning Werkzeug to version 0.16.1 should solve the issue. https://github.com/pallets/flask/blob/master/setup.py#L56
Flask Version: 1.0.4
The text was updated successfully, but these errors were encountered: