AI
If in doubt, delete the uv.lock file
Publication: Simon Willison's Weblog
Author: Not available in collected metadata
Source published: 01/11/2026, 23:24:22 UTC
Briefing created: 01/11/2026, 23:52:13 UTC
Based on a feed excerpt; full article content has not been acquired. Source evidence retrieved 01/11/2026, 23:42:24 UTC.
Briefings
A Python developer reports that uv.lock files can cause build failures when the pinned dependency version is incompatible with the current Python 3.15 interpreter, specifically failing to build PyO3 wheels. The solution involves deleting the uv.lock file to resolve the version mismatch error.
Key points
- Deleting uv.lock files resolves build failures when the pinned dependency version is incompatible with the current Python interpreter version.
- The error occurs when uv.lock pins a dependency version that does not have a corresponding wheel for the current Python version.
Context
The article describes a common issue where uv.lock files pin dependency versions, causing failures when the pinned version lacks a wheel for the current Python interpreter.
Limitations
Evidence is limited to a single reported incident involving Python 3.15 and PyO3; no general statistics, frequency data, or historical context are provided.
Generated by Bittrees-hosted qwen35-2b sha256:aaf42c8b7c3c on 01/11/2026, 23:52:13 UTC. Based on publisher-provided feed evidence; may not cover the full original article. Check the source for details.
View archived briefing on IPFS
bafybeign5fjks7z4by6wybsrftrrevopkjay7tfbazcyskljqaikt32tou