Control: forwarded -1 https://github.com/mverleg/pyjson_tricks/issues/88
On Sun, Apr 27, 2025 at 06:05:09PM +0200, Chris Hofstaedtler wrote:
json-tricks currently is blocked from migration to testing, see
#1101381. This is because its autopkgtests fail on s390x. Indeed,
trying a build of json-tricks on s390x also shows a FTBFS.
The embedded data in test_np.py assumes the tests are running on
systems where the native arch is little-endian. Obviously thats wrong
on s390x.
[...]
Attached is a patch that can be dropped into debian/patches, which fixes the
FTBFS on s390x. TBH I have not tested the patch on non-s390x, but I assume
it should be fine on little-endian archs.
There are probably other ways of fixing this, but adding "endian":
"little" to the test data seems straightforward.
Thanks, this seems sensible to me and I'll apply it. Would you mind
also forwarding it as an upstream PR, since it seems a bit more sensible
for you to do that for your own patch? I expect you should be able to
mark it as fixing https://github.com/mverleg/pyjson_tricks/issues/88.
--
Colin Watson (he/him) [cjwat...@debian.org]