mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:53:14 +08:00
[Serve] Only install dataclasses on Python 3.6 (#10936)
This commit is contained in:
+8
-2
@@ -103,8 +103,14 @@ optional_ray_files += ray_dashboard_files
|
||||
# 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