Closed musicinmybrain closed 1 month ago
This PR remains valid and necessary with 1.16.7.
@musicinmybrain sorry, I completely missed your PR! But I can cut a new release tomorrow, could you please add a change log entry?
@musicinmybrain sorry, I completely missed your PR! But I can cut a new release tomorrow, could you please add a change log entry?
Sure! Done. Thanks for looking at this PR.
I also reformatted the diff with ruff
, which should satisfy the style check.
Thanks @musicinmybrain 🚀!
Fixes a test failure when the Fedora Linux package is built and tested on
s390x
, which is Fedora’s sole big-endian primary architecture:Fortunately, it looks like this is the only place where the implementation accidentally assumes the host is little-endian.
Reference: https://numpy.org/doc/stable/reference/generated/numpy.frombuffer.html