Skip to content

Commit

Permalink
requirements: fix issue with Werkzeug
Browse files Browse the repository at this point in the history
Add `Werkzeug==2.3.8` entry to the requirements.txt file before
`Flask==2.1.0` entry to resolve Flask dependency `Werkzeug >= 2.0`.
Otherwise, Werkzeug 3 is installed that is incompatible with Flask 2.
  • Loading branch information
ylobankov committed Mar 1, 2024
1 parent c92f718 commit a3fb828
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
boto3==1.17.5
# Werkzeug must be before Flask entry because Werkzeug 3 (it's incompatible with
# Flask 2) has been released and Flask doesn't specify this dependency correctly
# (it says Werkzeug >= 2.0).
Werkzeug==2.3.8
Flask==2.1.0
Flask-HTTPAuth==4.6.0
mkrepo==1.0.2
Expand Down

0 comments on commit a3fb828

Please sign in to comment.