Skip to content

Commit 6cc45bb

Browse files
yinghsienwucopybara-github
authored andcommitted
fix: Set upper bound of setuptools to unbreak public Colab for using vertex_ray namespace
PiperOrigin-RevId: 641060544
1 parent 3b3b8e4 commit 6cc45bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
"ray[default] >= 2.4, <= 2.9.3,!= 2.5.*,!= 2.6.*,!= 2.7.*,!="
108108
" 2.8.*,!=2.9.0,!=2.9.1,!=2.9.2; python_version<'3.11'"
109109
),
110+
# To avoid ImportError: cannot import name 'packaging' from 'pkg)resources'
111+
"setuptools < 70.0.0",
110112
# Ray Data v2.4 in Python 3.11 is broken, but got fixed in Ray v2.5.
111113
"ray[default] >= 2.5, <= 2.9.3; python_version=='3.11'",
112114
"google-cloud-bigquery-storage",

0 commit comments

Comments
 (0)