-
Notifications
You must be signed in to change notification settings - Fork 88
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
Werkzeug updated. Getting errors #179
Comments
Setting requirement Looks like it mainly comes from the Python 2 compatibility stuff. Do you want to maintain Py2 compat? Or could I remove that |
I am running Python3 (Flask 2.0.0) and still getting this error.
|
@avikalpg You gotta go less than 2 Version 1.0.1 is the latest <2 version that works |
Yes, werkzeug<2.0.0 worked for me. I was just mentioning that the problem exists for Python3 as well. So that newer versions of the library can fix this issue. I had to downgrade my Flask version as well to accommodate this change. |
I think it makes sense to drop the python 2 support |
I agree, Python 2 support should be dropped - this will also allow for removal of a some of backwards-compatiblity code and outdated conventions in the library code itself. |
@logandk would you prefer to fix this by pinning I'd like to work separately on creating a version 2.0 that drops support for python2 afterwards as well |
@babyhuey I think we should pin |
Great! Looks like someone has already gone through the trouble of pinning to 1.0.1 here When can we expect you to merge this and create a new release? |
Thanks for pointing it out, I missed that PR. Will merge and release asap |
Hi @logandk, any update on this? I have a few projects pinned that I'd like to get back to latest on. Anything I can do to move this along? Thanks |
I don't think pinning it is a solution, atleast not for me. I'm trying to use latest flask (2.0.1), but with werkzeug pinned I get the following error:
Makes sense since flask >= 2.0.0 requires newer Werkzeug. This now leaves me having to run old flask as well as werkzeug and probally other stuff over time. |
I'm still getting the same error with flask 2.0.4 with serverless-wsgi v. 1.7.8 . Any update on supporting Flask 2? |
The plan was to release serverless-wsgi 2.0.0 which drops Python 2 support and supports the latest Flask/Werkzeug. I don't have any time to allocate towards this in the near future, but I'm happy to accept a PR. |
Hi, |
No, it has been fixed. Upgrade werkzeug to >2 and serverless-wsgi to latest version and they work just fine! |
Yeah, thanks. My bad |
On Werkzeug 2.0, getting error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi_handler': No module named 'werkzeug._compat' Traceback (most recent call last):
The text was updated successfully, but these errors were encountered: