Article View: linux.debian.bugs.dist
Article #1547Bug#1151462: icoextract: FTBFS with dh-python 7.20261019
From: James Lu
Date: Wed, 21 Oct 2026 05:40
Date: Wed, 21 Oct 2026 05:40
62 lines
4103 bytes
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/
Technical Details
Message-ID:
<NQxdn-6V2M-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NQnxn-6PhE-3@gated-at.bofh.it> <NQnxn-6PhE-3@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!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: James Lu <jlu@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151462: icoextract: FTBFS with dh-python 7.20261019 Date: Wed, 21 Oct 2026 07:40:01 +0200 Message-ID: <NQxdn-6V2M-1@gated-at.bofh.it> References: <NQnxn-6PhE-3@gated-at.bofh.it> <NQnxn-6PhE-3@gated-at.bofh.it> X-Original-To: Maximiliano Curia <maxy@debian.org>, 1151462@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 21 05:35:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: James Lu <jlu@debian.org>, 1151462@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: jlu@debian.org X-Debian-Pr-Message: followup 1151462 X-Debian-Pr-Package: src:icoextract X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: icoextract MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-User: jlu X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997849 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 62 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 20 Oct 2026 22:32:27 -0700 X-Original-Message-ID: <88e11614-25b7-41cd-bcbd-6b44072d9fd5@debian.org> X-Original-References: <ate8ifHBbmSn-1Lg@hecuba.gnuservers.com.ar> <ate8ifHBbmSn-1Lg@hecuba.gnuservers.com.ar>