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

MAINT: Handle numpy's deprecation of accepting out-of-bound integers. #17209

Merged
merged 1 commit into from Oct 12, 2022

Conversation

WarrenWeckesser
Copy link
Member

After the change in numpy/numpy#22385, numpy raises a deprecation warning with calls such as np.int8(5000) and np.uint32(-1). This change avoids such calls in the tests.

After the change in numpy/numpy#22385, numpy
raises a deprecation warning with calls such as np.int8(5000) and
np.uint32(-1).  This change avoids such calls in the tests.
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.

All green, in it goes. Thanks @WarrenWeckesser

@rgommers rgommers merged commit 6a7958c into scipy:main Oct 12, 2022
@WarrenWeckesser WarrenWeckesser deleted the numpy-int-deprecation branch October 12, 2022 09:30
@tylerjereddy tylerjereddy modified the milestones: 1.10.0, 1.9.3 Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.sparse scipy.spatial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants