Script to update Python version for projects with pyenv & poetry
This script intended to be run for projects which,
- Has
.pyenv-version
file (Python version managed by pyenv) - Can be installed with
make install
(ormake install-api
) - Requirements managed by poetry (so
pyproject.toml
file is present)
Download update-python.sh
script and put it to your PATH
. Make script executable as well.
update-python.sh <PYTHON_VERSION>