Closed
Description
the 2.2.0 release of pallets/werkzeug breaks flask-restx.
Here you can find the following traceback:
../../.local/lib/python3.8/site-packages/flask_restx/__init__.py:5: in <module>
from .api import Api # noqa
../../.local/lib/python3.8/site-packages/flask_restx/api.py:50: in <module>
from .swagger import Swagger
../../.local/lib/python3.8/site-packages/flask_restx/swagger.py:18: in <module>
from werkzeug.routing import parse_rule
E ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' (/home/prambaud/.local/lib/python3.8/site-packages/werkzeug/routing/__init__.py)
Repro Steps (if applicable)
- install flas-restx
- import flask-restx.swagger as frs
- Broken!