Skip to content

MAINT: Remove deprecated functions [NEP 52] #24477

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 2 commits into from
Aug 30, 2023

Conversation

mtsokol
Copy link
Member

@mtsokol mtsokol commented Aug 21, 2023

Connected to #23999

Hi @rgommers @ngoldbaum,

This PR removes:

  1. find_common_type function that was deprecated in 1.25.0 in February
  2. round_ function that was also deprecated in 1.25.0
  3. nbytes dictionary

Other closely related libraries aren't affected.

@mtsokol mtsokol force-pushed the remove-deprecated-functions branch from bae5415 to 996dfbd Compare August 21, 2023 17:27
@rgommers rgommers added this to the 2.0.0 release milestone Aug 21, 2023
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @mtsokol.

The two deprecated functions are logical to remove, and nbytes is too - (it's not in the docs, and there are few usages that can be found with code search, and none in any of the regular PyData libraries).

I'll leave this open for some time as usual, since they're removals, but this seems uncontroversial.

Thanks for the more byte-sized PRs, nice for reviewers.

@mtsokol
Copy link
Member Author

mtsokol commented Aug 24, 2023

I added changelog file and "expired attributes" dict entries.

@mtsokol mtsokol force-pushed the remove-deprecated-functions branch from b51dad2 to 34ee134 Compare August 28, 2023 09:55
@mtsokol mtsokol force-pushed the remove-deprecated-functions branch from 34ee134 to 451e80a Compare August 28, 2023 10:20
@mtsokol mtsokol self-assigned this Aug 29, 2023
@rgommers
Copy link
Member

No more comments for a week, and this is pretty straightforward - in it goes. I'll note that the nbytes item was in the "remove" column in #24306 (comment) for a couple of weeks, and no one objected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants