-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Version 1.0.0 removed previously deprecated code #1714
Comments
Please post full tracebacks if you encounter any issues. |
The issue is not with Flask, and Werkzeug will not continue supporting these deprecated imports. 0.16 has been issuing deprecation warnings for 5 months. Use that version as an intermediate step to identify what imports have changed. You can help extensions and other projects by opening an issue or submitting a PR in the relevant project.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
+1, having the following issue:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is a completely awful user experience. Flask-WTF 0.14.3 with the fixes was released hours ago. How are we pushing out a release that removes support when massive parts of the ecosystem were not ready for this? This is I believe the third time an update to one of the pallets libraries broke code I had running in less than six months. |
similar issue
workaround |
@Abdelsalam-Abbas connexion fixed that import back in October 2019 - maybe you are running an old version? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Would someone mind providing some insight into why my flask request object returned from Since this release I'm getting this error:
|
@LucasLLC If you aren't already I'd recommend pinning your dependencies and periodically upgrading, a chore that is made easy by tools such as poetry. |
@pgjones ideally we do a bugfix release of flask 0.12 which pins werkzeug to < 1.0.0. This is afterall a bad pin in Flask. |
Also yes, this API is effectively Flask API and it was documented as such: https://flask.palletsprojects.com/en/0.12.x/api/#flask.Request.is_xhr |
Ah, my mistake. I was referencing the warning generated in this method, and didn't realize it was coming from Werkzeug, that makes a lot more sense.
Thanks for the tip! We'll look into poetry. |
The 1.0.0 release that was pushed 2 hours ago published breaking changes for people using flask. Not sure if it was a desired effect and flask should pin their version or if changes in this project need to happen.
The text was updated successfully, but these errors were encountered: