Skip to content

Conversation

@hchargois
Copy link
Contributor

Using astype("<u2") should work will all numpy versions... It's also the correct way to achieve the desired serialization, as newbyteorder wasn't actually doing anything to the byte data 😅

@mathoudebine
Copy link
Owner

Thanks a lot! Merging to main to fix this issue as soon as possible

@mathoudebine mathoudebine merged commit 8d63695 into mathoudebine:main Dec 21, 2024
17 checks passed
@hchargois hchargois deleted the numpy-2 branch December 21, 2024 17:47
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.

TSSP 3.5.0 doesn't start on Arch Linux system; NumPy incompatibility NumPy 2.x and newbyteorder

2 participants