Skip to content

Commit

Permalink
Dependencies: Add upper limit for flask<2.3
Browse files Browse the repository at this point in the history
The release `flask==2.3` removed the `JSONEncoder` which the REST API
implementation still relies on. Until that is replaced with the new
`JSONProvider` interface, an upper limit is placed on the dependency.
See pallets/flask#4995 for details
  • Loading branch information
sphuber committed May 1, 2023
1 parent 47c818c commit 508aeda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/nitpick-exceptions
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ py:class html.parser.HTMLParser
py:class disk_objectstore.container.Container

py:class flask.app.Flask
py:class flask.json.JSONEncoder

py:class pytest.TempPathFactory

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ssh_kerberos = [
rest = [
"flask-cors~=3.0",
"flask-restful~=0.3.7",
"flask~=2.0",
"flask~=2.0,<2.3",
"pyparsing~=2.4",
"python-memcached~=1.59",
"seekpath~=1.9,>=1.9.3"
Expand Down

0 comments on commit 508aeda

Please sign in to comment.