Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14513
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jeroen Ploemen <jcfp@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: review for python-ssdpy |
| Date | Tue, 04 Oct 2022 15:00:01 +0200 |
| Message-ID | <FcPGF-bZyc-19@gated-at.bofh.it> (permalink) |
| References | <FcsAp-bLQN-7@gated-at.bofh.it> <Fcw1k-bNH3-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Oct 4 12:50:46 2022 |
| Old-Return-Path | <jcfp@debian.org> |
| X-Amavis-Spam-Status | No, score=-113.592 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.083, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no |
| X-Mailer | Claws Mail 4.1.0 (GTK 3.24.20; x86_64-pc-linux-gnu) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="Sig_/Xpe_=eQUifop1oeQnmR37mF"; protocol="application/pgp-signature"; micalg=pgp-sha512 |
| X-Debian-User | jcfp |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20362 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20221004145017.0adf83f1@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 59 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Tue, 4 Oct 2022 14:50:17 +0200 |
| X-Original-Message-ID | <20221004145017.0adf83f1@debian.org> |
| X-Original-References | <20221003141248.611a4004@debian.org> <69abf477-f9a3-5e52-5041-bb02ed1f79c8@gmail.com> |
| Xref | csiph.com linux.debian.maint.python:14513 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Mon, 3 Oct 2022 11:56:30 -0400
Ben Westover <kwestover.kw@gmail.com> wrote:
> Thanks, I didn't catch that since I use sbuild instead of pbuilder.
> I have set the environment variable CI = true which should disable
> those tests.
Unfortunately, it doesn't.
The change suggested below does make 'CI=true' take effect, but that
still leaves a few failing tests not marked by upstream. Probably
easiest to exclude those remaining troublemakers by instructing
pybuild to set a pytest option, e.g. PYBUILD_TEST_ARGS = -k 'not ...'.
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
#! /usr/bin/make -f
export PYBUILD_NAME = ssdpy
-export CI = "true" # Skip tests which require network
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
@@ -11,3 +10,7 @@ execute_after_dh_auto_build:
execute_after_dh_auto_clean:
rm -rf debian/html
+
+override_dh_auto_test:
+ # Skip tests which require network
+ CI=true dh_auto_test
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
review for python-ssdpy Jeroen Ploemen <jcfp@debian.org> - 2022-10-03 14:20 +0200
Re: review for python-ssdpy Ben Westover <kwestover.kw@gmail.com> - 2022-10-03 18:00 +0200
Re: review for python-ssdpy Jeroen Ploemen <jcfp@debian.org> - 2022-10-04 15:00 +0200
Re: review for python-ssdpy Ben Westover <kwestover.kw@gmail.com> - 2022-10-04 18:50 +0200
csiph-web