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

Head commit for run:
424c6b45623ffb376d4b257718ec416f6f301cee / Jarek Potiuk <[email protected]>
Refactor, speed up, better diagnostics for package tools installation

When going through various stages of installation of Airlfow in
CI and PROD image, we check several times if the packaging tools
of ours are installed and if they are installed in the right
version. This is in order to make sure that none of the installation
steps upgraded them accidentaly (might happen when --eager upgrade
of pip or --highest resolution of uv are used).

This PR improves the speed of that (rather than installing the
packages again, we just check which version is already installed).

Similarly when constraints are already downloaded, we do not
re-download them again.

Also this change makes a consisten rename of the installation
scripts to reflect we have not only pip but also uv as packaging
tool and installs both `uv` and `pip` regardless which packaging
tool we are using - which gives anyone an opportunity to use
either of the two tools if they wish.

Diagnostics is a bit nicer - rather than complaining with error
when uv is missing, prints information that it's not installed.
We only show traces of installation command (pip and uv) with
`set -x` commands for diagnostics - we do not show details of other
internal commands.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to