← Retour au blog
tech 23 July 2026

PyPI: No New Files After 14 Days

PyPI introduces a new restriction: files can no longer be added to a release more than 14 days after its publication. A security measure to protect users.

Article inspired by the original source
PyPI releases now reject new files after 14 days ↗ blog.pypi.org

PyPI: A New Era of Security

The Python Package Index (PyPI) has recently implemented a crucial security measure: new file versions can no longer be added to existing releases more than 14 days after their initial publication. This decision aims to enhance the security of Python packages, a proactive action to prevent potential compromises.

Why This Change?

The discussion around this decision began as early as January 2024 with PEP 740, focusing on digital attestations. It was revived in March 2026 after popular packages like LiteLLM and Telnyx were compromised via a mutable reference in the use of the Trivy GitHub Action. Although no major incidents were reported, the potential danger was evident.

Impact on Existing Workflows

PyPI conducted a database analysis to assess the impact of this restriction. Out of 15,000 packages, only 56 had published a new Python 3.14-compatible wheel more than 14 days after the initial release. This figure showed that most projects would not be significantly affected by this new rule.

Community Consensus

At the Packaging Summit at PyCon US 2026, the consensus was that this restriction was necessary to secure users. Attendees agreed that it was "acceptable to require users to bump to the next version" to support new Python versions.

Future Implications

This measure reduces the workload for PyPI admins in case of a package compromise. It also prevents confusion around compromised releases, making the package distribution process more reliable.

PyPI plans to define specific semantics for this restriction with the "Upload 2.0" API and "Staged Previews" once PEP 694 is standardized.

Conclusion

The security of Python users is a priority. With this new rule, PyPI strengthens its position as a reliable platform for Python package distribution. If you're a developer or project manager, it's time to review your release practices to ensure compliance with this new standard.

Let's discuss your project in 15 minutes.

PyPI sécurité packages Python PEP 694 développement logiciel
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call