International
The Morning Dev

Only the news worth knowing

‹
 

Research

544 unmaintained PyPI packages with imports that fail on Python 3.12+ still get 100M+ downloads a month

top scoring links : programming ·

The Brief

  • Python 3.12 and 3.13 removed 25 standard library modules, including distutils, imp, cgi, pipes and telnetlib.
  • A PyPI scan found 1,623 projects that import one of these modules outside a try/except block.
  • Of the 852 such projects among the 60k most downloaded packages, 544 have not had a release in a long time and still get 100M+ downloads a month.

Why it matters

Packages that import removed standard library modules without a fallback will fail on Python 3.12 and later, and many of the affected projects are widely downloaded but no longer maintained.

Who’s affected

  • Python developers who depend on affected PyPI packages
  • Teams running Python 3.12 or later

Python 3.12 and 3.13 dropped 25 stdlib modules (distutils, imp, cgi, pipes, telnetlib...). This scan of PyPI found 1,623 projects that still import one of them outside a try/except. 852 of those are in the 60k most downloaded packages, and 544 of the 852 haven't had a release in…

How do you feel about this?

0 Comments