Article View: linux.debian.maint.python
Article #19Re: AutoPkgTest fails to copy the Python files to test environment
From: Andrey Rakhmatullin
Date: Mon, 12 Oct 2026 07:40
Date: Mon, 12 Oct 2026 07:40
54 lines
3894 bytes
3894 bytes
--A4sz40SSTv3Z3eUA Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 12, 2026 at 11:44:23AM +1100, Ben Finney wrote: >I'm attempting to enable AutoPkgTest for a Python package [0], via the >control field =E2=80=9CTestsuite: autopkgtest-pkg-pybuild=E2=80=9D. The bi= nary package >builds successfully [1], but the AutoPkgTest run does not include any of >the Python package and so runs no tests [2]. I think you need to point autopkgtest to the installed file explicitly=20 (you either failed to mention that the only tests in the package are doctes= ts in=20 the actual module or missed that fact yourself). >What is failing, evidently, is AutoPkgTest's step of copying the Python >package and test files, into its test environment. From there, zero test >cases are found, and the step fails. autopkgtest doesn't copy the package source into its test environment,=20 because by design it uses the installed package, not its source. It=20 doesn't copy test files for you because there aren't any. >[2]: Within the SBuild session, AutoPkgTest fails because the test >environment does not have the Python packages nor its test suite: There is no separate test suite. --=20 WBR, wRAR --A4sz40SSTv3Z3eUA Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmrMjGoACgkQM2L3AxpJ kuEREA/7Bh+McWGSyOCBiH5EUx2fBMofTYz53dm2nGx31mNfcI+UMSh7Be+sqnvy uBmINOmfmi1/MHP71aiekjUPrlSNGFUjnBw6zEQ7or60LvLMk4YHHxygOz/g7KXP jZufwPrD3zqqVl3eUCsnoH9BH526QXwz83zQXR1PEvJGzhjHh3ETtvikune0N4v2 csyP/zfxcxFhfJL8Vl0o4kQo/TTrJqPib/rgOmSIhEzyBl4Bp7dFs5gsgPfFaSZo Kh1S3FPsaNgoYidOEXRHinfPsNJ1+moTXyIezh7b7OSACuylPyICmdBdrNDm4qOm VRm+qksn0bMn2PeL8DyJMq/zI84ihIfIBQaNX1aRtrUuVm1ape986Cw8ngdCKTBI BmfyufDpsoR8iLLp4IBCTFTb1uGJWgxEnVGsoUmJ4OF1NZhuyb8vjT8cqkEHZ+xV mZDZPfbUEZF7t02Kv50nO6E0+dObchOMwepDZZ2HfoROWmMHCk2s6anbSvG6GxLs gkSxWUpllOAOF/fUrxK4hYm6dBGKI/wrXB7uBWrluPVwPvG+VClWR/va5JNTt7nC +6JU3L0vYx6+SgpAtbmHNPidfNlU1kfrqqGzt1krwDxVbUl7XEi2tFjZel9XGsol /XKHMwjCuFCQQLD26sSS0iz1z1YZ1Nio8YOI7Bly+EKXblHgn8g= =ICn9 -----END PGP SIGNATURE----- --A4sz40SSTv3Z3eUA--
Technical Details
Message-ID:
<NNiNz-529K-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NNcoN-4YEM-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin <wrar@debian.org> Newsgroups: linux.debian.maint.python Subject: Re: AutoPkgTest fails to copy the Python files to test environment Date: Mon, 12 Oct 2026 09:40:01 +0200 Message-ID: <NNiNz-529K-1@gated-at.bofh.it> References: <NNcoN-4YEM-1@gated-at.bofh.it> X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Oct 12 07:30:08 2026 Old-Return-Path: <wrar@debian.org> X-Amavis-Spam-Status: No, score=-4.641 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="A4sz40SSTv3Z3eUA" Content-Disposition: inline X-Debian-User: wrar X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24122 List-ID: <debian-python.lists.debian.org> List-URL: <https://lists.debian.org/debian-python/> List-Archive: https://lists.debian.org/msgid-search/asyMarRLTuqOxPFq@belkar.wrar.name Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 12 Oct 2026 12:29:51 +0500 X-Original-Message-ID: <asyMarRLTuqOxPFq@belkar.wrar.name> X-Original-References: <875wz7u4rc.fsf@benfinney.id.au>