-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
Body
The PROD image built using breeze prod-image build after #36536 and after changes in pip and setuptools made it impossible to install --editable installation in --user installation is broken - see pypa/pip#7953 for details.
It contains only airflow sources copied from local code, but provider s are installed from PyPI which makes it impossible to iterate locally on the PROD image changes and makes it difficult to test any local changes - for example in cncf.kubernetes provider.
This does not affect CI tests - because CI tests build PROD image by pre-building dev packages for all PROD-image providers and airflow and install both Airflow and Providers from such pre-built packages copied to docker-context-files, so our CI still test what is in the PR.
This isssue can be solved once we merge #37796 - there we switch PROD image to use venv rather than --user flag and that should allow to fix local instalation to revert back to use --editable build and copy all airflow sources to the image including all providers, allowing to iteratively test it. Also, by doing that we should be able to add better ways of sharing the code in the future (for example using Telepresence
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.