Skip to content

[v3-3-test] Require a lower bound on every dependency in pyproject.toml (#71378) - #73674

Merged
potiuk merged 1 commit into
apache:v3-3-testfrom
potiuk:backport-71378-v3-3-test
Sep 25, 2026
Merged

potiuk merged 1 commit into
apache:v3-3-testfrom
potiuk:backport-71378-v3-3-test

Conversation

@potiuk

@potiuk potiuk commented Sep 24, 2026

Copy link
Copy Markdown
Member

Backport of #71378 to v3-3-test.

The dependency-floors upgrade step backported in #73668 imports check_dependency_lower_bounds, which only exists on main, so the branch's scripts tests fail to collect — this is what breaks "Basic tests / Scripts tests" on the scheduled CI upgrade PR #73519.

Adapted for the branch:

  • the common.ai extras get the branch's pydantic-ai-slim floor (>=1.99.0) instead of main's >=2.0.0,
  • the providers/common/ai/docs/index.rst table main regenerates does not exist on this branch, so it is left unchanged,
  • uv.lock regenerated with plain uv lock (no upgrades).

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

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

🤖 Generated with Claude Code

…ml (apache#71378)

An unbounded requirement lets the resolver answer with any version that has
ever been published, so what our constraints pin - and what a user ends up
installing - depends on how the resolution went rather than on what the code
needs. Four such requirements were found and fixed by hand while pinning
providers in constraints (apache#71324); they sat in four different dependency
tables, which is why they went unnoticed for so long.

Distributions that are members of the uv workspace are exempt - they resolve
from the checkout, so a version range would say nothing - as are direct URL
requirements, where the URL already names the exact artifact.

The dependency-floors upgrade step backported in apache#73668 imports this check,
so the branch's scripts tests fail to collect without it. Adapted for
v3-3-test: the common.ai extras take the branch's pydantic-ai-slim floor
(>=1.99.0) rather than main's, and the docs table they would regenerate does
not exist on this branch.

(cherry picked from commit cf4c769)

Generated-by: Claude Opus 5
@potiuk
potiuk merged commit dc03479 into apache:v3-3-test Sep 25, 2026
92 checks passed
@potiuk
potiuk deleted the backport-71378-v3-3-test branch September 25, 2026 20:20
@github-actions github-actions Bot added this to the Airflow 3.3.3 milestone Sep 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.3.3 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant