🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Maximiliano Curia Tue, 20 Oct 2026 19:20
Bug#1151462: icoextract: FTBFS with dh-python 7.20261019
#1494
Author: Maximiliano Curia
Date: Tue, 20 Oct 2026 19:20
58 lines
3797 bytes
--dt1BJ9Up7oOhG4q6
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: src:icoextract
Version: 0.3.0-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: serious

Hi!

While preparing the Python 3.15 migration we realized that some Python
packages were shipping broken metadata directories, which leads to
errors when trying to import these directories with code running on
Python 3.15.

To avoid shipping any additional broken directories, dh-python
7.20261019 now throws an error at build-time.

Unfortunately, icoextract is one of the affected packages and fails to
build with the latest dh-python [1].

Most of these errors can be fixed by being more strict with the files
considered for installation. I'll try to submit a patch for this ASAP.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/511870=
1/
--=20
"EIEIO	Go home and have a glass of warm, dairy-fresh milk"
-- The GNU C Library Reference Manual, Chapter 2.2, Error Codes
Saludos /\/\ /\ >< `/

--dt1BJ9Up7oOhG4q6
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrXvIkACgkQxxl2mbKb
IyqK4A/+PJmzhKCsXSfrL+vI5Bfx5gc1/yp6DrWPtrtGlWxM8Qk4YUkyzcLgIvR+
MQW08baUqg9uqMd+9CnW5pXEXakSrvMwPyT0j9dtyfjxAh2bYlmS+Rt91r+qySkv
ZHu86iIRpqYBQ03wGLziXMvJ/7V6GQPUl3hG6l1xuLYxb5Dg9sH9er80oezaQZ60
+rZ8ftCuYJJiOdKFqpg3C2WYujECZL7DqViB06Y8n13UOLEoveQM2lcfQfpUl3iB
yWDBBvZr8dzzsdKe9xXB1Fh2vpEjaf09WIORKroR3nbq/7TmH4E2t8ZGirCIk/vs
RfwLPonYttoeY2dhfTVRRsMc0dwaX2DKvIolJ3x4KBHyFASkWrwUvQ18IBnSFbjk
0yXfmIFiJKMz4kV4xaFThhZGS7vcCFOk5Zz/CbjNwj4l2xQx51OQM9DiP5sI6RJA
l4WdxJGt0oIh8ya/E/WCBBRqsw78t9FDsgXAF9wtfSSPEwTjiFm6kccwquVvW6yK
CosUXXxAs/P+hAH7jjZanysHH3Bi6362MBGQZ89QlHfUy7t+2koQc0jMtNtBL4nd
L2djL37PY2jbPV9c9POrW70BzcViU8ssPCFgqAW+aSxWhiK+kKZNx3nfLGojiCsT
2vBIOfB2EIu56Mh1uNZQe5hoAtlWM04nigbhvFp8Uf9ddN7WiQc=
=r2jB
-----END PGP SIGNATURE-----

--dt1BJ9Up7oOhG4q6--
Bug#1151462: icoextract: FTBFS with dh-python 7.20261019
#1547
Author: James Lu
Date: Wed, 21 Oct 2026 05:40
62 lines
4103 bytes
Hi Maximiliano,

The traceback from the log shows there was a test failure because PIL 
couldn't be imported. I just ran a fresh sbuild in unstable which picked 
up the new dh-python with no issue, so I think error is part of the 
Python 3.15 transition.

Should this be reassigned to src:pillow?

======================================================================
ERROR: tests.test_thumbnailer 
(unittest.loader._FailedTest.tests.test_thumbnailer)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_thumbnailer
Traceback (most recent call last):
   File "/usr/lib/python3.15/unittest/loader.py", line 433, in 
_find_test_path
     module = self._get_module_from_name(name)
   File "/usr/lib/python3.15/unittest/loader.py", line 374, in 
_get_module_from_name
     __import__(name)
     ~~~~~~~~~~^^^^^^
   File 
"/build/reproducible-path/icoextract-0.3.0/.pybuild/cpython3_3.15_icoextract/build/tests/test_thumbnailer.py", 
line 8, in <module>
     from PIL import Image, ImageChops
   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 94, in <module>
     from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL' 
(/usr/lib/python3/dist-packages/PIL/__init__.py)

Best,
James

On 2026-10-20 12:10, Maximiliano Curia wrote:
> Package: src:icoextract
> Version: 0.3.0-2
> User: debian-python@lists.debian.org
> Usertags: python3.15
> Tags: ftbfs, forky, sid
> Severity: serious
> 
> Hi!
> 
> While preparing the Python 3.15 migration we realized that some Python
> packages were shipping broken metadata directories, which leads to
> errors when trying to import these directories with code running on
> Python 3.15.
> 
> To avoid shipping any additional broken directories, dh-python
> 7.20261019 now throws an error at build-time.
> 
> Unfortunately, icoextract is one of the affected packages and fails to
> build with the latest dh-python [1].
> 
> Most of these errors can be fixed by being more strict with the files
> considered for installation. I'll try to submit a patch for this ASAP.
> 
> Happy hacking,
> 
> [1]: https://debusine.debian.net/debian/r-python-python3.15/ 
> artifact/5118701/
Bug#1151462: icoextract: FTBFS with dh-python 7.20261019
#1771
Author: James Lu
Date: Fri, 23 Oct 2026 06:40
48 lines
4062 bytes
Hi Maximiliano,

I've uploaded a fix in 0.3.1-1. I had this sitting in git for a little 
while but hadn't made a release since I didn't observe any user-visible 
impact prior to Py3.15.

I did a quick test by pulling down the updated python3-all in 
experimental. PIL doesn't seem to be built for Py3.15 yet so I had to 
skip the tests, but otherwise the build seems happy:

sbuild --extra-repository='deb http://deb.debian.org/debian experimental 
main' --build-dep-resolver=aspcud --add-depends='python3-all (>= 
3.14.7-4)' --profile=nocheck

Best,
James

On 2026-10-21 02:58, Maximiliano Curia wrote:
> Severity: important
> 
> ¡Hola James!
> 
> El 2026-10-20 a las 22:32 -0700, James Lu escribió:
>> The traceback from the log shows there was a test failure because PIL 
>> couldn't be imported. I just ran a fresh sbuild in unstable which 
>> picked up the new dh-python with no issue, so I think error is part of 
>> the Python 3.15 transition.
> 
> Right, pil was uploaded about the same time I triggered this build in
> debusine, and the 3.15 version was built a bit later.
> 
> The relevant log is: https://debusine.debian.net/debian/r-python- 
> python3.15/artifact/5126062/
> 
> Now building against the correct pil version. The error is:
> W: dh_python3 fs:153: No merge driver for dist-info file top_level.txt
> E: dh_python3 fs:172: Not everything in 'debian/python3-icoextract/usr/ 
> lib/python3.15/dist-packages/icoextract-0.3.0.dist-info' was able to be 
> merged into 'debian/python3-icoextract/usr/lib/python3/dist-packages/ 
> icoextract-0.3.0.dist-info'.
> I: dh_python3 fs:179: Remaining files: debian/python3-icoextract/usr/ 
> lib/python3.15/dist-packages/icoextract-0.3.0.dist-info/top_level.txt
> 
> You are right that this isn't a serious bug just yet, was it only
> occurs when there are at least two python3 supported versions. I'm
> changing the severity.
> 
> Happy hacking,
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads