• Re: python-plaster: FTBFS: dh_auto_test: error: pybuild --test --test-p

    From Andreas Tille@21:1/5 to All on Mon Jan 29 12:40:01 2024
    Am Mon, Jan 29, 2024 at 02:29:28PM +0300 schrieb Dmitry Shachnev:

    I have seen a similar problem in https://bugs.debian.org/1052802 and solved it by disabling dh_auto_clean completely.

    I've found another solution by trying hard to keep te .egg-info dirs
    (in a tarball inside debian/ dir and rsyncing them back at the place
    where expected by the test - nothing I'm proud about but it works).

    I agree, it would be nice if pybuild did not delete .egg-info directories inside tests, or provided a way to opt out.

    +1

    Kind regards

    Andreas.

    --
    http://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dmitry Shachnev@21:1/5 to Scott Talbert on Mon Jan 29 12:30:01 2024
    Hi,

    On Sun, Jan 28, 2024 at 08:27:12PM -0500, Scott Talbert wrote:
    I suspect the issue is because dh-python is clobbering the *.egg-info directories in the tests directory during the 'clean' target.

    While this is helpful in a lot of cases, it would be nice if there was a way to opt out of this behavior.

    I have seen a similar problem in https://bugs.debian.org/1052802 and solved
    it by disabling dh_auto_clean completely.

    I agree, it would be nice if pybuild did not delete .egg-info directories inside tests, or provided a way to opt out.

    --
    Dmitry Shachnev

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

    iQIzBAABCgAdFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmW3jBQACgkQsmYUtFL0 RrYHkQ/9GjHg4S8g00vOuE7YskP0Ex72SJudXBdWLuR3b/u+RjpPlXcxP/a1Gy95 tw6KqCnsCjSbL3jmntt0eKUFKi3CMiPeReydJ02AdfGS1ZRwEpnrLc+ZD86FZfTP TBIujHxYjrC/WjIEBLkyz3SIgRtzbP3eu186Cr853Z0LsiQA+bU5ZkvH07SGlyIo x2cwgD5j57D8vIz1ZYSp0DA2H8FdEHQk2ey9M9EsPSgqioGGaVpTVdYd7YTYGMUE 9iKSHBJXT4dyMU4ArYTmMyEP6fFoiVKmhJ5k2Xez6PUJ05iAdjfZjlJfawoydEad +UXgpK7Ubup7V42TyuKeTRyoWQU7MZOzhfhcrPFifKJBO48j7vKG8TiN2bU2bGF/ BmelNRJTkmUvElPJQaoNFviOgiBzrAsXbaPyHMBg/dzobotRYxCTDuhAX+KzJMEb uOa0QHSMgiGxdYjvJvrjUsVumMUzd1cQr28Zcj2Odu04oT7KuSN+qxhpvhEdQERE kG9ha604UjZhjatV/xL7Q1evDgr+/fvz5h+QJYG6HmetiR8Uun4eyuh3mwA2mTX8 ElOIWDp9pG1d8Iajjrs9IBNTQYbmAQWE7UwlwehKDI0cwxh34qLs9rbUCcovWx/A 6V7TWb4iRXMrL99ogvmStlNTJF53EnADLfGzXTfpp6kVzuCYbqc=
    =laag
    -----END PGP SIGNATURE-----

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