potiuk commented on issue #21164:
URL: https://github.com/apache/airflow/issues/21164#issuecomment-1026071390


   > @potiuk I have one doubt in this. When we are using Breeze2 command, we 
will have the `dev/breeze` part pip installed in editable mode right in the 
user environment. In that case, if we have added `click_completion` in 
setup.cfg, wouldn't it be available in the environment?
   
   Not exactly. The tricky point is that you should be able to run Breeze 
WITHOUT activating the virtual environment. In fact this also happen when you 
use `pipx`. When you have no "click-complete" installed as "system package" 
then either `pipx` variant or the ./Breeze2 bootstrap will not work. Try it 
yourself:
   
   1) Have ./Breeze2 autocomplete installed (currently it updates the .zsh) 
script to activate the environment
   2) Make sure you have not activated the virtual env of Breeze 
   3) Make sure you have no `click-completion` installed (`pip uninstall 
click-completion`) . You could have it installed by accident before, but most 
users who will not have it and just run `pipx install` or use ./Breeze2 
bootstrap will not have it either.
   
   This is what I get:
   
   
![image](https://user-images.githubusercontent.com/595491/151850211-7002cf12-a2d5-4b33-9525-38e9280afb14.png)
   
   
   
   


-- 
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