The author is switching from pyenv to uv for Python management on Ubuntu Linux 24.04. Before switching, they listed all installed Python versions, packages, and pipx packages. They uninstalled pyenv and removed related shell configurations.
After installing uv, they installed Python versions 3.8 to 3.12. They configured the shell to use uv-managed Python by default and created symlinks for specific versions using a custom "uv-sync" script.
Using uv tool install, they installed necessary Python tools. For tox, they installed tox-uv in the tox environment.
Now, Python interpreters are managed through uv python, and tools are managed through uv tool. The author can create virtual environments with uv venv.
Next steps include deleting .python-version files, updating project documentation, and adding uv tool install options to installation instructions.
bluesock.org
bluesock.org
Create attached notes ...
