Skip to content

DEPR: Change current DeprecationWarnings to FutureWarnings #27113

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 4 commits into from
Jun 29, 2019

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Jun 28, 2019

  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

in prep for removal in 1.0 after 0.25.0 is released.

@mroeschke mroeschke added the Deprecate Functionality to remove in pandas label Jun 28, 2019
@mroeschke mroeschke added this to the 0.25.0 milestone Jun 28, 2019
@mroeschke mroeschke changed the title DEPR: Change current DeprecationWarnings to FutureWarnings in prep for removal DEPR: Change current DeprecationWarnings to FutureWarnings Jun 28, 2019
@@ -231,7 +231,7 @@ def _start(self):
Use ``start`` instead.
"""
warnings.warn(self._deprecation_message.format("_start", "start"),
DeprecationWarning, stacklevel=2)
Copy link
Member

Choose a reason for hiding this comment

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

I think the start/stop/step ones we should not yet change as those were only introduced in the upcoming release

@jreback
Copy link
Contributor

jreback commented Jun 28, 2019

lgtm. merge on green.

@mroeschke mroeschke merged commit d050791 into pandas-dev:master Jun 29, 2019
@mroeschke mroeschke deleted the change_to_futurewarnings branch June 29, 2019 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants