I am using pyenv to manage my python installations on both my Windows desktop (using pyenv-win) and on my MacBook.
I currently have one global installation of version 3.10.4 which is my "main" python version where I play around, work on simple projects and have all my pip packages installed. I'd like to update my python version to 3.10.5, but maintain all my packages and I am sure how to do that.
Before using pyenv, I, simply, installed python from python.org. When I wanted to update, I'd simply download the installer of the new version and run it, which would override the python installation, but not touch any of the packages, so it was that simple.
I am not sure how it's done with pyenv though. I couldn't find any update command, so it seems I am supposed to install the new version, set it as the new global version, and remove the old one. However, does it mean that I have to reinstall all my pip packages? I can export a list of them to install them again, but it feels like there should be a simple update command that would update the version and maintain all the packages.
Am I missing something?