0

Using pyenv is there a way to keep packages installed for a version when upgrading to a different patch release? E.g. suppose I installed IPython with 3.11.1 and now am installing 3.11.2, but want to keep the IPython. My own guess is it's impossible as there are different directories for different versions at a higher level not just minor releases, but maybe I'm missing something.

Masked Man
  • 2,176
  • 2
  • 22
  • 41
  • Have you considered creating a new virtual environment and pinning your package versions into a "traditional" `requirements.txt`? – Roman Luštrik Feb 12 '23 at 10:00
  • @RomanLuštrik I know and use _virtual envs_ (with pipenv mostly). What I'm looking for is a bit more complex and probably impossible. Simply put I want to install packages for `3.11` and not `3.11.1` and this way (uninstalling and) updating to `3.11.2` will preserve my installed packages. – Masked Man Feb 12 '23 at 12:19

0 Answers0