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
signature.asc
Description: PGP signature