[From nobody Fri Oct 23 21:25:05 2026
Received: (at submit) by bugs.debian.org; 29 Sep 2026 17:47:27 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 150; neutral, 89; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;marga@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:51346)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xBbvL-00C1RJ-1Q
 for submit@bugs.debian.org; Tue, 29 Sep 2026 17:47:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :Message-ID:Subject:To:From:Date:MIME-Version:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=ZYlS3j/OAYJJdy8fZCQMJH4JYosqCBDbb7nOvMiCnjQ=; b=kvLpgLWaSwZcnI6QIp68NnJF38
 K/93E53Q4v9zSGrtlgEj91XXGrVbefh0YzTNSAGURHm9rV7sPbunCFTNa7bVA0Lbp0eZvtk4sPQPm
 27Vw1hdfnRomxEX+qGDVSPpIW1OZc7UiWZ+pJ/hN0puYMvVeqi6Z5Kvw3vaMVWeeSJBYj1QLS39qH
 6FTLFEvJEjLubnsQbZlDuEKsuQQTy0PodVKJUrGM3pCDWdUMTDHyY9xojxUIrvj6eulIBQiRu+G9n
 hSgzPRJB9pLHzHOd6NKiM9rGR7eQW9u1ttzywDR+kusLwZ13cal426DrT0XhybQuQJM9zib/OWYLr
 i+Xd2jWQ==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xBbvJ-008a2C-0E
 for submit@bugs.debian.org; Tue, 29 Sep 2026 17:47:26 +0000
Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral
Received: from nefele.gnuservers.com.ar (localhost [127.0.0.1])
 by nefele.gnuservers.com.ar (Postfix) with ESMTPSA id 169EB1B35524
 for &lt;submit@bugs.debian.org&gt;; Tue, 29 Sep 2026 17:47:23 +0000 (UTC)
MIME-Version: 1.0
Date: Tue, 29 Sep 2026 19:47:22 +0200
From: Margarita Manterola &lt;marga@debian.org&gt;
To: submit@bugs.debian.org
Subject: heudiconv: FTBFS against python 3.15rc2 (pydicom imports deprecated
 collections.abc.ByteString)
Message-ID: &lt;0da09335b855ad529c7dab5214774d28@debian.org&gt;
X-Sender: marga@debian.org
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: marga
Delivered-To: submit@bugs.debian.org

Package: src:heudiconv
Version: 1.4.0-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 
version we found that heudiconv fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856233/

The log includes errors like this one, over and over:
__ ERROR collecting 
.pybuild/cpython3_3.15_heudiconv/build/heudiconv/bids.py ___
heudiconv/bids.py:21: in &lt;module&gt;
     import pydicom as dcm
/usr/lib/python3/dist-packages/pydicom/__init__.py:31: in &lt;module&gt;
     from pydicom.dataelem import DataElement
/usr/lib/python3/dist-packages/pydicom/dataelem.py:17: in &lt;module&gt;
     from pydicom import config  # don't import datetime_conversion 
directly
     ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pydicom/config.py:407: in &lt;module&gt;
     import pydicom.pixel_data_handlers.numpy_handler as np_handler  # 
noqa
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pydicom/pixel_data_handlers/__init__.py:6: 
in &lt;module&gt;
     from pydicom.pixels.processing import (
/usr/lib/python3/dist-packages/pydicom/pixels/__init__.py:3: in &lt;module&gt;
     from pydicom.pixels.decoders.base import get_decoder
/usr/lib/python3/dist-packages/pydicom/pixels/decoders/__init__.py:3: in 
&lt;module&gt;
     from pydicom.pixels.decoders.base import (
/usr/lib/python3/dist-packages/pydicom/pixels/decoders/base.py:21: in 
&lt;module&gt;
     from pydicom.pixels.common import (
/usr/lib/python3/dist-packages/pydicom/pixels/common.py:9: in &lt;module&gt;
     from pydicom.pixels.utils import as_pixel_options
/usr/lib/python3/dist-packages/pydicom/pixels/utils.py:4: in &lt;module&gt;
     from collections.abc import Iterable, Iterator, ByteString
&lt;frozen _collections_abc&gt;:1180: in __getattr__
     ???
/usr/lib/python3.15/_py_warnings.py:892: in _deprecated
     _wm.warn(msg, DeprecationWarning, stacklevel=3)
E   DeprecationWarning: 'collections.abc.ByteString' is deprecated and 
slated for removal in Python 3.17

This is caused by pydicom trying to import the deprecated module, and 
heudicom setting to fail on  warnings.

Setting the severity to important for now. Once Python 3.15 is released 
and later added to python3-defaults, this bug will become release 
critical.

-- 
Regards,
Marga
]