DEP: deprecate numpy.ma.round_ by antareepsarkar · Pull Request #30738 · numpy/numpy · GitHub
Skip to content

DEP: deprecate numpy.ma.round_ - #30738

Merged
mattip merged 1 commit into
numpy:mainfrom
antareepsarkar:main_2
Feb 18, 2026
Merged

mattip merged 1 commit into
numpy:mainfrom
antareepsarkar:main_2

Conversation

@antareepsarkar

Copy link
Copy Markdown
Contributor

resolves #28830

This PR deprecates np.ma.round_ in favour of np.ma.round and includes tests.

@jorenham

Copy link
Copy Markdown
Member

@jorenham jorenham added component: numpy.ma masked arrays 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes labels Jan 28, 2026
@jorenham jorenham added this to the 2.5.0 Release milestone Jan 28, 2026
antareepsarkar added a commit to antareepsarkar/numpy that referenced this pull request Jan 28, 2026
@jorenham jorenham removed the 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes label Jan 28, 2026
@antareepsarkar

Copy link
Copy Markdown
Contributor Author

Thanks for the review.

@antareepsarkar

Copy link
Copy Markdown
Contributor Author

So, just added deprecation tests in numpy/_core/tests/test_deprecations.py. And, a few other changes have been made.

Please tell whether anything else needs to be done.

@antareepsarkar

Copy link
Copy Markdown
Contributor Author

@mattip @jorenham
Are the changes okay?

@mattip
mattip merged commit cb74931 into numpy:main Feb 18, 2026
79 checks passed
@mattip

mattip commented Feb 18, 2026

Copy link
Copy Markdown
Member

@antareepsarkar
antareepsarkar deleted the main_2 branch February 20, 2026 00:20
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.

DEP: np.round_ has been removed, but ma.round_ still remains

3 participants