Simon Willison’s Weblog

Subscribe

4th February 2025

TIL Running pytest against a specific Python version with uv run — While [working on this issue](https://github.com/simonw/datasette/issues/2461) I figured out a neat pattern for running the tests for my project locally against a specific Python version using [uv run](https://docs.astral.sh/uv/guides/scripts/):

This is a beat by Simon Willison, posted on 4th February 2025.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe