Article View: linux.debian.maint.python
Article #27Re: Automated cleanup after running test suite (was: AutoPkgTest to run Doctest on installed Python modules)
From: Andrey Rakhmatullin
Date: Thu, 15 Oct 2026 07:20
Date: Thu, 15 Oct 2026 07:20
44 lines
3842 bytes
3842 bytes
--1RefiOkduUbHbsUb Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 15, 2026 at 03:14:44PM +1100, Ben Finney wrote: >> > - PYBUILD_AFTER_TEST is unnecessary now that you don't have the >> > manual d/*install step, so you can lose a few lines from d/rules. >> >> Done, thank you. Is this because PyBuild (or something else?) does the >> cleanup of PyTest temporary cruft? > >What is it that does the automated cleanup after the test suite run, and >how does it know exactly what to remove? Can it be overridden with >different instructions, or different files to remove? I think it's more simple than that: pybuild runs tests in a temporary dir,= =20 and it probably just removes the dir afterwards. --=20 WBR, wRAR --1RefiOkduUbHbsUb Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmrQfPkACgkQM2L3AxpJ kuH7IA//cFTxyysml3tYtIiyuIccf+ii48Cr66gJPlB2SA0GAtmnaiUWRdmDW9CW nOCN+wW4J9emRBxD7Nz5Sclu5mKgYr/f8Dy5w46ARQWlYi3uovwKFdzgf+phR646 DqZUsczmMzPfgJ3qUhAnC4DODQmK1R3Tth4E6OjDFFbtB0h/CKA0iQS+a2SrMT8z HszVo3048fI/O5RdHk8gczgeUDQNDyJenPCNkMf2OMtVPFzCdIq9/LvjI0fLCoCb 7O9DrQr5ooW+/VfXJ4mQFqIso6A/gjij7SAkh4fB3tSG3uqtAbxJ8FcSbdtQ4W8z BmnkJ6JRRG1ci6rkzopJO8XpUY6yATcSsWFAKkP5U2VIvWMTMVt0X+uVNE9q471M s+8BWZJzfrB/zqeQP0zvbuYX2a8T+udMHZoMVoEAq+8fZjHGpoHOKHsActpvHCLw yNWnU8o3l+kmGMF/LA54waEiH8IdwHpsdjt/gXNDedAWbevsuDbSreusODfIUr0O DKb32xvsfgcjCsjATgOoqHSMqpwB9wCTTzPAb5gP3GKaXsptB5HNgsK1UEa7oswf j1n5B7D0VDIKAwdB1GiQ4jhVRRfp1anC3+PXwNvTaZbGZ0vKXMuY/nYpI4WOD/6n njPa2zhm5MRT9ohM0gC1jHq5Y2biJ6qFbtvfkev3HPm1zZSdUBo= =D8T7 -----END PGP SIGNATURE----- --1RefiOkduUbHbsUb--
Technical Details
Message-ID:
<NOnUR-5DFM-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NNcoN-4YEM-1@gated-at.bofh.it> <NNiaR-51N7-7@gated-at.bofh.it> <NNHiV-5f4K-1@gated-at.bofh.it> <NO02d-5pdh-1@gated-at.bofh.it> <NO0Yi-5pGG-3@gated-at.bofh.it> <NOl6F-5BU0-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin <wrar@debian.org> Newsgroups: linux.debian.maint.python Subject: Re: Automated cleanup after running test suite (was: AutoPkgTest to run Doctest on installed Python modules) Date: Thu, 15 Oct 2026 09:20:01 +0200 Message-ID: <NOnUR-5DFM-5@gated-at.bofh.it> References: <NNcoN-4YEM-1@gated-at.bofh.it> <NNiaR-51N7-7@gated-at.bofh.it> <NNHiV-5f4K-1@gated-at.bofh.it> <NO02d-5pdh-1@gated-at.bofh.it> <NO0Yi-5pGG-3@gated-at.bofh.it> <NOl6F-5BU0-1@gated-at.bofh.it> X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Oct 15 07:13:12 2026 Old-Return-Path: <wrar@debian.org> X-Amavis-Spam-Status: No, score=-4.641 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1RefiOkduUbHbsUb" Content-Disposition: inline X-Debian-User: wrar X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24131 List-ID: <debian-python.lists.debian.org> List-URL: <https://lists.debian.org/debian-python/> List-Archive: https://lists.debian.org/msgid-search/atB8-WVVdJCHQaPM@belkar.wrar.name Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 15 Oct 2026 12:12:57 +0500 X-Original-Message-ID: <atB8-WVVdJCHQaPM@belkar.wrar.name> X-Original-References: <875wz7u4rc.fsf@benfinney.id.au> <20261012065551.32714c0e@debian.org> <87wlrmrl8d.fsf_-_@benfinney.id.au> <a36d9d53-8c27-41b4-85ae-07e77f39c36d@debian.org> <87mrsgsrox.fsf@benfinney.id.au> <87cxtbsiq3.fsf_-_@benfinney.id.au>