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

DEPR: enforce deprecations in core.internals #29723

Merged
merged 7 commits into from
Nov 22, 2019

Conversation

jbrockmendel
Copy link
Member

Not sure if the whatsnew is needed for this; IIRC it was mainly pyarrow/fastparquet that were using these keywords

@@ -311,7 +311,8 @@ def test_delete(self):
def test_make_block_same_class(self):
# issue 19431
block = create_block("M8[ns, US/Eastern]", [3])
with tm.assert_produces_warning(FutureWarning, check_stacklevel=False):
with pytest.raises(TypeError, match="unexpected keyword"):
Copy link
Member

Choose a reason for hiding this comment

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

Should we just remove the dtype argument from this test instead of catching this?

Copy link
Member Author

Choose a reason for hiding this comment

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

without the dtpye kwarg its just a smoke test, at which point id rather just remove this test (which id be completely fine with)

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 OK then. As is this isn't testing anything pandas related just the stdlib

Copy link
Member

Choose a reason for hiding this comment

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

*OK to remove

Copy link
Member Author

Choose a reason for hiding this comment

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

removed

@WillAyd WillAyd added the Deprecate Functionality to remove in pandas label Nov 20, 2019
@WillAyd WillAyd added this to the 1.0 milestone Nov 20, 2019
@jreback
Copy link
Contributor

jreback commented Nov 20, 2019

lgtm. rebase and merge.

@jbrockmendel
Copy link
Member Author

the travis-36-locale build uses fastparquet=0.2.1 which apparently still passes dtype to make_block_same_class. any objection to bumping the required version?

@jbrockmendel
Copy link
Member Author

Looks like we last bumped the fastparquet version in #24590

@jorisvandenbossche
Copy link
Member

Yes, I think bumping the minimum fastparquet version is fine.
cc @TomAugspurger

@jreback
Copy link
Contributor

jreback commented Nov 21, 2019

Yes, I think bumping the minimum fastparquet version is fine.
cc @TomAugspurger

agreed here as well.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Nov 21, 2019 via email

@jbrockmendel
Copy link
Member Author

bumped fastparquet to 0.3.0. Wasnt sure what to put in the whatsnew, so I copied the whole minimum-version section from 0.25.0, updated the fastparquet entry, and cut the sentence about py27 having just been dropped.

@jbrockmendel
Copy link
Member Author

Looks like 0.3.2 is the version when fastparquet stopped using the deprecated keyword, but that is also the most recent version. are we OK with bumping that far?

@jreback
Copy link
Contributor

jreback commented Nov 22, 2019

looks good, IIRC you have a nother PR where you add the Change column, can update then.

@jreback jreback merged commit 816f3df into pandas-dev:master Nov 22, 2019
@jbrockmendel jbrockmendel deleted the depr-internals branch November 22, 2019 17:35
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Nov 22, 2019
keechongtan added a commit to keechongtan/pandas that referenced this pull request Nov 25, 2019
…ndexing-1row-df

* upstream/master: (185 commits)
  ENH: add BooleanArray extension array (pandas-dev#29555)
  DOC: Add link to dev calendar and meeting notes (pandas-dev#29737)
  ENH: Add built-in function for Styler to format the text displayed for missing values (pandas-dev#29118)
  DEPR: remove statsmodels/seaborn compat shims (pandas-dev#29822)
  DEPR: remove Index.summary (pandas-dev#29807)
  DEPR: passing an int to read_excel use_cols (pandas-dev#29795)
  STY: fstrings in io.pytables (pandas-dev#29758)
  BUG: Fix melt with mixed int/str columns (pandas-dev#29792)
  TST: add test for ffill/bfill for non unique multilevel (pandas-dev#29763)
  Changed description of parse_dates in read_excel(). (pandas-dev#29796)
  BUG: pivot_table not returning correct type when margin=True and aggfunc='mean'  (pandas-dev#28248)
  REF: Create _lib/window directory (pandas-dev#29817)
  Fixed small mistake (pandas-dev#29815)
  minor cleanups (pandas-dev#29798)
  DEPR: enforce deprecations in core.internals (pandas-dev#29723)
  add test for unused level raises KeyError (pandas-dev#29760)
  Add documentation linking to sqlalchemy (pandas-dev#29373)
  io/parsers: ensure decimal is str on PythonParser (pandas-dev#29743)
  Reenabled no-unused-function (pandas-dev#29767)
  CLN:F-string in pandas/_libs/tslibs/*.pyx (pandas-dev#29775)
  ...

# Conflicts:
#	pandas/tests/frame/indexing/test_indexing.py
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
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.

5 participants