Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP: drop Python 2.7 support #1876

Closed
jhamman opened this issue Feb 1, 2018 · 2 comments
Closed

DEP: drop Python 2.7 support #1876

jhamman opened this issue Feb 1, 2018 · 2 comments

Comments

@jhamman
Copy link
Member

jhamman commented Feb 1, 2018

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

@jhamman jhamman changed the title DEP: drop 2.7 support DEP: drop Python 2.7 support Feb 1, 2018
@fmaussion
Copy link
Member

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.

@jhamman
Copy link
Member Author

jhamman commented Feb 14, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants