-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
doc/installing.rst
Outdated
- `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 |
There was a problem hiding this comment.
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"?
There was a problem hiding this 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 ..."
doc/whats-new.rst
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"drop python 2 support"
doc/installing.rst
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"drop python 2 support"
Looks good to me, thanks @jhamman and @fmaussion ! |
whats-new.rst
for all changes andapi.rst
for new API