- Package:
- src:python-whey
- Source:
- src:python-whey
- Submitter:
- Mahangu Weerasinghe
- Date:
- 2026-10-01 15:51:02 UTC
- Severity:
- normal
- Tags:
python-whey's test suite hard-codes the name of the .pth file that editables generates for editable installs. editables 0.6 renamed it from <project>.pth to _editable_impl_<project>.pth, so with python3-editables 0.6 installed the build fails (7 failed, 227 passed, 74 skipped): FAILED tests/test_build.py::test_build_editable[0.3-COMPLETE_A] FAILED tests/test_build.py::test_build_editable[0.3-COMPLETE_B] FAILED tests/test_build.py::test_build_editable[0.3-LONG_REQUIREMENTS] FAILED tests/test_build.py::test_build_editable_namespace FAILED tests/test_builder_methods.py::test_create_editables_files[0.3] FAILED tests/test_pep517_backend.py::test_build_editable[0.3-COMPLETE_A] FAILED tests/test_pep517_backend.py::test_build_editable[0.3-COMPLETE_B] Each one is a FileNotFoundError for whey.pth (default_values.pth in the namespace test). Because the package uses Testsuite: autopkgtest-pkg-pybuild, its autopkgtest will fail the same way. whey itself works fine with 0.6 (it writes _editable_impl_whey.pth); only the expected file names in the tests are out of date. python-editables 0.6-1 is ready on Salsa but not uploaded yet: https://salsa.debian.org/python-team/packages/python-editables I'm filing this first so it's tracked before that upload. Once 0.6 is in unstable I'll raise the severity to serious. Upstream fixed the tests in c29cf907d3 ("Bump editables to 0.6"), which is not in a release yet: https://github.com/repo-helper/whey/commit/c29cf907d3ee95080c8f4a60c81a8a584aa0a51b That commit doesn't apply to 0.1.1, so the attached patch makes the same change: it renames the expected files and keeps the wheel contents in the order whey writes them. With it applied, 0.1.1-6 builds in a sid chroot against python3-editables 0.6-1: 234 passed, 74 skipped (the same counts as with 0.5-3 today). The patched tests only pass with editables 0.6, so the patch can't go in before the editables upload.
Hello, Bug #1148856 in whey reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/python-team/packages/python-whey/-/commit/46b27921f341ecbf71e0a75e4994ceb795e6f31e editables 0.6 renamed the generated .pth file to _editable_impl_<project>.pth. Update the expected names in the tests and regression fixtures (equivalent to the test changes in upstream commit c29cf907d3), and build-depend on python3-editables (>= 0.6) since the tests now need it. ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1148856
We believe that the bug you reported is fixed in the latest version of
python-whey, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1148856@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mahangu Weerasinghe <mahangu@gmail.com> (supplier of updated python-whey package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 01 Oct 2026 20:24:59 +0530
Source: python-whey
Built-For-Profiles: noudeb
Architecture: source
Version: 0.1.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Mahangu Weerasinghe <mahangu@gmail.com>
Closes: 1148856
Changes:
python-whey (0.1.1-7) unstable; urgency=medium
.
* Team upload.
* Add patch updating the tests for the .pth file name used by
editables 0.6, equivalent to the test changes in upstream commit
c29cf907d3. (Closes: #1148856)
* d/control: Build-depend on python3-editables (>= 0.6).
Checksums-Sha1:
39ba81170a4c4e51e6a4fbe65d180ecda38c9da2 2758 python-whey_0.1.1-7.dsc
2e23defc6ce0d20a5c634d2bfae151fece53cd89 8596 python-whey_0.1.1-7.debian.tar.xz
9053c8a2a229ced2aa3fb2d354122a4a4128e633 8514 python-whey_0.1.1-7_source.buildinfo
Checksums-Sha256:
81f22cec2e9286f5b71830fcef31d9560f42a7abb15d578f0aabb20a19897758 2758 python-whey_0.1.1-7.dsc
acc6b241dbcd3cfa2ed6fb75003279b651996d0a18d1a6564ed4a1bbebac02b1 8596 python-whey_0.1.1-7.debian.tar.xz
c3e4a0d22f57174bf005d87ab7d96f060714efc627d9c9296164ef3c9b86630a 8514 python-whey_0.1.1-7_source.buildinfo
Files:
4d3a58b94b99322e5fc1d95e80ffee12 2758 python - python-whey_0.1.1-7.dsc
a5dc746dea497c4a1c822d1878dc467f 8596 python - python-whey_0.1.1-7.debian.tar.xz
7e3425ed06dc451468907a0f7e5b1cd9 8514 python - python-whey_0.1.1-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmq+fPQACgkQQoMEoXSN
zHrBOA//XO+hVI618YVWO8L7MtoThCmwfJGxUjvoQWXiH+j93taaJwWe59ue/Sd7
C+5ZGzCU1tltVGJvwbM8HGtPVaQMOVV8hukG45JbLgb428fIyfR63xycAY3dQrSs
n0bIkMyIrMUr8Wq3EyFKGHUKRfw3nrF8UMqFogF/9ohiHvn7LRPvpSq/XdQGe5C3
sNFPV8skWAry8KrFcSsLAZN0z2tt+mqFMFhsqC+sJNhQRyJpVuMMsRblEnOqaK8U
eesepXYCQe/rWviewvzzb5rueGAcX8+EYWLrMv5brYQTyzHpkE47IA6Z/uBvztQm
GJFeVHi77Y47yeOTUr26ajKDpQRQLslGfSTF8e3rBPAq5gc0UcAIDNUtTyHUEJp2
2lP/nmGjIhCuBH7e+QTxmFvXSADpdCEWwSEirqpsBxfw+qSYUlHrP9aLRPNhDHyS
98C6haVoUbSIOGDQlTIk/ieKnMkntWrC1irSij+OunioydZLS91+ShQAEIwDsueT
zZQLjSA7MyxTF1tazKIraS4VB7CV2+NU5MBe6jEmbwevPY45ZneUUBKPAU29s4MK
o9ylXoGeoAVabagGaPTO4FM0niP3xtxsCt1Mo6jujXFEgJm5AEWrxNuTlyKaDXsU
gHYsYPLhzOFDd3Sf4YM15TrlCs04zNWIaL2/6z9FbyTflz57d94=
=akCm
-----END PGP SIGNATURE-----