Repository navigation
Raise curated dependency floors in ci upgrade runs - #73657
Merged
Merged
Conversation
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
Generated-by: Claude Opus 5
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
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
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl,
o-nikolas and
vatsrahul1001
as code owners
September 24, 2026 11:21
shahar1
approved these changes
Sep 24, 2026
Contributor
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 7bf71cd v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
1 task done
potiuk
added a commit
that referenced
this pull request
Sep 24, 2026
… (#73668) * Stop backporting the scheduled CI environment upgrade (#73319) 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) * Raise curated dependency floors in ci upgrade runs (#73657) * 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lower bounds of fast-moving SDKs are only ever raised by hand, and in practice not at all: the amazon
provider still declares
boto3>=1.41.0despite a comment asking to raise it "regularly". Ancient floorswiden the resolver's backtracking space and make the lowest-direct dependency tests exercise versions
nobody runs any more.
This adds a step to
breeze ci upgrade("Upgrade important CI environment") that raises the floors of acurated set of dependencies, following ADR 0018 (
dev/breeze/doc/adr/0018-raise-dependency-floors-automatically.md):[tool.airflow.dependency-floors]in the rootpyproject.toml: curated packages(boto3/botocore as a group,
google-cloud-*,google-api-python-client,azure-*),min-age = "180 days"and an explicit
excludetable seeded from past caps and reverts.<,<=,!=,==,~=, including the root[tool.uv]constraint andoverride tables) or listed in
excludeare skipped.uv lock --dry-runruns with both the highest and the lowest-directresolution. Bumps that break either are found by bisection and rolled back. Workspace members with their
own
uv.lock(dev/breeze) are not touched, because that lock is not covered by the check.PR has its body refreshed on every run.
The step runs after
upgrade-important-versionsand beforeuv lock --upgrade, and can be switched offwith
--no-upgrade-dependency-floors.Heads-up: the first run will be large. A local run against current
mainraised 58 floors (several ofthem across major versions, e.g.
google-cloud-storage2.9 → 3.10), rolled back none and skipped 2,in about 30 seconds. Those edits are not part of this PR; they will arrive through the next scheduled
upgrade PR, where the lowest-dependency CI jobs exercise them.
Testing:
uv run --project scripts pytest scripts/tests/ci/prek/test_upgrade_dependency_floors.py(69 passed)uv run --project dev/breeze pytest dev/breeze/tests/test_ci_upgrade.py(11 passed)prek run mypy-dev mypy-scripts --all-filespassedlychee-dockerskipped locally: Docker credential helper unavailable)upgrade-dependency-floorshook, edits discardedWas generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.🤖 Generated with Claude Code