Skip to content

Fix all build-system/requires including transitive dependencies#62570

Merged
potiuk merged 2 commits intomainfrom
upgrade-hatchling
Feb 27, 2026
Merged

Fix all build-system/requires including transitive dependencies#62570
potiuk merged 2 commits intomainfrom
upgrade-hatchling

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Feb 27, 2026

Add a feature to fix all build-system/requires to make build reproducibility works. The build-system requires are managed automatically by the upgrade-important-versions prek hook.

This should not only provide reproducibility, but also it should prevent cases where transient dependency upgrade might break building sdist (for example as it happened with virtualenv 21 breaking hatchling with pypa/hatch#2193


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Copilot + Claude Sonet 4.6 following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jarek!

@potiuk potiuk merged commit 94e1896 into main Feb 27, 2026
434 of 437 checks passed
@potiuk potiuk deleted the upgrade-hatchling branch February 27, 2026 20:05
@github-actions
Copy link

Backport failed to create: v3-1-test. View the failure log Run details

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-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 94e1896 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

AkshayArali pushed a commit to AkshayArali/airflow_630 that referenced this pull request Feb 28, 2026
…he#62570)

* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
potiuk added a commit that referenced this pull request Feb 28, 2026
…encies (#62570)

* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------
(cherry picked from commit 94e1896)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
potiuk added a commit that referenced this pull request Feb 28, 2026
…encies (#62570) (#62609)

* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script



---------
(cherry picked from commit 94e1896)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
vatsrahul1001 pushed a commit that referenced this pull request Mar 4, 2026
…encies (#62570) (#62609)

* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script



---------
(cherry picked from commit 94e1896)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…he#62570)

* Fix all build-system/requires including transitive dependencies

Add a feature to fix all build-system/requires to make build
reproducibility works. The build-system requires are managed
automatically by the `upgrade-important-versions` prek hook.

This should not only provide reproducibility, but also it should
prevent cases where transient dependency upgrade might break
building sdist (for example as it happened with virtualenv 21
breaking hatchling with pypa/hatch#2193

* Fix mypy 'Cannot infer type of lambda' error in upgrade script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:API Airflow's REST/HTTP API area:dev-tools area:docker-tests area:helm-chart Airflow Helm Chart area:kubernetes-tests area:logging area:production-image Production image improvements and fixes area:providers backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch kind:documentation provider:edge Edge Executor / Worker (AIP-69) / edge3 provider:fab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants