Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16410

electrum: How to enable autopkgtest?

From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.maint.python
Subject electrum: How to enable autopkgtest?
Date 2024-10-29 21:50 +0100
Message-ID <JD1k5-5axK-13@gated-at.bofh.it> (permalink)
Organization Debian

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I recently requested the upstream maintainers add the tests directory to their 
signed tarball releases.  I am now in the process of trying to enable those 
tests in the Debian package.

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’

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

However, this breaks the current splitting of the files into two binary 
packages, electrum and python3-electrum, using .install files.

My question is, what is the canonical way to handle this?  Is there some 
variation of the “export PYBUILD_NAME” command that preserves the contents of 
the two binary packages?  Or, is there some other command I am missing that 
will allow autopkgtest to import the built modules?

-- 
Soren Stoutner
soren@debian.org

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar | Unroll thread


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