Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16411
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andrey Rakhmatullin <wrar@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: electrum: How to enable autopkgtest? |
| Date | Wed, 30 Oct 2024 06:50:01 +0100 |
| Message-ID | <JD9KF-5gSM-3@gated-at.bofh.it> (permalink) |
| References | <JD1k5-5axK-13@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Oct 30 05:48:07 2024 |
| Old-Return-Path | <wrar@debian.org> |
| X-Amavis-Spam-Status | No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JwVV40+j6F6fG7Ly" |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/22481 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/ZyHIg-83BG1CXnIi@belkar.wrar.name |
| Approved | robomod@news.nic.it |
| Lines | 57 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 30 Oct 2024 10:47:47 +0500 |
| X-Original-Message-ID | <ZyHIg-83BG1CXnIi@belkar.wrar.name> |
| X-Original-References | <15878157.HmTS7JG1Cm@soren-desktop> |
| Xref | csiph.com linux.debian.maint.python:16411 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tue, Oct 29, 2024 at 01:43:50PM -0700, Soren Stoutner wrote: > I added a Build-Depend on "python3-pytest <!nocheck>” and added “Testsuite: > autopkgtest-pkg-pybuild” to debian/control. This enables the tests during > build time, but I receive the following error during autopkgtest: > > E ModuleNotFoundError: No module named ‘electrum.gui.qml’ The same happens when I install the package manually and try that import. > https://salsa.debian.org/cryptocoin-team/electrum/-/jobs/6505015#L677 > > I believe I could fix this problem by adding the following to debian/rules: > > export PYBUILD_NAME=electrum Why would this fix this problem? > My question is, what is the canonical way to handle this? Fixing the package so that it provides that module or patching the tests so that they don't require it. -- WBR, wRAR
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-29 21:50 +0100
Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 06:50 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 07:20 +0100
Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 07:50 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 08:10 +0100
Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 08:20 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-30 08:30 +0100
Re: electrum: How to enable autopkgtest? Andrey Rakhmatullin <wrar@debian.org> - 2024-10-30 08:40 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 20:50 +0100
Re: electrum: How to enable autopkgtest? weepingclown <weepingclown@disroot.org> - 2024-10-31 21:40 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 21:50 +0100
Re: electrum: How to enable autopkgtest? weepingclown <weepingclown@disroot.org> - 2024-10-31 21:50 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 22:10 +0100
Re: electrum: How to enable autopkgtest? Hefee <hefee@debian.org> - 2024-10-31 19:50 +0100
Re: electrum: How to enable autopkgtest? Soren Stoutner <soren@debian.org> - 2024-10-31 20:30 +0100
Re: electrum: How to enable autopkgtest? Antonio Terceiro <terceiro@debian.org> - 2024-10-30 14:10 +0100
csiph-web