Skip to content

Support Python 3 Only

Created by: pydanny

At the start of next year (2018) Django 2.0 will be released and Python 2.7 support will be a thing of the past. I want to begin the move sooner, rather than later, to a Python 3-only project.

TODO list:

  • Tag the last version of this project supporting 2.7
  • Remove all file encodings (# -*- coding: utf-8 -*-)
  • Remove Cookiecutter logic branches that support Python 2.7 (i.e use_python3 == 'N' )
  • Remove any references to the six library
  • Remove all __future__ code

As for which Python 3 version we support, for now, we'll stick with Python 3.5. Once a few lingering issues are resolved though, I want to move us up to Python 3.6.