-
Notifications
You must be signed in to change notification settings - Fork 338
flask-restx is not compatible with the latest werkzeug #460
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
Comments
|
I can confirm the bug |
Can also confirm the bug.
|
There is also an issue with flask-restx and werkzeug 2.1.x (#422) so I would maybe recommend setting |
Avoids issue python-restx/flask-restx#460 Signed-off-by: Xavier <[email protected]>
Avoids issue python-restx/flask-restx#460 Signed-off-by: Xavier <[email protected]>
This method was removed from the public API in werkzeug 2.2.0. Copying it into this project because the method is self-contained.
This method was removed from the public API in werkzeug 2.2.0. Copying it into this project because the method is self-contained.
I put up a PR, #463, which should at least fix this specific problem. It seems there are some cobwebs on the CI for this project, however, so this may require some maintainer love to fix the tests and merge. |
The restplus example was impacted by python-restx/flask-restx#460
Now more urgent, with the release of Flask 2.2.0 and its associated update to latest werkzeug. |
This error wasted my 30 minutes It really needs to be fixed asap! |
have the same issue... also waiting for a fix. |
Having this issue as well.... I personally don't mind downgrading, but our pipeline uses a codescanner that will not allow older Werkzeug due to an open CVE |
Hi folks, I am also waiting for a patch: It seems like flask_restx.swagger.py makes issues as werkzeug.routing.rules.py has changed. It doesn't support parse_rule function anymore. Instead there is a new _parse_rule function inside the Rule Class. |
Hi unrest folk, PS: It also patches |
@ziirish , will this fix be released as a new version soon? - Thanks |
@kannanprasanna: See #474. |
Pin Werkzeug due to python-restx/flask-restx#460
Pin Werkzeug due to python-restx/flask-restx#460
So it looks fixed in the sources. Any plan to release a 0.5.2 on pypi ? |
* only add Authorization header if token exists This patch makes the database config "token" optional. Users can either set it to an empty string or omit the token completely. This is useful for DB-APIs that do not require authentication, and therefore no token. * pin dependency werkzeug to version 2.1.2 to workaround python-restx/flask-restx#460 * add git ignore file build output and caches can be ignored by git * downgrade werkzeug even further to 2.0.* as suggested in python-restx/flask-restx#460 (comment)
the 2.2.0 release of pallets/werkzeug breaks flask-restx.
Here you can find the following traceback:
Repro Steps (if applicable)
The text was updated successfully, but these errors were encountered: