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

Use arr.view(arr.dtype.newbyteorder()) instead of deprecated arr.newbyteorder() #2329

Merged
merged 1 commit into from Oct 17, 2023

Conversation

kmuehlbauer
Copy link
Contributor

closes #2328

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (f88fb8c) 89.55% compared to head (a8dc014) 89.55%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2329   +/-   ##
=======================================
  Coverage   89.55%   89.55%           
=======================================
  Files          17       17           
  Lines        2384     2384           
=======================================
  Hits         2135     2135           
  Misses        249      249           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@takluyver takluyver added this to the 3.11 milestone Oct 17, 2023
@takluyver
Copy link
Member

Thanks!

@takluyver takluyver merged commit 1c620f0 into h5py:master Oct 17, 2023
39 checks passed
@kmuehlbauer kmuehlbauer deleted the fix-newbyteorder branch October 17, 2023 10:31
@djhoese
Copy link
Contributor

djhoese commented Nov 1, 2023

Thanks for fixing this @kmuehlbauer! I just ran into this in my own CI. Any idea what the timeline is for the next release that includes this fix? It looks like this PR just missed the 3.10 release.

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

Successfully merging this pull request may close these issues.

np.ndarray.newbyteorder removed in numpy 2.0
3 participants