Skip to content

Commit d947304

Browse files
matthew29tangcopybara-github
authored andcommitted
feat: Update ray extras installation in setup.py for Ray 2.9.3
PiperOrigin-RevId: 611334927
1 parent e048e3a commit d947304

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@
9797
]
9898

9999
ray_extra_require = [
100-
# Ray's dependency version must be kept in sync with what Cluster supports.
101-
"ray[default] >= 2.4, < 2.5; python_version<'3.11'",
100+
# Cluster only supports 2.4.0 and 2.9.3
101+
"ray[default] >= 2.4, <= 2.9.3,!= 2.5.*,!= 2.6.*,!= 2.7.*,!= 2.8.*,!=2.9.0,!=2.9.1,!=2.9.2; python_version<'3.11'",
102102
# Ray Data v2.4 in Python 3.11 is broken, but got fixed in Ray v2.5.
103-
"ray[default] >= 2.5, < 2.5.1; python_version>='3.11'",
103+
"ray[default] >= 2.5, <= 2.9.3; python_version>='3.11'",
104104
"google-cloud-bigquery-storage",
105105
"google-cloud-bigquery",
106-
"pandas >= 1.0.0",
106+
"pandas >= 1.0.0, < 2.2.0",
107107
"pyarrow >= 6.0.1",
108108
# Workaround for https://github.com/ray-project/ray/issues/36990.
109109
# TODO(b/295406381): Remove this pin when we drop support of ray<=2.5.

testing/constraints-3.10.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ packaging==20.0 # Increased for compatibility with MLFlow
1010
grpcio-testing==1.34.0
1111
mlflow==1.30.1 # Pinned to speed up installation
1212
pytest-xdist==3.3.1 # Pinned to unbreak unit tests
13+
ray==2.4.0 # Pinned until 2.9.3 is verified for Ray tests

testing/constraints-3.11.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ protobuf
77
mock==4.0.2
88
google-cloud-storage==2.2.1 # Increased for kfp 2.0 compatibility
99
pytest-xdist==3.3.1 # Pinned to unbreak unit tests
10+
ray==2.5.0 # Pinned until 2.9.3 is verified for Ray tests

testing/constraints-3.8.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ google-cloud-storage==2.2.1 # Increased for kfp 2.0 compatibility
1111
packaging==20.0 # Increased for compatibility with MLFlow
1212
grpcio-testing==1.34.0
1313
pytest-xdist==3.3.1 # Pinned to unbreak unit tests
14+
ray==2.4.0 # Pinned until 2.9.3 is verified for Ray tests

testing/constraints-3.9.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ google-cloud-storage==2.2.1 # Increased for kfp 2.0 compatibility
99
packaging==20.0 # Increased for compatibility with MLFlow
1010
grpcio-testing==1.34.0
1111
pytest-xdist==3.3.1 # Pinned to unbreak unit tests
12+
ray==2.4.0 # Pinned until 2.9.3 is verified for Ray tests

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy