Skip to content

Restore the evaluation extra of google-cloud-aiplatform - #71520

Open
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:restore-aiplatform-evaluation-extra
Open

Restore the evaluation extra of google-cloud-aiplatform#71520
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:restore-aiplatform-evaluation-extra

Conversation

@potiuk

@potiuk potiuk commented Aug 12, 2026

Copy link
Copy Markdown
Member

Reverts the workaround from #71273, which dropped the evaluation extra of
google-cloud-aiplatform and inlined its contents, because that extra capped
litellm below the versions we need on Python 3.14.

google-cloud-aiplatform 1.164.0 lifts the cap — its evaluation extra now
asks for litellm>=1.83.7,<1.86.0 under 3.14 and litellm>=1.93.0,<1.97.0
from 3.14 on, which is what the inlined copy asked for. Verified on PyPI:
1.164.0 was published 2026-08-12 and its requires_dist carries those two
markers. The floor moves to 1.164.0 because every earlier release still ships
the capped extra.

The uv.lock resolution is unchanged for litellm (1.85.7 under 3.14, 1.95.0
from 3.14 on). scikit-learn on Python 3.10 goes back to 1.5.2, which is what
the upstream extra pins there (scikit-learn<1.6.0; python_version<='3.10') —
the >=1.6.0 floor existed only in the inlined copy.

1.164.0 was published inside the rolling exclude-newer = "4 days" window, so
it needs a temporary per-package cutoff in the root pyproject.toml, following
the same pattern as the pydantic-ai-skills entry next to it. That entry can go
once the window advances past 2026-08-12.

Fixed upstream in: googleapis/python-aiplatform#7057


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5)

Generated-by: Claude Code (Opus 5) following the guidelines

The extra was dropped and its contents inlined because it capped litellm below
the versions carrying the Python 3.14 security fixes. google-cloud-aiplatform
1.164.0 lifts that cap, so the workaround has nothing left to work around, and
carrying a copy of somebody else's extra only lets the two drift apart.

The floor moves to 1.164.0 because every earlier release still ships the capped
extra.

Fixed upstream in: googleapis/python-aiplatform#7057
@potiuk
potiuk requested a review from shahar1 as a code owner August 12, 2026 21:38
@boring-cyborg boring-cyborg Bot added area:providers kind:documentation provider:google Google (including GCP) related issues labels Aug 12, 2026
@potiuk potiuk added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs area:providers kind:documentation provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant