Python 3.10.x installation

$ git pull

cd
cd ~/.pyenv
git pull
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 17 (delta 10), reused 16 (delta 10), pack-reused 0
Dépaquetage des objets: 100% (17/17), fait.
Depuis https://github.com/pyenv/pyenv
5a96d9f..2c32a6b  master     -> origin/master
Mise à jour 5a96d9f..2c32a6b
Fast-forward
plugins/python-build/bin/python-build            | 5 +++++
plugins/python-build/share/python-build/3.10-dev | 6 ++++++
plugins/python-build/share/python-build/3.9-dev  | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
create mode 100644 plugins/python-build/share/python-build/3.10-dev

pyenv install 3.10.3

pyenv install 3.10.3

✦ ❯ pyenv install 3.10.3
Downloading Python-3.10.3.tar.xz...
-> https://www.python.org/ftp/python/3.10.3/Python-3.10.3.tar.xz
Installing Python-3.10.3...
Installed Python-3.10.3 to /home/pvergain/.pyenv/versions/3.10.3

pyenv versions

pyenv versions
  system
* 3.10.2 (set by /home/pvergain/.pyenv/version)
  3.10.3
  3.11.0a6

pyenv global 3.10.3

pyenv global 3.10.3

pyenv versions

✦ ❯ pyenv versions
  system
  3.10.2
* 3.10.3 (set by /home/pvergain/.pyenv/version)
  3.11.0a6

pyenv uninstall 3.10.2

✦ ❯ pyenv uninstall 3.10.2
pyenv: remove /home/pvergain/.pyenv/versions/3.10.2? [y|N] y
pyenv: 3.10.2 uninstalled

pyenv versions

✦ ❯ pyenv versions
system

* 3.10.3 (set by /home/pvergain/.pyenv/version)
  3.11.0a6

pyenv install 3.10-dev

$ pyenv install 3.10-dev
Cloning https://github.com/python/cpython...
Installing Python-3.10-dev...
Installed Python-3.10-dev to /home/pvergain/.pyenv/versions/3.10-dev