Drop Python 3.5

What is this about?

Python 3.5 reached the end of its life on 13 September 2020. It's about time to drop support for Python 3.5.

Reasons for dropping

What is this list?

This site shows the top 360 most-downloaded packages on PyPI (source) showing which have dropped support for Python 3.5.

  • Green packages have dropped Python 3.5,
  • White packages may still support Python 3.5.

Packages that are backports (for example, enum34) or known to be deprecated are not included (for example, distribute). If your package is incorrectly listed, please create a ticket.

This is not an official website, just a nice visual way to measure progress. To see the authoritative guide on wheels and other aspects of python packaging, see the Python Packaging User Guide.

My package is white. What can I do?

Remove the classifier

Remove the Trove classifier from setup.py.

'Programming Language :: Python :: 3.5'

Stop testing 3.5

Remove Python 3.5 from your CI. For example Travis CI's .travis.yml:

 - 3.5

And for example from Appveyor's appveyor.yml:


And tox.ini:


Remove old code and documentation

Remove old Python 3.5-specific code and documentation. Common files to check:

  • .travis.yml
  • appveyor.yml
  • README.md
  • setup.py
  • tox.ini

Search your code for stuff like:

if sys.version_info < (3, 6):
    # Python 3.5 stuff

if platform.python_version == "3.5":
    # Python 3.5 stuff

ver = platform.python_version_tuple()
    if float('{0}.{1}'.format(*ver[:2])) < 3.6:
    # Python 3.5 stuff

    # Python 3.5
    import something
except ImportError:
    # Python 3.6+
    import something_else

// In C code
#if PY_VERSION_HEX < 0x03060000

Also search for 3.5 and 35.

If you test with coverage, look for code which was tested before removing 3.5 from your CI.

Finally, consider dropping support for Python 2.6 and 3.3, which reached EOL on 2013-10-29 and 2017-09-29 respectively.

Something's wrong with this page!

Fantastic, a problem found is a problem fixed. Please create a ticket!

You can also submit a pull request.


Thanks to Python Wheels and Python 3 Wall of Superpowers for the concept and making their code open source.

drop-python requires JavaScript to be enabled to display the list of packages.