Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16278
| Path | csiph.com!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Timo Röhling <roehling@debian.org> |
| Newsgroups | linux.debian.maint.python, linux.debian.bugs.dist |
| Subject | Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" |
| Date | Fri, 13 Sep 2024 11:00:01 +0200 |
| Message-ID | <JmajL-bWRW-5@gated-at.bofh.it> (permalink) |
| References | <FwzIZ-6MUo-9@gated-at.bofh.it> <JkqCl-aRPf-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Sep 13 08:56:51 2024 |
| Old-Return-Path | <roehling@debian.org> |
| X-Amavis-Spam-Status | No, score=-111.542 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, SARE_MSGID_LONG45=0.893, SARE_MSGID_LONG50=0.726, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no |
| Mail-Followup-To | debian-python@lists.debian.org, 1024971@bugs.debian.org |
| Organization | The Debian Project |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bxgwmchuxf5mkfhx" |
| Content-Disposition | inline |
| X-Debian-User | roehling |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/22338 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/gxwfo5creuirwdfgaedmdxdt2fcgtzudugsgegbcwckd3paxnx@jexs25w5vepm |
| Approved | robomod@news.nic.it |
| Lines | 74 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 13 Sep 2024 10:56:25 +0200 |
| X-Original-Message-ID | <gxwfo5creuirwdfgaedmdxdt2fcgtzudugsgegbcwckd3paxnx@jexs25w5vepm> |
| X-Original-References | <1d836a0a-b926-aaa1-c04c-5a9d6910347a@debian.org> <6b7zvq5bjmmfp3nogosqrgejexhne6mjyzfsih7iyrlaixa7hv@clcppesyi4m7> |
| Xref | csiph.com linux.debian.maint.python:16278 linux.debian.bugs.dist:1212658 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Stefano, * Stefano Rivera <stefanor@debian.org> [2024-09-08 15:43]: >To fix these build failures, package maintainers would have these >options: > >1. Get the build to run some unit tests (assuming they exist), >2. override_dh_auto_test with something noop, >3. export PYBUILD_DISABLE=test, >4. We could make this failure opt-in in dh-python. Maybe via an explicit > --test-unittest option that selects the unittest runner. If you don't > explicitly select this runner, you'd get an attempt to run tests by > with unittest, and no failure if no tests are found. Maybe we can start by making missing tests in autopkgtest fail? As you need to opt-in via "Testsuite: autopkgtest-pkg-pybuild", we can be quite certain that missing tests are not intentional. I think that would work very nicely together with option 4 for the build itself. You might even use the "Testsuite" setting as opt-in flag, but that is probably taking it too far. Cheers Timo -- ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮ ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │ ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │ ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Stefano Rivera <stefanor@debian.org> - 2024-09-08 16:00 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Scott Kitterman <debian@kitterman.com> - 2024-09-08 19:30 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Louis-Philippe Véronneau <pollo@debian.org> - 2024-09-12 17:40 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Julian Gilbey <julian@d-and-j.net> - 2024-09-08 23:40 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Stefano Rivera <stefanor@debian.org> - 2024-09-09 10:40 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Julian Gilbey <julian@d-and-j.net> - 2024-09-09 17:30 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Stefano Rivera <stefanor@debian.org> - 2024-09-10 17:10 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-09-12 16:30 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Stefano Rivera <stefanor@debian.org> - 2024-09-12 16:30 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Stefano Rivera <stefanor@debian.org> - 2024-09-09 10:40 +0200
Re: Bug#1024971: pybuild: should fail when the result of running tests is "Ran 0 tests in 0.000s" Timo Röhling <roehling@debian.org> - 2024-09-13 11:00 +0200
csiph-web