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

vatsrahul1001 pushed a commit to branch temp-3.3.1rc1-google-fix
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 37c35d60aa5215d0a6f2e6311bc30cb4ca85e7eb
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Aug 7 17:13:50 2026 +0800

    Workaround bug in google-claude-aiplatform evaluation extra (Python 3.15)
    
    The "evaluation" extra of google-cloud-aiplatform limits litellm to range 
that
    has security vulnerabilities when we want to get 3.14 support. Until this is
    fixed we need to bump litellm to higher version and remove the "evaluation"
    extra from google-cloud-aiplatform.
    
    Tracked in: https://github.com/googleapis/python-aiplatform/issues/7057
---
 providers/google/README.rst     |  9 ++++++++-
 providers/google/docs/index.rst |  9 ++++++++-
 providers/google/pyproject.toml | 14 +++++++++++++-
 3 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/providers/google/README.rst b/providers/google/README.rst
index 6a5c22451ab..ddc3805e53a 100644
--- a/providers/google/README.rst
+++ b/providers/google/README.rst
@@ -76,7 +76,14 @@ PIP package                                 Version required
 ``google-api-python-client``                ``>=2.0.2``
 ``google-auth``                             ``>=2.29.0``
 ``google-auth-httplib2``                    ``>=0.0.1``
-``google-cloud-aiplatform[evaluation]``     ``>=1.155.0``
+``google-cloud-aiplatform``                 ``>=1.155.0``
+``tqdm``                                    ``>=4.23.0``
+``scikit-learn``                            ``>=1.6.0``
+``jsonschema``                              ``>=4.19.1``
+``ruamel.yaml``                             ``>=0.19.0``
+``pyyaml``                                  ``>=6.0.3``
+``litellm``                                 ``>=1.83.7,<1.86.0; python_version 
< "3.14"``
+``litellm``                                 ``>=1.93.0; python_version >= 
"3.14"``
 ``ray[default]``                            ``>=2.42.0; python_version < 
"3.13"``
 ``ray[default]``                            ``>=2.49.0; python_version >= 
"3.13" and python_version < "3.14"``
 ``ray[default]``                            ``>=2.55.0; python_version >= 
"3.14" and python_version < "3.15"``
diff --git a/providers/google/docs/index.rst b/providers/google/docs/index.rst
index a9a3d257d22..fa257b5f056 100644
--- a/providers/google/docs/index.rst
+++ b/providers/google/docs/index.rst
@@ -129,7 +129,14 @@ PIP package                                 Version 
required
 ``google-api-python-client``                ``>=2.0.2``
 ``google-auth``                             ``>=2.29.0``
 ``google-auth-httplib2``                    ``>=0.0.1``
-``google-cloud-aiplatform[evaluation]``     ``>=1.155.0``
+``google-cloud-aiplatform``                 ``>=1.155.0``
+``tqdm``                                    ``>=4.23.0``
+``scikit-learn``                            ``>=1.6.0``
+``jsonschema``                              ``>=4.19.1``
+``ruamel.yaml``                             ``>=0.19.0``
+``pyyaml``                                  ``>=6.0.3``
+``litellm``                                 ``>=1.83.7,<1.86.0; python_version 
< "3.14"``
+``litellm``                                 ``>=1.93.0; python_version >= 
"3.14"``
 ``ray[default]``                            ``>=2.42.0; python_version < 
"3.13"``
 ``ray[default]``                            ``>=2.49.0; python_version >= 
"3.13" and python_version < "3.14"``
 ``ray[default]``                            ``>=2.55.0; python_version >= 
"3.14" and python_version < "3.15"``
diff --git a/providers/google/pyproject.toml b/providers/google/pyproject.toml
index 332023102e8..f49b74d2363 100644
--- a/providers/google/pyproject.toml
+++ b/providers/google/pyproject.toml
@@ -83,7 +83,19 @@ dependencies = [
     # 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.
     # Remove the ray dependency as well as google-cloud-bigquery-storage once 
linked issue is fixed
-    "google-cloud-aiplatform[evaluation]>=1.155.0",
+    "google-cloud-aiplatform>=1.155.0",
+    # The "evaluation" extra of google-cloud-aiplatform limits litellm to 
range that has security
+    # vulnerabilities when we want to get 3.14 support. Until this is fixed we 
need to bump litellm to
+    # higher version and remove the "evaluation" extra from 
google-cloud-aiplatform.
+    # Tracked in: https://github.com/googleapis/python-aiplatform/issues/7057
+    "tqdm>=4.23.0",
+    "scikit-learn>=1.6.0",
+    "jsonschema>=4.19.1",
+    "ruamel.yaml>=0.19.0",
+    "pyyaml>=6.0.3",
+    "litellm<1.86.0,>=1.83.7;python_version<'3.14'",
+    "litellm>=1.93.0;python_version>='3.14'",
+    # End of evolution extra workaround
     "ray[default]>=2.42.0;python_version<'3.13'",
     "ray[default]>=2.49.0;python_version>='3.13' and python_version <'3.14'",
     "ray[default]>=2.55.0;python_version>='3.14' and python_version <'3.15'",

Reply via email to