Simon Willison describes build failures after moving to Python 3.15 because a local uv.lock retained an older dependency. It pinned watchfiles 1.1.1, whose PyO3 version supported only Python 3.14. In his library workflow, regenerating the uncommitted lockfile and rerunning tests resolved the issue. The lesson is to check pinned versions and interpreter support, then review dependency changes, rather than indiscriminately deleting lockfiles needed for reproducible shared applications.
Back to Tech
Python 3.15 migration errors can come from a stale uv lockfile
This is a library-maintenance case study, not a universal instruction to delete project lockfiles.