potiuk opened a new issue, #37815:
URL: https://github.com/apache/airflow/issues/37815

   ### 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 
https://github.com/pypa/pip/issues/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 
https://github.com/apache/airflow/pull/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](https://kubernetes.io/docs/tasks/debug/debug-cluster/local-debugging/)
   
   
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to