Skip to content

Pin airflow package versions in highest-resolution constraints#65244

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:pin-airflow-versions-highest-resolution
Apr 14, 2026
Merged

Pin airflow package versions in highest-resolution constraints#65244
potiuk merged 1 commit into
apache:mainfrom
potiuk:pin-airflow-versions-highest-resolution

Conversation

@potiuk

@potiuk potiuk commented Apr 14, 2026

Copy link
Copy Markdown
Member

When building the highest-resolution PyPI provider constraints, pass exact version specifiers for apache-airflow, apache-airflow-core, and apache-airflow-task-sdk read from the in-tree pyproject.toml / __init__.py files. This prevents uv from resolving against a newer version published on PyPI after the branch was cut and keeps the generated constraints aligned with the versions currently declared in the source tree.


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

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

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
@potiuk

potiuk commented Apr 14, 2026

Copy link
Copy Markdown
Member Author

looks good - constraints passed :)

@potiuk potiuk merged commit d31f6ac into apache:main Apr 14, 2026
114 of 115 checks passed
@potiuk potiuk deleted the pin-airflow-versions-highest-resolution branch April 14, 2026 19:26
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
…aints (#65244)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

@eladkal eladkal added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 15, 2026
@eladkal eladkal added this to the Airflow 3.2.1 milestone Apr 15, 2026
eladkal pushed a commit that referenced this pull request Apr 15, 2026
…aints (#65244) (#65255)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
vatsrahul1001 added a commit that referenced this pull request Apr 15, 2026
…aints (#65244) (#65255)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
vatsrahul1001 added a commit that referenced this pull request Apr 15, 2026
…aints (#65244) (#65255)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
vatsrahul1001 added a commit that referenced this pull request Apr 15, 2026
…aints (#65244) (#65255)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
vatsrahul1001 added a commit that referenced this pull request Apr 15, 2026
…aints (#65244) (#65255)

Pass exact version specifiers when installing apache-airflow,
apache-airflow-core, and apache-airflow-task-sdk for the highest
resolution constraint build so uv resolves against the versions
currently declared in-tree rather than the latest published on PyPI.
(cherry picked from commit d31f6ac)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants