Skip to content

Commit 6f2ab29

Browse files
doctorcolossusbalta2ar
authored andcommitted
add Werkzeug version constraint to requirements
Werkzeug >= 3.0 causes `ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.8/dist-packages/werkzeug/urls.py)` in `mediator/brotab_mediator.py`. Flask 2.0.2's requirements specify only Werkzeug >= 2.0 but should also specify Werkzeug < 3.0. Unless and until this is fixed upstream, clients of Flask 2.0.2 must specify Werkzeug < 3.0 themselves to avoid this error.
1 parent 461c1f3 commit 6f2ab29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

requirements/base.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Flask==2.0.2
21
requests==2.24.0
3-
psutil==5.8.0
2+
psutil==5.8.0
3+
Flask==2.0.2
4+
Werkzeug<3.0

0 commit comments

Comments
 (0)