Skip to content

Commit 827b484

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: update setup.py for including Ray v2.42
PiperOrigin-RevId: 738981126
1 parent eb8c55e commit 827b484

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,22 @@
101101
preview_extra_require = []
102102

103103
ray_extra_require = [
104-
# Cluster only supports 2.9.3 and 2.33.0. Keep 2.4.0 for our testing environment.
104+
# Cluster only supports 2.9.3, 2.33.0, and 2.42.0. Keep 2.4.0 for our
105+
# testing environment.
105106
# Note that testing is submiting a job in a cluster with Ray 2.9.3 remotely.
106107
(
107-
"ray[default] >= 2.4, <= 2.33.0,!= 2.5.*,!= 2.6.*,!= 2.7.*,!="
108+
"ray[default] >= 2.4, <= 2.42.0,!= 2.5.*,!= 2.6.*,!= 2.7.*,!="
108109
" 2.8.*,!=2.9.0,!=2.9.1,!=2.9.2, !=2.10.*, !=2.11.*, !=2.12.*, !=2.13.*, !="
109110
" 2.14.*, !=2.15.*, !=2.16.*, !=2.17.*, !=2.18.*, !=2.19.*, !=2.20.*, !="
110111
" 2.21.*, !=2.22.*, !=2.23.*, !=2.24.*, !=2.25.*, !=2.26.*, !=2.27.*, !="
111-
" 2.28.*, !=2.29.*, !=2.30.*, !=2.31.*, !=2.32.*; python_version<'3.11'"
112+
" 2.28.*, !=2.29.*, !=2.30.*, !=2.31.*, !=2.32.*, !=2.34.*, !=2.35.*, !="
113+
" 2.36.*, !=2.37.*, !=2.38.*, !=2.39.*, !=2.40.*, !=2.41.*;"
114+
" python_version<'3.11'"
112115
),
113116
# To avoid ImportError: cannot import name 'packaging' from 'pkg_resources'
114117
"setuptools < 70.0.0",
115118
# Ray Data v2.4 in Python 3.11 is broken, but got fixed in Ray v2.5.
116-
"ray[default] >= 2.5, <= 2.33.0; python_version=='3.11'",
119+
"ray[default] >= 2.5, <= 2.42.0; python_version=='3.11'",
117120
"google-cloud-bigquery-storage",
118121
"google-cloud-bigquery",
119122
"pandas >= 1.0.0",

0 commit comments

Comments
 (0)