uv run for running tests on versions of Python
Briefly

The uv library offers a run subcommand that goes beyond dependency management by allowing users to specify Python versions and dependencies for streamlined execution. This library can improve testing efficiency by caching runs. By utilizing a Makefile, developers can quickly test their projects across multiple Python versions. This approach serves as a straightforward alternative to more complex tools like Nox or Tox while meeting basic testing needs and reducing project dependencies and configurations.
The uv library is not just useful for dependency management, it also comes with a run subcommand that allows for specific Python versions and setting of dependencies within that run.
I can use a Makefile to test on multiple Python versions, making it a simple replacement for Nox or Tox.
Read at https://daniel.feldroy.com
[
|
]