Skip to content

add warning stating that xarray will drop python 2 support at the end of 2018 #1871

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

Merged
merged 3 commits into from
Feb 1, 2018
Merged

add warning stating that xarray will drop python 2 support at the end of 2018 #1871

merged 3 commits into from
Feb 1, 2018

Conversation

jhamman
Copy link
Member

@jhamman jhamman commented Jan 31, 2018

  • Closes Drop support for Python 2 #1830 (remove if there is no corresponding issue, which should only be the case for minor changes)
  • Fully documented, including whats-new.rst for all changes and api.rst for new API

- `Xarray Github issue discussing dropping Python 2 <https://github.com/pydata/xarray/issues/1829>`__
- `Python 3 Statement <http://www.python3statement.org/>`__
- `Tips on porting to Python 3 <https://docs.python.org/3/howto/pyporting.html>`__

- Python 2.7, 3.4, 3.5, or 3.6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a warning, maybe this should be written as a footnote after 2.7? We can save the loud "Warning" for the release notes.

Also, can we say "plans to drop support" instead of "is dropping support"?

Copy link
Member

@fmaussion fmaussion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would reformulate the statement slightly:

"Xarray plans to drop support for python 2.7 at the end of 2018. This means that new releases of xarray published after this date will only be installable on python 3+ environments, but older versions of xarray will always be available to python 2.7 users. For more information see ..."

@@ -13,6 +13,15 @@ What's New
import xarray as xr
np.random.seed(123456)

.. warning::

Xarray plans to drop support at the end of 2018. For more information see
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"drop python 2 support"

@@ -96,3 +96,10 @@ To run these benchmark tests in a local machine, first install

and run
``asv run # this will install some conda environments in ./.asv/envs``

.. [1] Xarray plans to drop support at the end of 2018. For more
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"drop python 2 support"

@shoyer
Copy link
Member

shoyer commented Feb 1, 2018

Looks good to me, thanks @jhamman and @fmaussion !

@jhamman jhamman merged commit 55257b8 into pydata:master Feb 1, 2018
@jhamman jhamman deleted the drop_py2_warning branch February 1, 2018 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants