Skip to content

Conversation

ucapbba
Copy link
Contributor

@ucapbba ucapbba commented Sep 10, 2024

Remove Python 3.9 as use of the | operator for type annotations is not supported in versions of Python before 3.10.
newbyteorder method was removed in NumPy 2.0. To achieve the same result, used
arr = arr.view(arr.dtype.newbyteorder('=')).byteswap()

@ucapbba ucapbba linked an issue Sep 10, 2024 that may be closed by this pull request
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.

Run notebooks as part of tests
1 participant