Skip to content

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Sep 1, 2025

When we are building image, we install Python and then use uv to install airflow. WHile this works and looks good, there are cases where uv might auatomatically download and install python from the python-standalone project - we should make sure that this is not happening and that uv only uses system python. THis is what the flags: --no-python-downloads --no-managed-python do.


^ 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.

When we are building image, we install Python and then use uv
to install airflow. WHile this works and looks good, there are cases
where uv might auatomatically download and install python from the
python-standalone project - we should make sure that this is not
happening and that uv only uses system python. THis is what the
flags: --no-python-downloads --no-managed-python do.
@boring-cyborg boring-cyborg bot added area:dev-tools area:production-image Production image improvements and fixes backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch labels Sep 1, 2025
@potiuk potiuk added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs area:dev-tools area:production-image Production image improvements and fixes backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant