This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 1346ccc3a6a Remove ray extra from google aiplatform for Python 3.12 
(#49797)
1346ccc3a6a is described below

commit 1346ccc3a6af29caa3d08387101429f32e5fd111
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Apr 25 20:43:08 2025 +0200

    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
---
 providers/google/pyproject.toml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/providers/google/pyproject.toml b/providers/google/pyproject.toml
index 62daf7b16a4..26e43bf9bc1 100644
--- a/providers/google/pyproject.toml
+++ b/providers/google/pyproject.toml
@@ -75,10 +75,11 @@ dependencies = [
     "google-api-python-client>=2.0.2",
     "google-auth>=2.29.0",
     "google-auth-httplib2>=0.0.1",
-    "google-cloud-aiplatform[evaluation,ray]>=1.73.0",
     # google-cloud-aiplatform doesn't install ray for python 3.12 (issue: 
https://github.com/googleapis/python-aiplatform/issues/5252).
     # Temporarily lock in ray 2.42.0 which is compatible with python 3.12 
until linked issue is solved.
-    "ray[default]==2.42.0 ; python_version == '3.12'",
+    "google-cloud-aiplatform[evaluation,ray]>=1.73.0;python_version < '3.12'",
+    "google-cloud-aiplatform[evaluation]>=1.73.0;python_version >= '3.12'",
+    "ray[default]==2.42.0 ; python_version >= '3.12'",
     "google-cloud-alloydb>=0.4.0",
     "google-cloud-automl>=2.12.0",
     # Excluded versions contain bug 
https://github.com/apache/airflow/issues/39541 which is resolved in 3.24.0

Reply via email to