Path: csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Soren Stoutner Newsgroups: linux.debian.maint.python Subject: electrum: How to enable autopkgtest? Date: Tue, 29 Oct 2024 21:50:01 +0100 Message-ID: X-Original-To: Debian Python Team X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Oct 29 20:44:45 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-112.63 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.421, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no Organization: Debian MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5263516.tveMhsZLtY"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Debian-User: soren X-Mailing-List: archive/latest/22480 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/15878157.HmTS7JG1Cm@soren-desktop Approved: robomod@news.nic.it Lines: 67 Sender: robomod@news.nic.it X-Original-Date: Tue, 29 Oct 2024 13:43:50 -0700 X-Original-Message-ID: <15878157.HmTS7JG1Cm@soren-desktop> Xref: csiph.com linux.debian.maint.python:16410 --nextPart5263516.tveMhsZLtY Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Soren Stoutner To: Debian Python Team Subject: electrum: How to enable autopkgtest? Date: Tue, 29 Oct 2024 13:43:50 -0700 Message-ID: <15878157.HmTS7JG1Cm@soren-desktop> Organization: Debian MIME-Version: 1.0 I recently requested the upstream maintainers add the tests directory to th= eir=20 signed tarball releases. I am now in the process of trying to enable those= =20 tests in the Debian package. I added a Build-Depend on "python3-pytest =E2=80=9D and added =E2= =80=9CTestsuite:=20 autopkgtest-pkg-pybuild=E2=80=9D to debian/control. This enables the tests= during=20 build time, but I receive the following error during autopkgtest: E ModuleNotFoundError: No module named =E2=80=98electrum.gui.qml=E2=80=99 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=3Delectrum However, this breaks the current splitting of the files into two binary=20 packages, electrum and python3-electrum, using .install files. My question is, what is the canonical way to handle this? Is there some=20 variation of the =E2=80=9Cexport PYBUILD_NAME=E2=80=9D command that preserv= es the contents of=20 the two binary packages? Or, is there some other command I am missing that= =20 will allow autopkgtest to import the built modules? =2D-=20 Soren Stoutner soren@debian.org --nextPart5263516.tveMhsZLtY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmchSQYACgkQwufLJ66w tgPh8A/+NaXXP1oRuL4lyRfGAEaEPRsGk5/9Ju9Yt7wmaaTZ/qGtq/fJsR/e037X YtYcMuBzNKIrhXHcaQxfBvqx3f4WL5DvpNTk2LTLieuI6Jlkg4IWgKaMHs/obtjJ rXwTfqGkM4xcslytYWp+lf+TloRqwdRYuxRiS7Zfkdo0us6MpbYutMTq0ZJTUnoy 7VyYxyun6Mk+P5a4YqH3jWag2wgjgJ4+Fcbx1SUCOSeWp6ChQdPWh02ijzwVlNrL k2MQZiO//HYuIH9/A0WisSeROCyzM6neb/axLaqxTl9KmW5nXElJtKoKz4y8uOhc yGhqvJ7X1bMSCTJKzRQtLerfFsvLR0+YzN/YV+S5M+3AP5gaM5+jVQ/5TuPF6s4i dROhqFJHmpvMp9tA+cG498yJEXVrHmcWY6FEv93OxkqipFbxmwMpVR0CauISDNTO g5eKoWa1olNHynOJv3Wi+Eo8rb5t42cpy/y/Bq3bLxzClo6vPkhtCxxcs1aGcEcp BErGDqVdaM2PV7AdNpLTmbWibdJmupQ6TOeSo77p8rf1gZUbjWpZmKC0rNyXb6Wa Ubv5crc5rx/qq7kNGC+b85Z5cdJ9nYfSa4Fz/7PQpjR/iKSoru+Dt7jQIeEyINxr TVf7D9cfcr0LTak90JWTy2mVsS4HaAi5Q5+mnrC0D5nDtPEn6O4= =zBD8 -----END PGP SIGNATURE----- --nextPart5263516.tveMhsZLtY--