Practical guidance
Simon Willison advises deleting uv.lock to fix Python 3.15 errors
- What it's for
- To resolve confusing Python dependency errors that occur after switching to Python 3.15.
- What you do
- Delete the uv.lock file from the project directory and run the command again.
- What you get
- The source reports that this usually fixes the problem by allowing the tool to select compatible dependency versions.
- Limits
- The source does not state how well this works beyond the author's own examples, though it notes that libraries typically do not include this file.
Source
- Simon Willison's Weblog read it