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
pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
Can I ask how you came to this decision? I really like this feature
Reacted by Cosimo Lupo, Alejandro Benito-Santos, Ihor Pomaranskyy, Melissa Kistner, Irina Truong, Leagsaidh Gordon, Mike , Paul Berg, Jan Gazda, marthinwurer and 73 more
Activity
PaulRBerg commentedon Aug 6, 2018
You might want to take a look here: #135
pllim commentedon Jul 2, 2020
Had the same question. Went with #135 (comment) as my workaround.
native-api commentedon Nov 25, 2021
@yyuu , since it was you who added the warning, could you comment?
My guess is that it's because Virtualenv themselves were going to do that.
...and IIRC already did it, so maybe we can proceed with the removal?
Would be nice to learn their rationale, too, of course...
native-api commentedon Jan 31, 2023
Looking at https://github.com/pypa/virtualenv/blob/main/src/virtualenv/activation/bash/activate.sh , there's no deprecation, not to mention, removal of the prompt changing in sight.
Lacking any response from @yyuu, my guess is:
Pyenv-virtualenv makes virtualenvs behave like regular installations. The prompt changing removal was intended to erase the difference even further.
native-api commentedon Jan 31, 2023
In which case, we can as well go the other way and add printing of the active installation(s) to the prompt in the base Pyenv.