The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
a3008e0a50f0acaa02bd18f4a95b3f3add83f903 / Jarek Potiuk <[email protected]>
Switch from --user to venv environment for PROD image

This PR introduces a joint way to treat the .local (--user) folder
as both - venv and `--user` package installation. This allow two
things:

* we can use `uv` to built the production image, which gives
  40%-50% saving for image build time.

* user do not have to use `pip install --user` to install new
  packages

* python -m venv --system-site-packages continues to use the
  .local packages from the .local installation (and not uses
  them if --system-site-packages is not used

* you can use uv to install packages when you extend the image as
  a user

* this PR switches to use `uv` by default for all prod images,
  but it adds a check if the image still builds with `pip`.

Fixes: #37785

Report URL: https://github.com/apache/airflow/actions/runs/8097278097

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to