Skip to content

Deprecate old pandas support #1530

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 8 commits into from
Aug 31, 2017
Merged

Conversation

fujiisoup
Copy link
Member

  • Closes rolling requires pandas >= 0.18 #1512
  • Tests passed
  • Passes git diff upstream/master | flake8 --diff
  • Fully documented, including whats-new.rst for all changes and api.rst for new API

Explicitly deprecated old pandas (< 0.18) and old numpy (< 1.11) supports.
Some backported functions in npcompat are removed because numpy == 1.11 already has them.

Copy link
Member

@jhamman jhamman left a comment

Choose a reason for hiding this comment

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

This is great. Thanks for taking this on. 0.10 is right around the corner and it will be great to have this in there.

@jhamman jhamman modified the milestone: 0.10 Aug 28, 2017
@jhamman jhamman mentioned this pull request Aug 28, 2017
13 tasks
@@ -55,6 +55,10 @@ Enhancements
(:issue:`576`).
By `Stephan Hoyer <https://github.com/shoyer>`_.

- Deprecate supports of old numpy < 1.11 and pandas < 0.18 (:issue:`1512`).
Copy link
Member

Choose a reason for hiding this comment

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

This should go to the top of the release notes, under a heading "Backwards incompatible changes"

Also: these versions aren't just deprecated -- they are no longer supported at all.

@@ -4,139 +4,11 @@
import numpy as np

try:
from numpy import broadcast_to, stack, nanprod, nancumsum, nancumprod
from numpy import nanprod, nancumsum, nancumprod
Copy link
Member

Choose a reason for hiding this comment

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

We can remove nanprod, too -- it arrived in NumPy 1.10

@@ -4,139 +4,11 @@
import numpy as np

try:
from numpy import broadcast_to, stack, nanprod, nancumsum, nancumprod
from numpy import nanprod, nancumsum, nancumprod
except ImportError: # pragma: no cover
# Code copied from newer versions of NumPy (v1.10 to v1.12).
Copy link
Member

Choose a reason for hiding this comment

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

v1.10 to v1.12 -> v1.12

@shoyer shoyer merged commit 0b2424a into pydata:master Aug 31, 2017
@shoyer
Copy link
Member

shoyer commented Aug 31, 2017

Thanks @fujiisoup !

@fujiisoup fujiisoup deleted the deprecate_old_numpy branch November 4, 2017 09:51
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