🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.python
Article #26

Automated cleanup after running test suite (was: AutoPkgTest to run Doctest on installed Python modules)

#26
From: Ben Finney
Date: Thu, 15 Oct 2026 04:20
19 lines
3043 bytes
Ben Finney <bignose@debian.org> writes:

> Stuart Prescott <stuart@debian.org> writes:
>
> > - 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?

-- 
 \         Fry: “Take that, poor people!”  Leela: “But Fry, you’re not |
  `\     rich.”  Fry: “No, but I will be someday, and then people like |
_o__)                                  me better watch out!” —Futurama |
Ben Finney
Technical Details
Message-ID: <NOl6F-5BU0-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Ben Finney <bignose@debian.org>
Newsgroups: linux.debian.maint.python
Subject: Automated cleanup after running test suite (was: AutoPkgTest to run Doctest on installed Python modules)
Date: Thu, 15 Oct 2026 06:20:02 +0200
Message-ID: <NOl6F-5BU0-1@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>
X-Original-To: debian-python@lists.debian.org
X-Mailbox-Line: From debian-python-request@lists.debian.org  Thu Oct 15 04:15:03 2026
Old-Return-Path: <debian-python@m.gmane-mx.org>
X-Amavis-Spam-Status: No, score=-1.651 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249]
 autolearn=no autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
X-Injected-Via-Gmane: http://gmane.org/
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:6Hy7eA/ln9EIK8kJqSKZkn2CI1A=
X-Public-Key-ID: 0xAC128405
X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35  4855 B8B2 4C06 AC12 8405
X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From: Ben Finney <bignose+hates-spam@benfinney.id.au>
X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24130
List-ID: <debian-python.lists.debian.org>
List-URL: <https://lists.debian.org/debian-python/>
List-Archive: https://lists.debian.org/msgid-search/87cxtbsiq3.fsf_-_@benfinney.id.au
Approved: robomod@news.nic.it
Lines: 19
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 15 Oct 2026 15:14:44 +1100
X-Original-Message-ID: <87cxtbsiq3.fsf_-_@benfinney.id.au>
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>