[CI] pin uvicorn to 0.16.0 to fix serve (#21612)

This commit is contained in:
Archit Kulkarni 2022-01-14 16:00:51 -08:00 committed by GitHub
parent 42bcab27e8
commit 26057c433f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -34,6 +34,6 @@ tabulate
tensorflow==2.0.1
torch
torchvision
uvicorn
uvicorn==0.16.0
werkzeug
xlrd

View file

@ -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

View file

@ -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

View file

@ -213,7 +213,9 @@ if setup_spec.type == SetupType.RAY:
"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": [