Skip to content

Commit 1346ccc

Browse files
authored
Remove ray extra from google aiplatform for Python 3.12 (#49797)
* Remove ray extra from google aiplatform for Python 3.12 * Update providers/google/pyproject.toml
1 parent bfa7aa3 commit 1346ccc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

providers/google/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ dependencies = [
7575
"google-api-python-client>=2.0.2",
7676
"google-auth>=2.29.0",
7777
"google-auth-httplib2>=0.0.1",
78-
"google-cloud-aiplatform[evaluation,ray]>=1.73.0",
7978
# google-cloud-aiplatform doesn't install ray for python 3.12 (issue: https://github.com/googleapis/python-aiplatform/issues/5252).
8079
# Temporarily lock in ray 2.42.0 which is compatible with python 3.12 until linked issue is solved.
81-
"ray[default]==2.42.0 ; python_version == '3.12'",
80+
"google-cloud-aiplatform[evaluation,ray]>=1.73.0;python_version < '3.12'",
81+
"google-cloud-aiplatform[evaluation]>=1.73.0;python_version >= '3.12'",
82+
"ray[default]==2.42.0 ; python_version >= '3.12'",
8283
"google-cloud-alloydb>=0.4.0",
8384
"google-cloud-automl>=2.12.0",
8485
# Excluded versions contain bug https://github.com/apache/airflow/issues/39541 which is resolved in 3.24.0

0 commit comments

Comments
 (0)