Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jun 2, 2025

When we are building PROD image we use pip rather than uv, however
we should be able to use uv to do it. Recently we had a bug that
broke it - by using --group dev unconditionally - even if
we used airflow packages to build airflow.

So far we always run the PROD build with pip that's why it worked
fine, but once fix building with both uv and pip we can build the
images with uv by default and run a pip build separately in extra
checks.
(cherry picked from commit 92a4d60)

Co-authored-by: Jarek Potiuk jarek@potiuk.com
Fixes: #50134

When we are building PROD image we use `pip` rather than `uv`, however
we should be able to use `uv` to do it. Recently we had a bug that
broke it - by using `--group dev` unconditionally - even if
we used airflow packages to build airflow.

So far we always run the PROD build with `pip` that's why it worked
fine, but once fix building with both uv and pip we can build the
images with uv by default and run a pip build separately in extra
checks.
(cherry picked from commit 92a4d60)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Fixes: #50134
@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes labels Jun 2, 2025
@potiuk potiuk marked this pull request as ready for review June 2, 2025 08:49
@potiuk potiuk merged commit 6baf9dd into v3-0-test Jun 2, 2025
54 checks passed
@potiuk potiuk deleted the backport-92a4d60-v3-0-test branch June 2, 2025 09:05
kaxil pushed a commit that referenced this pull request Jun 3, 2025
When we are building PROD image we use `pip` rather than `uv`, however
we should be able to use `uv` to do it. Recently we had a bug that
broke it - by using `--group dev` unconditionally - even if
we used airflow packages to build airflow.

So far we always run the PROD build with `pip` that's why it worked
fine, but once fix building with both uv and pip we can build the
images with uv by default and run a pip build separately in extra
checks.
(cherry picked from commit 92a4d60)


Fixes: #50134

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants