Skip to content

Commit

Permalink
[serve] Pin fastapi==0.99.1 in requirements-doc.txt to fix API re…
Browse files Browse the repository at this point in the history
…ference (ray-project#37340)

See ray-project#37337 for debugging context.

For some reason, `fastapi==0.100.0` breaks the API reference. For now, let's pin it to a working version to fix the docs.

We should separately debug and fix the issue.
  • Loading branch information
edoakes committed Jul 12, 2023
1 parent b07350e commit 1caa6b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fairscale<=0.4.0; python_version < '3.7'
filelock
flask
flatbuffers
fastapi
fastapi==0.99.1
jsonschema
mock
numpy
Expand Down
7 changes: 2 additions & 5 deletions python/requirements/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ cloudpickle==2.2.0
cryptography==38.0.1
cython==0.29.32
dataclasses; python_version < '3.7'
# 0.85.0 of fastapi is breaking the ci because
# requires newer starlette -> newer version typing-extensions
# conflicting with tensorflow 2.6
fastapi==0.75.0
fastapi==0.99.1
feather-format==0.4.1
# Keep compatible with Werkzeug
flask==2.1.3
Expand Down Expand Up @@ -101,7 +98,7 @@ importlib-metadata==4.10.0
# Some packages have downstream dependencies that we have to specify here to resolve conflicts.
# Feel free to add (or remove!) packages here liberally.
tensorboardX==2.6.0
starlette==0.17.1
starlette==0.27.0
h11==0.12.0
markdown-it-py==2.2.0
attrs==21.4.0
Expand Down

0 comments on commit 1caa6b1

Please sign in to comment.