Simon Willison recommends deleting uv.lock to fix Python 3.15 dependency errors
Current overview (not historical)
Simon Willison encountered dependency errors while using Python 3.15. His core suggestion is that if in doubt, users should delete the uv.lock file. This file locks dependency versions that lack Python 3.15 wheels (for example, watchfiles 1.1.1 failed to build due to PyO3's maximum supported version being 3.14). Deleting the file and rerunning typically resolves the build failure.
Written with AI from the reporting · updated 11/1/2026
Expand the detailed fact route and sources
Story route
A station-by-station route from the first public evidence onward; every station carries its own evidence and uncertainty.
- 1Unclassified fact stationNov 1, 00:00recorded Nov 2, 07:45single sourcerevised
删除 uv.lock 文件解决 Python 3.15 依赖错误
Read original source ↗ Simon WillisonReplay this moment in the explorerEvidence & revisions · 1 source records
- Subject:
- Simon Willison
- Action:
- 发布关于删除 uv.lock 文件的建议
- Object:
- Python 3.15 依赖错误
- Occurred (fact side):
- Nov 1, 00:00
- Published (valid side):
- Nov 2, 07:24
- First seen (known side):
- Nov 2, 07:45
Fact stationSingle source · one-sided claimRevisedCopy may have been revised later; time replay is bounded. Layer labels group reading only, not causation between layers.
Uncertainty marks flag where to check the sources; they are not proven causation.
Report timeline
Explore every side through dated source reports.
- Simon WillisonRelated fact: single sourceSource report revisedIf in doubt, delete the uv.lock file to fix Python 3.15 dependency errors
Report first recorded Nov 2, 07:45
Simon Willison reports that switching to Python 3.15 has caused occasional dependency errors. The core solution is to delete the uv.lock file, as running commands like `uv run pytest` often leaves these files behind. If the locked file pins a version of a dependency that lacks a Python 3.15 wheel, deletion typically resolves the build failure.
Read original source ↗
Event activity trend
- Latest comparable
- 3
- Comparable peak
- 10Nov 2, 08:00
- 24h change
- -51%
The chart compares consistently observed participants only. Hover or tap to inspect each hour; use arrow keys to move between observations.
Event discussion
Reader opinions are hosted on GitHub Discussions; posting requires a GitHub account. Comments are not verified facts.