Skip to content

RFC: Python 2 support #735

Closed
Closed
@effigies

Description

@effigies

As I'm sure we're all aware, CPython 2 support ends on January 1, 2020, and a number of projects have committed to cutting off Python 2 support in the coming year, some already having effected the change in master. In particular, numpy, scipy, scikit-learn and scikit-image, which nibabel either depends on or is often used in conjunction with, have all committed to ending their Python 2 support.

We cannot realistically extend our support of Python 2 much farther, even if we want to. I would like to propose the upcoming 2.4 series as the last series with any Python 2 support at all, and commit to bug-fixes in 2.4.x until January 2020. This is a short timeline, but hopefully piggy-backing on the zeitgeist will help keep it from being too jarring.

I am open to someone else maintaining the 2.4.x branch for a short while after January 2020, but I think it should be short.

Assuming we settle on this scheme, nibabel 3.0 will remove all Python 2 support, and I'll do my best to ensure that the PyPI metadata will require Python 3+, so that Python 2's pip will not attempt to install nibabel>=3.

@nipy/core @nipy/team-nibabel @GaelVaroquaux @pauldmccarthy @afni-rickr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions