Skip to content

[v3-3-test] Raise curated dependency floors in ci upgrade runs (#73657) - #73668

Merged
potiuk merged 2 commits into
apache:v3-3-testfrom
potiuk:backport-7bf71cd-v3-3-test
Sep 24, 2026
Merged

potiuk merged 2 commits into
apache:v3-3-testfrom
potiuk:backport-7bf71cd-v3-3-test

Conversation

@potiuk

@potiuk potiuk commented Sep 24, 2026

Copy link
Copy Markdown
Member

Backport of #73657 to v3-3-test, together with its prerequisite #73319, which added remove_backport_labels to ci_commands.py. Without #73319, #73657 conflicts on that function.

The only other conflict was the breeze help-output hash (output_ci_upgrade.txt), which was regenerated for this branch.


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

Each maintenance branch upgrades its own CI environment on its own
schedule, so backporting main's upgrade races that with a change that
conflicts on the very files it regenerates — which is why none of the
labelled upgrade PRs has ever produced a backport. boring-cyborg labels
by path and cannot tell this PR from a hand-written one touching dev/ or
.github/, so the label has to come off afterwards instead.

Generated-by: Claude Code (Opus 5)
(cherry picked from commit 613c9d3)
* Add dependency floor policy configuration

Generated-by: Claude Opus 5

* Find curated dependency requirements and held-back packages

Generated-by: Claude Opus 5

* Select dependency floor targets outside the cooldown

Generated-by: Claude Opus 5

* Rewrite dependency floors in pyproject files

Generated-by: Claude Opus 5

* Roll back dependency floor bumps that break resolution

Generated-by: Claude Opus 5

* Add upgrade-dependency-floors manual hook

Generated-by: Claude Opus 5

* Raise curated dependency floors in breeze ci upgrade

Generated-by: Claude Opus 5

* Document automatic dependency floor bumps

Generated-by: Claude Opus 5

* Harden dependency floor bumps after review

Floors of workspace members with their own uv.lock (dev/breeze) are left
alone, since the root resolve check does not cover that lock. A rollback
restores only the occurrences a bump changed, a bump applies to all its
files or none, malformed PyPI data skips only the affected package, an
aborted run still leaves a note in the PR body, and an already-open
upgrade PR gets the body of the latest run.

Generated-by: Claude Opus 5

* Address remaining review notes on dependency floor bumps

Maintainers read the upgrade PR to see what moved, so the report now
names the files behind each raised floor. Caps set only in the root
[tool.uv] tables are honoured, an unreachable PyPI no longer stalls the
run for every curated package, and the report's temporary directory is
cleaned up.

Generated-by: Claude Opus 5
(cherry picked from commit 7bf71cd)
@potiuk
potiuk merged commit 29120eb into apache:v3-3-test Sep 24, 2026
5 checks passed
@potiuk
potiuk deleted the backport-7bf71cd-v3-3-test branch September 24, 2026 13:32
potiuk added a commit that referenced this pull request Sep 25, 2026
…ml (#71378) (#73674)

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 (#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 #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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant