Article View: linux.debian.maint.python
Article #64Standardise running of upstream test suite (was: Interrogate PyBuild for build directory of *only* the current Python interprete...
From: Ben Finney
Date: Fri, 06 Nov 2026 04:40
Date: Fri, 06 Nov 2026 04:40
35 lines
3778 bytes
3778 bytes
Stuart Prescott <stuart@debian.org> writes: > I wish there was a PEP-standardised interface to building docs and > running tests. Here I feel the pain less with documentation build systems, and far more with test suites. The popularity of arbitrary ‘environments” in Tox (and I assume this also applies to Nox) has led many upstream developers to cram endless dependency-laden development tasks into that, such that “just run the test suite please” is effectively impossible without installing all the upstream developer's preferred suite of helpers that have nothing to do with the test suite. To the point where developers will only run their test suite with Tox, and are not inclined to support ‘python3 -m pytest’ or the like; if they've tweaked their Tox configuration such that plain PyTest or Unittest doesn't work any more, they don't feel moved to correct that. Not to mention that many upstream test suites assume they're running from the source, not on the built and installed package. So they can't be used unmodified for AutoPkgTest. I'm neutral on whether it's achieved via a PEP, but certainly I want more enthusiastic promotion and adherence upstream to the requirements of reproducible builds and continuous integration. We need it to become typical to have a test suite that runs *without* any of the development environment assumptions. -- \ “I was in the grocery store. I saw a sign that said ‘pet | `\ supplies’. So I did. Then I went outside and saw a sign that | _o__) said ‘compact cars’.” —Steven Wright | Ben Finney
Technical Details
Message-ID:
<NWjU5-a7qp-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!robomodReferences:
<NWg09-a5eH-3@gated-at.bofh.it> <NWibD-a6mp-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!fu-berlin.de!bofh.it!news.nic.it!robomod From: Ben Finney <bignose@debian.org> Newsgroups: linux.debian.maint.python Subject: Standardise running of upstream test suite (was: Interrogate PyBuild for build directory of *only* the current Python interpreter version) Date: Fri, 06 Nov 2026 05:40:01 +0100 Message-ID: <NWjU5-a7qp-1@gated-at.bofh.it> References: <NWg09-a5eH-3@gated-at.bofh.it> <NWibD-a6mp-1@gated-at.bofh.it> X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Nov 6 04:37:24 2026 Old-Return-Path: <debian-python@m.gmane-mx.org> X-Amavis-Spam-Status: No, score=-1.75 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -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:NhNXcOuzRKnmn0Nuoua5KRSUVfI= 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/24184 List-ID: <debian-python.lists.debian.org> List-URL: <https://lists.debian.org/debian-python/> List-Archive: https://lists.debian.org/msgid-search/874idupod5.fsf_-_@benfinney.id.au Approved: robomod@news.nic.it Lines: 35 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 06 Nov 2026 15:36:54 +1100 X-Original-Message-ID: <874idupod5.fsf_-_@benfinney.id.au> X-Original-References: <87se1eq0hm.fsf@benfinney.id.au> <75e9d39b-a45b-46f0-a33b-c3ac9c9f910f@debian.org>