PyPI code that breaks on Python 3.12 and 3.13
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
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.