Skip to content

Commit

Permalink
[CI] pin uvicorn to 0.16.0 to fix serve (#21612)
Browse files Browse the repository at this point in the history
  • Loading branch information
architkulkarni authored Jan 15, 2022
1 parent 42bcab2 commit 26057c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/asan_tests/ray-project/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ tabulate
tensorflow==2.0.1
torch
torchvision
uvicorn
uvicorn==0.16.0
werkzeug
xlrd
2 changes: 1 addition & 1 deletion doc/requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sphinx-book-theme==0.0.42
sphinxcontrib.yt
starlette
tabulate
uvicorn
uvicorn==0.16.0
werkzeug
git+https://github.com/ray-project/tune-sklearn@master#tune-sklearn
git+https://github.com/ray-project/xgboost_ray@master#egg=xgboost_ray
Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pandas>=1.2.0; python_version >= '3.7'
scipy==1.4.1
tabulate
tensorboardX >= 1.9
uvicorn
uvicorn==0.16.0
dataclasses; python_version < '3.7'
starlette
aiorwlock
Expand Down
4 changes: 3 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ def get_packages(self):
"prometheus_client >= 0.7.1",
"smart_open"
],
"serve": ["uvicorn", "requests", "starlette", "fastapi", "aiorwlock"],
"serve": [
"uvicorn==0.16.0", "requests", "starlette", "fastapi", "aiorwlock"
],
"tune": ["pandas", "tabulate", "tensorboardX>=1.9", "requests"],
"k8s": ["kubernetes", "urllib3"],
"observability": [
Expand Down

0 comments on commit 26057c4

Please sign in to comment.