{
  "id": 20648684,
  "title": "Stricter checks for uploaded distributions on PyPI",
  "url": "https://urgent.news/2026/11/18/stricter-checks-for-uploaded-distributions-on-pypi",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-18T20:00:42.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://blog.pypi.org/posts/2026-11-18-stricter-checks-for-uploaded-sdists/"
  },
  "original_language": "en",
  "account": "The Python Package Index (PyPI) has implemented stricter checks on uploaded source distributions (sdists) and built distributions (bdists or wheels) in recent months. These checks are part of a broader effort to enhance the resilience of the Python packaging ecosystem against parser differentials. Additional measures are expected to follow, aiming to tighten PyPI's distribution handling and ensure better conformity to specifications. For downstream users, these changes do not pose any breaking issues. However, package maintainers may encounter upload rejections if they use non-conforming distributions. Maintainers are advised to use non-EOL Python versions and build backends that produce distributions adhering to packaging standards. PyPI's packaging formats, tar and ZIP, were not originally designed for Python packaging, and their permissive parsing can lead to parser differentials. This permissiveness is generally acceptable in local settings, but problematic in networked, packaging environments where small parsing discrepancies can cause identical inputs to extract differently on various platforms and tools. Malicious actors could exploit these differentials to distribute potentially harmful packages, even when their integrity, such as through hashing, remains intact.",
  "summary": null,
  "key_points": [
    "PyPI implements stricter checks on sdists and bdists",
    "Measures aim to enhance resilience against parser differentials",
    "Maintainers should use non-EOL Python versions and compliant backends"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}