Skip to content

Commit

Permalink
Downgraded werkzeug from <=2.1.2 to 1.0.1 and MarkupAfe to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
m-i-l committed Oct 9, 2022
1 parent ee542eb commit 8afbe2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/web/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
mod-wsgi
pyrsistent
# werkzeug<=2.1.2 required to avoid ImportError: cannot import name 'parse_rule' from 'werkzeug.routing'
werkzeug<=2.1.2
#werkzeug<=2.1.2
# Temporarily downgrading werkzeug because werkzeug<=2.1.2 breaks the API with "The browser (or proxy) sent a request that this server could not understand." (I think it is something to do with the new reqparse)
werkzeug==1.0.1
# Downgrading werkzeug requires downgrading MarkupSafe to avoid "cannot import name 'soft_unicode' from 'markupsafe'" error
MarkupSafe==1.1.1
flask
flask-restx
# Builds fail with "Error: pg_config executable not found" with latest psycopg2-binary releases (2.9, 2.9.1, 2.9.2, 2.9.3) so using 2.8.6
Expand Down

0 comments on commit 8afbe2c

Please sign in to comment.