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

Head commit for run:
8f79f68c7ddf23ca8b0e879e532b0b45fa7ae6f0 / Jarek Potiuk <[email protected]>
Installing non-editable airflow for constraint generation

When we are generating constraints including released version of
providers or "no providers" (which effectively means preinstalled
version of providers only), we should use non-editable installation
of airflow.

Normally in CI, we have editable version of airflow and we install
providers from sources, but this leads to skipping installation
of the preinstalled providers (it is connected to the fact that we
were earlier installing as editable and "sources only" and those
packages are marked as required, which confuses newer version of
pip. It prints that the preinstalled packages are installed, but
it does not specify the version - apparently thinking the editable
version of the install already contains them.

Since our behaviour is pretty non-standard, this is not really a
bug in pip, but it is a bug in our approach when we are adding
providers for constraint generation. Rather than using editable
installation when we add providers, we should use "regular"
installation. This seems to remove the confusion and the preinstalled
packages are also installed.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to