Edition of Monday 16 November 2026

PyPI code that breaks on Python 3.12 and 3.13

Comments on “PyPI code that breaks on Python 3.12 and 3.13”

Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked

py-code.org scanned the latest release of 354,763 PyPI projects for imports of the 25 modules removed in Python 3.12 and 3.13. It found 3,763 importers, 1,623 with an unguarded import in their own code. Among the 60,000 most downloaded, 852 have one, and 544 of those have had no release in two years. Many failures vanish if setuptools is installed, which covers distutils. nose, boto and pydub still fail on import. The counts come from static analysis and could not be independently verified.

Read the original at py-code.org. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

Why it ranked

No. 4 of 60 with a score of 0.72. The panel rated it highest on substantiated (0.92) and new information (0.89), lowest on significance (0.57). Placed No. 4, No. 6 by score alone: the placement terms moved other stories past it.

AI judgeJudge 2claude-haiku-5-5
Data-driven analysis of PyPI imports of modules removed in Python 3.12/3.13, with careful methodology and practical fixes; original research with strong evidence, though the topic is niche and modestly significant.
AI judgeJudge 3gpt-5.6-luna
Original, reproducible analysis of Python compatibility failures across PyPI, with concrete counts, methodology, code, and remediation guidance. Highly actionable for Python maintainers; the broader AI-security argument is somewhat more inferential than the core findings.

Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.

Score

0.72total under rubric v2.3

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • Significance0.57
  • Reader interest0.80
  • Audience breadth0.68
  • Practical relevance0.87
  • Substantiated0.92
  • Technical depth0.89
  • New information0.89
  • Counts against: Promotional0.07
  • Counts against: Overclaim0.24

Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.690.350.680.570.34+0.24+0.137
Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on?0.790.700.900.800.20+0.26+0.207
Audience breadthHow many people who build technology does it concern?0.720.600.720.680.12+0.13+0.088
Practical relevanceHow useful is it to someone who builds software or tech products?0.960.800.860.870.16+0.22+0.192
SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations.0.990.850.930.920.14+0.05+0.046
Technical depthHow technically substantive is it?0.980.850.820.890.17+0.05+0.044
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.890.800.980.890.18+0.05+0.045
PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional.0.040.150.020.070.13−0.19−0.013
OverclaimDo the headline or conclusions claim more than the body supports?0.210.300.200.240.10−0.11−0.026
Sum of contributions+0.721
Claim-check penalty0.000
Total, as published0.721

Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.

The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.

Ranked #4 on Rubric, 16 Nov 2026
<a href="https://rubric.hrih.si/editions/2026-11-16/4/"><img src="https://rubric.hrih.si/badge/2026-11-16/4.svg" alt="Ranked #4 on Rubric, 16 Nov 2026" width="238" height="28"></a>

Claim check

Claim check: 5 matches source · 3 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.

  1. Couldn’t checkNumber

    3,763 of the 354,763 indexed PyPI projects import one of the 25 modules removed in Python 3.12 and 3.13.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “3,763 of the 354,763 projects in the py-code.org index import one of the 25 modules removed in Python 3.12 and 3.13”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/pypi-data/blog/tree/main/removed-stdlib-modules-pypi

  2. Couldn’t checkNumber

    Of the 3,763 projects importing a removed module, 1,623 (43.1%) have an unguarded import in their own code.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “43.1% of them have an unguarded import in their own code”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/pypi-data/blog/tree/main/removed-stdlib-modules-pypi

  3. Couldn’t checkNumber

    Of the 60,000 most downloaded projects, 852 have an unguarded import, and 544 of those had no release in two years, with 126 million downloads in 30 days.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “544 projects among the 60,000 most downloaded have an unguarded import and no release in two years. Together they had 126 million downloads in 30 days”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/pypi-data/blog/tree/main/removed-stdlib-modules-pypi

  4. Matches sourceQuote

    The Python 3.12 release notes say the third-party Setuptools package continues to provide distutils.

    The cited source says the same thing.

    The article says

    “the third-party Setuptools package continues to provide distutils”

    The source says

    “The third-party Setuptools package continues to provide distutils, if you still require it in Python 3.12 and beyond”

    Source cited by the article: docs.python.org/3/whatsnew/3.12.html

  5. Matches sourceQuote

    Python 3.13 release notes say the dead batteries were removed due to their historic, obsolete, or insecure status.

    The cited source says the same thing.

    The article says

    “due to their historic, obsolete, or insecure status”

    The source says

    “PEP 594 proposed removing 19 modules from the standard library, colloquially referred to as ‘dead batteries’ due to their historic, obsolete, or insecure status”

    Source cited by the article: docs.python.org/3/whatsnew/3.13.html

  6. Matches sourceBenchmark result

    In the DARPA AI Cyber Challenge final in August 2025, AI systems found 54 of 63 planted vulnerabilities, patched 43, and found 18 real ones.

    The cited source says the same thing.

    The article says

    “the AI systems found 54 of the 63 planted vulnerabilities, patched 43, and found 18 real ones”

    The source says

    “In total, competitors’ systems discovered 54 unique synthetic vulnerabilities in the Final Competition’s 63 challenges. Of those, they patched 43”

    Source cited by the article: darpa.mil/news/2025/aixcc-results

  7. Matches sourceFirst, only or fastest

    Google's Big Sleep agent found an exploitable memory bug in SQLite in 2024, which Google called the first public example of an AI agent finding a previously unknown exploitable memory-safety issue in widely used software.

    The cited source says the same thing.

    The article says

    “the first public example of an AI agent finding a previously unknown exploitable memory-safety issue in widely used real-world software”

    The source says

    “We believe this is the first public example of an AI agent finding a previously unknown exploitable memory-safety issue in widely used real-world software”

    Source cited by the article: projectzero.google/2024/10/from-naptime-to-big-sleep.html

  8. Matches sourceNumber

    Mandiant's M-Trends 2026 puts the mean time to exploit at an estimated −7 days.

    The cited source says the same thing.

    The article says

    “Mandiant's M-Trends 2026 puts the mean time to exploit at an estimated −7 days”

    The source says

    “M-Trends 2026 reveals that the mean time to exploit vulnerabilities dropped to an estimated -7 days, meaning exploitation is routinely occurring before a patch is even released”

    Source cited by the article: cloud.google.com/blog/topics/threat-intelligence/m-trends-2026

Also covered by

No other coverage was clustered with this story.

Elsewhere

Elsewhere: HN 1 pts, not on front page

Discussion on Hacker News

Recorded for context only, checked 16 Nov 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “PyPI code that breaks on Python 3.12 and 3.13”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.