Skip to content

Commit

Permalink
Dependencies: set upper limit werkzeug<2.2 (#5606)
Browse files Browse the repository at this point in the history
The `werkzeug==2.2` release is breaking the REST API causing most of the
routes to return a 404 error. The problem is that routes with a trailing
slash are now treated as branch leaves, whereas before they would be
treated as leaf routes if that could be uniquely determined. Now it will always
treat it literally and return a 404 if not explicitly defined.
  • Loading branch information
sphuber authored Aug 4, 2022
1 parent bc73d61 commit bd27aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ dependencies:
- tabulate~=0.8.5
- tqdm~=4.45
- upf_to_json~=0.9.2
- werkzeug<2.2
- wrapt~=1.11.1
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dependencies = [
"tabulate~=0.8.5",
"tqdm~=4.45",
"upf_to_json~=0.9.2",
"werkzeug<2.2",
"wrapt~=1.11.1"
]

Expand Down

0 comments on commit bd27aea

Please sign in to comment.