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

Head commit for run:
bb84fa4cbfa9ae2619a865c6742720bacd41f830 / 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`

* we also switch to more PEP standard way of installing packages
  from local filesystem (package-name @ file:///FILE)

Fixes: #37785

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

With regards,
GitHub Actions via GitBox


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

Reply via email to