Skip to content

Commit

Permalink
add Werkzeug version constraint to requirements
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
doctorcolossus authored and balta2ar committed May 19, 2024
1 parent 461c1f3 commit 6f2ab29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Flask==2.0.2
requests==2.24.0
psutil==5.8.0
psutil==5.8.0
Flask==2.0.2
Werkzeug<3.0

0 comments on commit 6f2ab29

Please sign in to comment.