Scan finds thousands of PyPI projects import modules removed in Python 3.12 and 3.13
Start here
py-code.org scanned the latest release of 354,763 PyPI projects and found 3,763 import a module removed in Python 3.12 or 3.13; 1,623 of those imports are unguarded and would fail at runtime. The analysis reads code rather than running it, and counts an import as safe only if it sits in a try block catching ImportError, ModuleNotFoundError or Exception, in an except fallback, or under a Python-version check; imports in test files, setup.py, docs and examples are excluded. Among the 60,000 most-downloaded projects, 852 have an unguarded import, and 544 of those have had no release in two years while still drawing 126 million downloads a month, based on ClickHouse's public PyPI dataset for the 30 days before the scan. nose and boto, last released in 2015 and 2018, still get 5.2 million monthly downloads despite failing on Python 3.12 and later.
Generated from reports · updated 17 h ago
Report timeline
Follow the reports to see the event from different sides.
- Hacker News · AIPyPI code that breaks on Python 3.12 and 3.13
A scan of 354,763 PyPI projects found 3,763 import a module removed in Python 3.12 or 3.13, and 1,623 have an unguarded import that would actually fail. Among the 60,000 most downloaded projects, 852 have an unguarded import, and 544 of those have had no release in two years yet still draw 126M downloads a month. nose and boto, last released in 2015 and 2018, still get 5.2M monthly downloads despite failing on 3.12+.
Heat for this event
- Current, comparable range
- 6
- Peak, comparable range
- 10November 16 00:00
- Change in 24 hours
- –
The trend compares the same participants over hours observed continuously, so its range can be narrower than the current heat count. Hover or tap the chart for hourly heat; the arrow keys move through it.