Xarray: DEP: drop Python 2.7 support

Created on 1 Feb 2018  路  2Comments  路  Source: pydata/xarray

The timeline for dropping Python 2.7 support for new Xarray releases is the end of 2018.

This issue can be used to track the necessary documentation and code changes to make that happen.

xref: #1830

community

Most helpful comment

Thanks! The practicalities page from the python3statement is a good start.

What I heard from other projects is that we shouldn't actively remove cross-compatible code. We could simply stop testing on py2 and not care about cross-compatibility anymore.

All 2 comments

Thanks! The practicalities page from the python3statement is a good start.

What I heard from other projects is that we shouldn't actively remove cross-compatible code. We could simply stop testing on py2 and not care about cross-compatibility anymore.

A practical change we need to make prior to dropping python 2 is to move the Python 2 test suite to Python 3. A number of Xarray's optional dependencies are still pinned to Python 2 so there will be a few hiccups there:

Ideally, we can just map the py2 tests directly to py3:

  • py27-min --> py35-min
  • py27-cdat+iris+pynio --> py36-cdat+iris+pynio

We may also consider dropping this test all together and putting cdat/iris/pynio in the standard py36 test.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benbovy picture benbovy  路  3Comments

blaylockbk picture blaylockbk  路  4Comments

tfurf picture tfurf  路  4Comments

phausamann picture phausamann  路  3Comments

tomchor picture tomchor  路  4Comments