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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix numpy 1.22.4 bug #55

Merged
merged 1 commit into from May 26, 2022
Merged

fix numpy 1.22.4 bug #55

merged 1 commit into from May 26, 2022

Conversation

tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented May 26, 2022

Numpy 1.22.4 (specifically, numpy/numpy#21446) changed the way that arrays are created from buffers. It is causing tests here to fail specifically in the case where a dask array is requested without using the "ResourceBackedArray" protocol, the underlying file is closed, and then the array is computed.

To be sure, this was a risky operation to begin with 馃槀 ... so the numpy error is good.

This fixes the copy operation that should prevent it

@tlambert03 tlambert03 merged commit 0025e8b into main May 26, 2022
@tlambert03 tlambert03 deleted the fix-copy branch May 26, 2022 21:09
@tlambert03 tlambert03 mentioned this pull request Jun 1, 2022
@tlambert03 tlambert03 added the bug Something isn't working label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant