svdtools
svdtools copied to clipboard
Update Python to use UV for project managment
Best reviewed by-commit
Update to use uv.
Why:
- It uses venv by default so using and building packages is always project-local
- Has a lock file so you shouldn't get any funny conflicts
- Blazing fast or something idk
I just think it's a more sane way to interact with Python projects.
Things done:
- Bump minimum Flit to 3.2, this is the recommended (minimum) version by flit devs. Flit 2 has been unmaintained for a while now, and there's no real reason to support it.
- Use the more modern pyproject.toml layout with a
[project]section. - Add minimum version for the dev tools. Unsure what this project is using but I put in some values based upon some commit snooping.
- Update the Makefile to use uv for working with the Python code
- Update the github workflow to use UV