Your message dated Thu, 01 Oct 2026 15:49:49 +0000
with message-id <[email protected]>
and subject line Bug#1148856: fixed in python-whey 0.1.1-7
has caused the Debian Bug report #1148856,
regarding python-whey: FTBFS with python-editables 0.6: tests expect old .pth
name
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1148856: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148856
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-whey
Version: 0.1.1-6
Severity: important
Tags: patch ftbfs
X-Debbugs-Cc: Bo YU <[email protected]>, Josenilson Ferreira da Silva
<[email protected]>
Control: affects -1 src:python-editables
Control: tags -1 + fixed-upstream
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.
-- System Information:
Debian Release: 13.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.1.8+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Description: Update tests for editables 0.6 .pth file name
editables 0.6 renamed the generated .pth file from <project>.pth to
_editable_impl_<project>.pth. Update the expected file names in the
tests and regression fixtures, keeping the order of wheel contents.
Equivalent to the test changes in upstream commit c29cf907d3.
Author: Mahangu Weerasinghe <[email protected]>
Origin: backport,
https://github.com/repo-helper/whey/commit/c29cf907d3ee95080c8f4a60c81a8a584aa0a51b
Forwarded: not-needed
Last-Update: 2026-09-24
Index: whey-deb/tests/test_build.py
===================================================================
--- whey-deb.orig/tests/test_build.py
+++ whey-deb/tests/test_build.py
@@ -298,7 +298,7 @@ def test_build_editable(
with handy_archives.ZipFile(tmp_pathplus / wheel) as zip_file:
data["wheel_content"] = zip_file.namelist()
- data["pth"] = zip_file.read_text("whey.pth")
+ data["pth"] = zip_file.read_text("_editable_impl_whey.pth")
if sys.version_info >= (3, 7):
data["code"] =
zip_file.read_text("_editable_impl_whey.py").replace(tmp_pathplus.as_posix(),
"...")
@@ -404,7 +404,7 @@ def test_build_editable_namespace(
with handy_archives.ZipFile(tmp_pathplus / wheel) as zip_file:
data["wheel_content"] = zip_file.namelist()
- assert zip_file.read_text("default_values.pth") ==
str(tmp_pathplus) + '\n'
+ assert zip_file.read_text("_editable_impl_default_values.pth")
== str(tmp_pathplus) + '\n'
advanced_file_regression.check(zip_file.read_text("default_values-0.5.0.dist-info/METADATA"))
Index: whey-deb/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.yml
===================================================================
--- whey-deb.orig/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.yml
+++ whey-deb/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.yml
@@ -13,7 +13,7 @@ stdout: 'Writing whey-2021.0.0.dist-info
Writing whey-2021.0.0.dist-info/entry_points.txt
- Writing whey.pth
+ Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
@@ -31,6 +31,6 @@ wheel_content:
- whey-2021.0.0.dist-info/METADATA
- whey-2021.0.0.dist-info/WHEEL
- whey-2021.0.0.dist-info/entry_points.txt
+- _editable_impl_whey.pth
- _editable_impl_whey.py
-- whey.pth
- whey-2021.0.0.dist-info/RECORD
Index: whey-deb/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.yml
===================================================================
--- whey-deb.orig/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.yml
+++ whey-deb/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.yml
@@ -13,7 +13,7 @@ stdout: 'Writing whey-2021.0.0.dist-info
Writing whey-2021.0.0.dist-info/entry_points.txt
- Writing whey.pth
+ Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
@@ -31,6 +31,6 @@ wheel_content:
- whey-2021.0.0.dist-info/METADATA
- whey-2021.0.0.dist-info/WHEEL
- whey-2021.0.0.dist-info/entry_points.txt
+- _editable_impl_whey.pth
- _editable_impl_whey.py
-- whey.pth
- whey-2021.0.0.dist-info/RECORD
Index: whey-deb/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.yml
===================================================================
---
whey-deb.orig/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.yml
+++ whey-deb/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.yml
@@ -13,7 +13,7 @@ stdout: 'Writing whey-2021.0.0.dist-info
Writing whey-2021.0.0.dist-info/entry_points.txt
- Writing whey.pth
+ Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
@@ -31,6 +31,6 @@ wheel_content:
- whey-2021.0.0.dist-info/METADATA
- whey-2021.0.0.dist-info/WHEEL
- whey-2021.0.0.dist-info/entry_points.txt
+- _editable_impl_whey.pth
- _editable_impl_whey.py
-- whey.pth
- whey-2021.0.0.dist-info/RECORD
Index: whey-deb/tests/test_build_/test_build_editable_namespace.yml
===================================================================
--- whey-deb.orig/tests/test_build_/test_build_editable_namespace.yml
+++ whey-deb/tests/test_build_/test_build_editable_namespace.yml
@@ -3,7 +3,7 @@ stdout: 'Writing default_values-0.5.0.di
Writing default_values-0.5.0.dist-info/entry_points.txt
- Writing default_values.pth
+ Writing _editable_impl_default_values.pth
Writing default_values-0.5.0.dist-info/METADATA
@@ -19,5 +19,5 @@ wheel_content:
- default_values-0.5.0.dist-info/METADATA
- default_values-0.5.0.dist-info/WHEEL
- default_values-0.5.0.dist-info/entry_points.txt
-- default_values.pth
+- _editable_impl_default_values.pth
- default_values-0.5.0.dist-info/RECORD
Index: whey-deb/tests/test_builder_methods.py
===================================================================
--- whey-deb.orig/tests/test_builder_methods.py
+++ whey-deb/tests/test_builder_methods.py
@@ -56,7 +56,7 @@ def test_create_editables_files(
data["stderr"] = outerr.err
data["listdir"] = [p.relative_to(tmpdir).as_posix() for p in
sort_paths(*tmpdir.iterdir())]
- data["pth"] = (tmpdir / "whey.pth").read_text()
+ data["pth"] = (tmpdir / "_editable_impl_whey.pth").read_text()
if sys.version_info >= (3, 7):
data["code"] = (tmpdir /
"_editable_impl_whey.py").read_text().replace(tmp_pathplus.as_posix(), "...")
Index: whey-deb/tests/test_builder_methods_/test_create_editables_files_0_3_.yml
===================================================================
---
whey-deb.orig/tests/test_builder_methods_/test_create_editables_files_0_3_.yml
+++ whey-deb/tests/test_builder_methods_/test_create_editables_files_0_3_.yml
@@ -6,13 +6,13 @@ code: 'from editables.redirector import
'
listdir:
+- _editable_impl_whey.pth
- _editable_impl_whey.py
-- whey.pth
pth: 'import _editable_impl_whey
'
stderr: ''
-stdout: 'Writing whey.pth
+stdout: 'Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
Index: whey-deb/tests/test_pep517_backend.py
===================================================================
--- whey-deb.orig/tests/test_pep517_backend.py
+++ whey-deb/tests/test_pep517_backend.py
@@ -312,7 +312,7 @@ def test_build_editable(
with handy_archives.ZipFile(tmp_pathplus / wheel) as zip_file:
data["wheel_content"] = sorted(zip_file.namelist())
- data["pth"] = zip_file.read_text("whey.pth")
+ data["pth"] = zip_file.read_text("_editable_impl_whey.pth")
if sys.version_info >= (3, 7):
data["code"] =
zip_file.read_text("_editable_impl_whey.py").replace(tmp_pathplus.as_posix(),
"...")
Index:
whey-deb/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_A_.yml
===================================================================
---
whey-deb.orig/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_A_.yml
+++ whey-deb/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_A_.yml
@@ -13,7 +13,7 @@ stdout: 'Writing whey-2021.0.0.dist-info
Writing whey-2021.0.0.dist-info/entry_points.txt
- Writing whey.pth
+ Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
@@ -27,10 +27,10 @@ stdout: 'Writing whey-2021.0.0.dist-info
'
wheel_content:
+- _editable_impl_whey.pth
- _editable_impl_whey.py
- whey-2021.0.0.dist-info/LICENSE
- whey-2021.0.0.dist-info/METADATA
- whey-2021.0.0.dist-info/RECORD
- whey-2021.0.0.dist-info/WHEEL
- whey-2021.0.0.dist-info/entry_points.txt
-- whey.pth
Index:
whey-deb/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_B_.yml
===================================================================
---
whey-deb.orig/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_B_.yml
+++ whey-deb/tests/test_pep517_backend_/test_build_editable_0_3_COMPLETE_B_.yml
@@ -13,7 +13,7 @@ stdout: 'Writing whey-2021.0.0.dist-info
Writing whey-2021.0.0.dist-info/entry_points.txt
- Writing whey.pth
+ Writing _editable_impl_whey.pth
Writing _editable_impl_whey.py
@@ -27,10 +27,10 @@ stdout: 'Writing whey-2021.0.0.dist-info
'
wheel_content:
+- _editable_impl_whey.pth
- _editable_impl_whey.py
- whey-2021.0.0.dist-info/LICENSE
- whey-2021.0.0.dist-info/METADATA
- whey-2021.0.0.dist-info/RECORD
- whey-2021.0.0.dist-info/WHEEL
- whey-2021.0.0.dist-info/entry_points.txt
-- whey.pth
--- End Message ---
--- Begin Message ---
Source: python-whey
Source-Version: 0.1.1-7
Done: Mahangu Weerasinghe <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mahangu Weerasinghe <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
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 <[email protected]>
Changed-By: Mahangu Weerasinghe <[email protected]>
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-----
pgp8FTQtxz1v5.pgp
Description: PGP signature
--- End Message ---