Skip to content

Commit 9fedd34

Browse files
jaycee-licopybara-github
authored andcommitted
chore: fix vertexai unit tests
PiperOrigin-RevId: 571082163
1 parent 8db9156 commit 9fedd34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
preview_extra_require = [
9898
"cloudpickle < 3.0",
9999
"google-cloud-logging < 4.0",
100-
"importlib-metadata < 7.0; python_version<'3.8'",
101100
]
102101

103102
ray_extra_require = [
@@ -145,8 +144,9 @@
145144
"pytest-xdist",
146145
"scikit-learn",
147146
"tensorflow >= 2.3.0, <= 2.12.0",
148-
"torch >= 2.0.0; python_version>='3.8'",
149-
"torch; python_version<'3.8'",
147+
# TODO(jayceeli) torch 2.1.0 has conflict with pyfakefs, will check if
148+
# future versions fix this issue
149+
"torch >= 2.0.0, < 2.1.0",
150150
"xgboost",
151151
"xgboost_ray",
152152
"requests-toolbelt < 1.0.0",
@@ -202,7 +202,7 @@
202202
"preview": preview_extra_require,
203203
"ray": ray_extra_require,
204204
},
205-
python_requires=">=3.7",
205+
python_requires=">=3.8",
206206
classifiers=[
207207
"Development Status :: 5 - Production/Stable",
208208
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)