Open SourceSimon Willison
If in doubt, delete the uv.lock file
#python#dependencies#uv.lock#versioning#errors
English
Simon Willison discusses encountering Python dependency errors after switching to Python 3.15, recommending that developers delete the uv.lock file to resolve issues with version compatibility. He notes that many of his library projects do not include this file, which can sometimes pin dependencies to versions that lack support for the latest Python release.
中文
西蒙·威利森讨论了在切换到Python 3.15后遇到的Python依赖错误,建议开发者删除uv.lock文件以解决版本兼容性问题。他提到,许多他的库项目不包含此文件,这可能会将依赖项固定到不支持最新Python版本的版本。