• Bug#1098613: python-sqt: FTBFS: dh_auto_test: error: pybuild --test --t

    From =?utf-8?Q?=C3=89tienne?= Mollier@21:1/5 to All on Tue Mar 4 23:40:01 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@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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmfHfhwACgkQeTz2fo8N EdoV8hAAlkgGOIL6h7dPsSpKcBFvFG/C4M8m63iTqfvziwT9+hZTf70VTpaAjj1J uszlwOqaIv+0OP91NtHP4UIhmm7xcNK7DOskH5N1ghqzWd2ENiaPyCw/W2gkBgUm HVqYX1NocmSoIDjETztajiIUj7HdMCGS+xk3ewhG+56NW3GZZpuoxIdRZQnJAJHD UeTifyg+fxrs5eWr18/ggSLV+m3z2xHvbE1geYDLSLoHKzMWWqtuGs/brnuRH3gP R2kWNLZtKb18D6bT+P/CZ6lgt/wxf67n6dlZRhwov3ar3lcN50p6wvapOG3YtX6x gmbren+wFOF1/IJ14SGXL9ST8+qrYTJapQWTDj/iLsGBRiqX4apoNHVIwwtt32lQ JqTSI8AQNqAdxFDnJeInvxNnC3mbNN0JJ5RspMnHsA2Hb2WExEIo46r9ighL2xWY r4jcJIOtq/6yosu4e4+yIxTskBdY+qgzL//4qPzbKkY4Sp8kPI8IOPCvDZ1SLisn WBbekgPmFj67bUazzyHQHmkPZTCJ8ET9LbsxlPJ/omdsGC+anf/v5qFB5cbIToHB lpBcx/UAaw7luo/xpQrR5hKeP/WHFaWIZA7PwxTpYELkvMfGmJmtbyIWI2LTNnxt 2KF1zfCrQya9+PKoxisQu9xk6jD
  • From James Addison@21:1/5 to emollier@debian.org on Tue Mar 4 23:50:01 2025
    On Tue, 4 Mar 2025 at 22:26, Étienne Mollier <emollier@debian.org> wrote:
    [ ... snip ... ]
    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, :)

    You're welcome - thank you, Étienne! :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)