Running pytest against a specific Python version with uv run

by Simon Willison
uv run --python 3.12 pytest
Read here.
Published: 2025-05-20