The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/69323-google-aiplatform-evaluation-optional has failed.
Run started by GitHub user gingeekrishna (triggered by shahar1).

Head commit for run:
5d0d1d13194291ef4a57ee2f738fc82f14b5d0a0 / gingeekrishna 
<[email protected]>
Make google-cloud-aiplatform[evaluation] an optional extra to avoid 
litellm/scikit-learn bloat

The [evaluation] extra of google-cloud-aiplatform transitively installs
litellm, scikit-learn, ruamel-yaml and a full HF/tokenizers chain that
is irrelevant to users of GCSHook, BigQueryHook, or most other Google
provider features. It also surfaces a steady stream of litellm proxy CVEs
in pip-audit for every provider user, even when litellm is never used.

Changes:
- pyproject.toml: drop [evaluation] from the base dep; add a new
  "vertex-ai-evaluation" optional extra that provides it for users
  who need the Rapid Evaluation API.
- generative_model.py: guard the vertexai.preview.evaluation import with
  try/except; raise an informative ImportError from get_eval_task() and
  run_evaluation() when the extra is not installed, pointing users to
  pip install apache-airflow-providers-google[vertex-ai-evaluation].

Fixes: #69323

Report URL: https://github.com/apache/airflow/actions/runs/28744564347

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to