● ToolsNov 2, 2026 · 06:241 source

If in doubt, delete the uv.lock file

From simonwillison.net

AI;DR

Deleting the uv.lock file can fix occasional confusing Python dependency errors when using Python 3.15. A specific error involved `watchfiles==1.1.1` failing because the configured Python interpreter version (3.15) was newer than PyO3's maximum supported version (3.14). Running uv run pytest again usually fixes the problem after deleting the file.

Read originalSign in to suggest

Sources

#coding#devtoolsMarkdownScore 0.25.3k tokens
Read original