Re: autopkgtest-pkg-pybuild
Étienne Mollier <[email protected]>
| Newsgroups | gmane.linux.debian.devel.medical |
|---|---|
| Message-ID | <Zd8bPtjmOERJRfaW@fusion> |
Hi all, Michael R. Crusoe, on 2024-02-27: > On Tue 27 Feb 2024, 20:20 Andreas Tille, <[email protected]> wrote: > > I just learned about > > > > Testsuite: autopkgtest-pkg-pybuild > > > > in your commit. Could you please (on the mailing list) be more verbose > > about this? Routine-update is adding autopkgtest-pkg-python by default? > > Is this an outdated strategy we should change? > I find autopkgtest-pkg-pybuild to often be superior, but it can't be > enabled automatically like the -python version as it won't work > automatically nearly as often without additional configuration like the > "-python" version. I also begun to introduce autopkgtest-pkg-pybuild in a couple of packages (mostly my newer ones that made it in the Debian Python Team umbrella). The main improvement is that this allows, almost for free, running the dh_auto_test suite in autopkgtest context, which is a non-trivial improvement over the basic offered by the autopkgtest-pkg-python test suite. I write "almost for free", because things work when resorting only to pybuild to run the test suite (configuration using the environment variables like PYBUILD_TEST_ARGS are properly taken in account in such context), and some files necessary for running the test suite may need to be copied over manually in a special d/rules target "before-pybuild-autopkgtest". You can refer to python-parsl d/rules file for example[1], and to pybuild-autopkgtest(1) manual[2] for further details. [1]: https://salsa.debian.org/python-team/packages/python-parsl/-/blob/debian/master/debian/rules?ref_type=heads [2]: https://manpages.debian.org/bookworm/dh-python/pybuild-autopkgtest.1.en.html Have a nice day, :) -- .''`. Étienne Mollier <[email protected]> : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da `. `' sent from /dev/pts/1, please excuse my verbosity `- on air: Syrinx - Le Vingt Et Unieme Cercle
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmXfGz4ACgkQeTz2fo8N EdqHQA/+PNcuRg/VD1EH5ORDpSDKa9jnS5a/oFxwTBT1wHj6dJ6bEKu5ACx19Zrc SxfyjZwt4ahUqrBmjB2ksz3JX/nEuv1fSCOpt9Iu9u6iRdhK85xE93O6RV/dGbmT Ab3RIvWrGZAt5ZQNeKzTi8qw2lJiwIYoYfMq2lVQBOb3heDSotwWzVYDp951RM/m udYZr9QUZXgi6i8yAGZWQVNjBiCaEuCWkMXsoDtPRmsbxP17K8TlK8vTyVbviKlD MrQ662LWiteZEYROGcFcCe9eAK/PyBUbV2Fj6CZ/XX7v5IB5ewCMW1JbOkTWRCvH DVmMGC519/6YM3uZPQzbMzaf1ITkQPAebPAjD/mbIN2XnpJ010jS2e/dY2JA0Wkz FdeYcs/RYe3O4RAcxeEtL4XTDeW4Pwtff5ZdeUItTW8SM923m8bjYZ6rRl0F5Tvq WRaWtAvAyZgeL/92GUniVBYD+oqYk6fzT3LYQ6OEkNWirdU51bYKozB0BpJOpRtD 5BmcWcQT1WBVPI3/rIbhFyPlh6k5tDY7jzHeJMHKStKi6PKYimA1QYF4Eyve60Qx tU6ww71aiTOpnq2SH6yQUTWKYZ7xqe3kdzKhgNx8W2Zh4RLV+hBnh3KXAdLnts97 7UM5DKUAt4W90PuGvLiqgtWMNWFLmlo5gr8yCqgTgmWcdNZ8UNc= =uFQ6 -----END PGP SIGNATURE-----