You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing non-editable airflow for constraint generation (#30050)
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.
(cherry picked from commit 05242e9)
0 commit comments