[Debian-med-packaging] Bug#1098613: python-sqt: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
Étienne Mollier
emollier at debian.org
Tue Mar 4 22:26:36 GMT 2025
Hi James,
James Addison, on 2025-03-03:
> After using cython, gcc and Python 3.13 to run a minimized subset of the
> failing code, I observed a 'PyBytes_Check' assertion failure, and began
> to suspect some of the typecasting code[1] in the nt_to_aa function that
> accesses bytearray objects as if they are bytes.
>
> Please find attached a patch that rewrites the _helpers.pyx code to
> construct the relevant objects natively as bytes (immutable), resolving
> the runtime error while hopefully not degrading performance
> significantly.
Thank you for the patch, I can see that it resolves the build
failure and am going to include it in the next upload of
python-sqt.
Have a nice day, :)
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/1, please excuse my verbosity
`- on air: Ring van Möbius - Chasing The Horizon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20250304/7576c064/attachment.sig>
More information about the Debian-med-packaging
mailing list