Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 5, 2025

I noticed that we did not have pre-commit-uv in the image that was building the distribution packages. Adding it should slightly speed up building such an image for isolated package preparation.

The uv has been upgraded along the way, also the comment that we should automate updating the versions in
release_management_command.py has been removed - because we already have automation in place. The missing pieces were adding "hatch", "pyyaml", "gitpython" and "rich".


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Jul 5, 2025
@potiuk potiuk requested review from eladkal, jscheffl and kaxil July 5, 2025 13:55
@potiuk potiuk force-pushed the add-pre-commit-uv-to-package-building branch from 80e3c61 to 12b277c Compare July 5, 2025 14:00
@potiuk potiuk changed the title Slightly speed up package preparation and upgrade latest uv Slightly speed up package preparation and upgrade latest uv/hatch Jul 5, 2025
@potiuk potiuk force-pushed the add-pre-commit-uv-to-package-building branch 2 times, most recently from 6bc387e to fd8efe1 Compare July 5, 2025 14:08
@potiuk potiuk changed the title Slightly speed up package preparation and upgrade latest uv/hatch Slightly speed up package preparation and upgrade latest build deps Jul 5, 2025
@potiuk
Copy link
Member Author

potiuk commented Jul 5, 2025

Added also gitpython and rich - noticed those were not updated either.

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
@potiuk potiuk force-pushed the add-pre-commit-uv-to-package-building branch from fd8efe1 to 635b77e Compare July 5, 2025 14:12
@potiuk potiuk merged commit bbc8f74 into apache:main Jul 5, 2025
169 of 170 checks passed
@potiuk potiuk deleted the add-pre-commit-uv-to-package-building branch July 5, 2025 21:51
@github-actions
Copy link

github-actions bot commented Jul 5, 2025

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

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker bbc8f74 v3-0-test

This should apply the commit to the v3-0-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

potiuk added a commit to potiuk/airflow that referenced this pull request Jul 5, 2025
…build deps (apache#52909)

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
(cherry picked from commit bbc8f74)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Jul 5, 2025
…build deps (#52909) (#52924)

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
(cherry picked from commit bbc8f74)
kaxil pushed a commit that referenced this pull request Jul 7, 2025
…build deps (#52909) (#52924)

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
(cherry picked from commit bbc8f74)
HsiuChuanHsu pushed a commit to HsiuChuanHsu/airflow that referenced this pull request Jul 10, 2025
…pache#52909)

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
stephen-bracken pushed a commit to stephen-bracken/airflow that referenced this pull request Jul 15, 2025
…pache#52909)

I noticed that we did not have `pre-commit-uv` in the image
that was building the distribution packages. Adding it should
slightly speed up building such an image for isolated package
preparation.

The `uv` has been upgraded along the way, also the comment that
we should automate updating the versions in
release_management_command.py has been removed - because we
already have automation in place. The missing pieces were
adding "hatch", "pyyaml", "gitpython" and "rich".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:production-image Production image improvements and fixes backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants