# What's new in pip 26.1 - lockfiles and dependency cooldowns! Canonical URL: https://www.traeai.com/articles/94371052-3f56-4416-bf45-2e2a4e09d2ee Original source: https://simonwillison.net/2026/Apr/28/pip-261/#atom-everything Source name: Simon Willison's Weblog Content type: article Language: 英文 Score: 9.0 Reading time: 2 分钟 Published: 2026-04-28T05:23:05+00:00 Tags: pip, Python, 包管理, 安全 ## Summary pip 26.1 引入了 lockfiles 和依赖冷却功能,改进 Python 包管理的稳定性和安全性。 ## Key Takeaways - 新增 lockfiles 功能,生成精确依赖锁定文件 pylock.toml。 - 支持依赖冷却选项 --uploaded-prior-to,避免安装过于新版本。 - 停止支持 Python 3.9,建议升级到更高版本。 ## Citation Guidance When citing this item, prefer the canonical traeai article URL for the AI-readable summary and include the original source URL when discussing the underlying source material.