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.
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
- 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).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.69 | 0.35 | 0.68 | 0.57 | 0.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.79 | 0.70 | 0.90 | 0.80 | 0.20 | +0.26 | +0.207 |
| Audience breadthHow many people who build technology does it concern? | 0.72 | 0.60 | 0.72 | 0.68 | 0.12 | +0.13 | +0.088 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.96 | 0.80 | 0.86 | 0.87 | 0.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.99 | 0.85 | 0.93 | 0.92 | 0.14 | +0.05 | +0.046 |
| Technical depthHow technically substantive is it? | 0.98 | 0.85 | 0.82 | 0.89 | 0.17 | +0.05 | +0.044 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.89 | 0.80 | 0.98 | 0.89 | 0.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.04 | 0.15 | 0.02 | 0.07 | 0.13 | −0.19 | −0.013 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.21 | 0.30 | 0.20 | 0.24 | 0.10 | −0.11 | −0.026 |
| Sum of contributions | +0.721 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.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.
<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.
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
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
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
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
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
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
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
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
Recorded for context only, checked 16 Nov 2026, 05:47 UTC. It played no part in the ranking.