Drop Python 3.2

What is this about?

Python 3.2 reached the end of its life on 27 February 2016. It's about time to drop support for Python 3.2.

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.2.

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

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.2'

Stop testing 3.2

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

python:
 - 3.2

And for example from Appveyor's appveyor.yml:

C:\Python32
C:\Python32-x64

And tox.ini:

envlist=py32

Remove old code and documentation

Remove old Python 3.2-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, 3):
    # Python 3.2 stuff

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

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

try:
    # Python 3.2
    import something
except ImportError:
    # Python 3.3+
    import something_else

// In C code
#if PY_VERSION_HEX < 0x03030000
-#endif

Also search for 3.2 and 32.

If you test with coverage, look for code which was tested before removing 3.2 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

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.