mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 17:02:43 +08:00
[Serve] Only install dataclasses on Python 3.6 (#10936)
This commit is contained in:
committed by
Barak Michener
parent
c636f5bd40
commit
f371eb334c
+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