mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:38:18 +08:00
[Serve] Only install dataclasses on Python 3.6 (#10936)
This commit is contained in:
committed by
Barak Michener
parent
c636f5bd40
commit
f371eb334c
@@ -38,13 +38,13 @@ tabulate
|
||||
tensorboardX
|
||||
uvicorn
|
||||
pydantic
|
||||
dataclasses
|
||||
dataclasses; python_version < '3.7'
|
||||
|
||||
# Requirements for running tests
|
||||
blist; platform_system != "Windows"
|
||||
boto3
|
||||
cython==0.29.0
|
||||
dataclasses
|
||||
dataclasses; python_version < '3.7'
|
||||
dask[complete]
|
||||
feather-format
|
||||
gym
|
||||
|
||||
+8
-2
@@ -110,8 +110,14 @@ if os.getenv("RAY_USE_NEW_GCS") == "on":
|
||||
# in this directory
|
||||
extras = {
|
||||
"debug": [],
|
||||
"serve": ["uvicorn", "flask", "requests", "pydantic", "dataclasses"],
|
||||
"tune": ["tabulate", "tensorboardX", "pandas", "dataclasses"]
|
||||
"serve": [
|
||||
"uvicorn", "flask", "requests", "pydantic",
|
||||
"dataclasses; python_version < '3.7'"
|
||||
],
|
||||
"tune": [
|
||||
"tabulate", "tensorboardX", "pandas",
|
||||
"dataclasses; python_version < '3.7'"
|
||||
]
|
||||
}
|
||||
|
||||
extras["rllib"] = extras["tune"] + [
|
||||
|
||||
Reference in New Issue
Block a user