Article View: linux.debian.bugs.rc
Article #454Bug#1150524: marked as done (black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined)
From: Debian Bug Tracking System
Date: Tue, 13 Oct 2026 08:00
Date: Tue, 13 Oct 2026 08:00
314 lines
15940 bytes
15940 bytes
This is a multi-part message in MIME format...
------------=_1791877982-350810-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Tue, 13 Oct 2026 07:50:19 +0000
with message-id <E1xGXH9-0000000F7hr-0byu@fasolo.debian.org>
and subject line Bug#1150524: fixed in mypy 2.4.0-2
has caused the Debian Bug report #1150524,
regarding black: FTBFS: E AttributeError: attribute 'append_comments' of =
'delimiter_split_env' undefined
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 owner@bugs.debian.org
immediately.)
--=20
1150524: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150524
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1791877982-350810-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 10 Oct 2026 10:55:23 +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=-121.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 150; neutral, 96; spammy,
0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
0.000-+--H*F:U*sanvila
Return-path: <sanvila@debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:47732)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xFUjb-006APZ-22
for submit@bugs.debian.org;
Sat, 10 Oct 2026 10:55:23 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xFUja-001ZGZ-1Q
for submit@bugs.debian.org;
Sat, 10 Oct 2026 10:55:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=wpLQl0F8WI3m9GAk7BLjCf6eiQ2LKE4pTh1YBAMtZ9Y=; b=rpGgNxOPZ1Vn0I4zGoneDPYxAV
Xfpl9VTu87bjwLQPIKlI3RUKG5IkLFpX3p2327Hzo+mjHm3gDj+hj34geTuW6nYxuHRIExpMr6tOd
8wHTnOOdb9/CbKUM/gmvHyHHeGz6wazegZNCk1XQK/vxkpGkLk42pXx25/IWBGjcJ5PW/J65nirrf
g/35pa3RE7taE6EL0D9q21laU+A0+ZF/JJ2Bl7FdPApspJQpPzz3iE7GoRnKpKVOLNg6O67q+w0hP
3O9TqxNUxQpgxH7BuN1B2yHRU7501iucIslZCifVz0sSXHOJqkqP6BG4Gzwr9UY8+R5ddJKuW3r6X
UEycYT+g==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xFUjZ-001Yxd-1U
for submit@bugs.debian.org;
Sat, 10 Oct 2026 10:55:21 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xFUjZ-001Yxd-1U@paradis.debian.org>
Date: Sat, 10 Oct 2026 10:55:21 +0000
Delivered-To: submit@bugs.debian.org
Package: src:black
Version: 26.10.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:black, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
src/black/linegen.py:1670: in delimiter_split
yield from append_comments(leaf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> def append_comments(leaf: Leaf) -> Iterator[Line]:
E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined
src/black/linegen.py:1655: AttributeError
=========================== short test summary info ============================
FAILED tests/test_black.py::BlackTestCase::test_check_diff_use_together - Ass...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff - AssertionEr...
FAILED tests/test_black.py::BlackTestCase::test_expression_diff_with_color - ...
FAILED tests/test_black.py::BlackTestCase::test_expression_ff - AttributeErro...
FAILED tests/test_black.py::BlackTestCase::test_multi_file_force_py36 - Asser...
FAILED tests/test_black.py::BlackTestCase::test_pipe_force_py36 - AssertionEr...
FAILED tests/test_black.py::BlackTestCase::test_piping - AssertionError: 123 ...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff - AssertionError:...
FAILED tests/test_black.py::BlackTestCase::test_piping_diff_with_color - Asse...
FAILED tests/test_black.py::BlackTestCase::test_python315 - AttributeError: a...
FAILED tests/test_black.py::BlackTestCase::test_python37 - AttributeError: at...
FAILED tests/test_black.py::BlackTestCase::test_root_logger_not_used_directly
FAILED tests/test_black.py::BlackTestCase::test_single_file_force_py36 - Asse...
FAILED tests/test_black.py::BlackTestCase::test_skip_magic_trailing_comma - A...
FAILED tests/test_format.py::test_line_ranges_line_by_line[basic] - Attribute...
FAILED tests/test_format.py::test_line_ranges_line_by_line[pattern_matching]
========== 16 failed, 197 passed, 37 skipped, 270 deselected in 2.68s ==========
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest --run-optional no_jupyter,no_blackd -k "not (incompatible_with_mypyc or test_simple_format)"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=1 returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
------------=_1791877982-350810-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1150524-close) by bugs.debian.org; 13 Oct 2026 07:50:22 +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=-112.6 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
MD5_SHA1_SUM,PDS_BTC_ID,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,
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, 78; hammy, 150; neutral, 131; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:37696)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xGXHC-001Sxt-0w
for 1150524-close@bugs.debian.org;
Tue, 13 Oct 2026 07:50:22 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xGXHA-004HE1-2i
for 1150524-close@bugs.debian.org;
Tue, 13 Oct 2026 07:50:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=VDjgzU+CC9qpeXuoIQMU5iWZqtetS1USz/HOifSvzBI=; b=kQCg/BDnC7Y6abQ2IaxGF9wcml
/JQrXDwErP8Rq/dhigkrWo9X+aNks71BVcqar5ddXIoeAqZJhwK/JXcLRAWlbZ5K4TTM4qE/tuJa0
fBqzDQDBO/O6k1JbPXJrw45rk7dbzubbtbaCR11djPube2XdrgE6Y6jfSpnVgyVSyt+tcVpj9e1gZ
uX05ghXTQ64uSdhFaJ3FghZI033FoZ6nwfw6LTWR32iPMNdCSTrFOJucumgnSFyDov5Ii3t9fBxjU
D0iu5nVP3z1tDKBwgDj0yiZfUkp3ijgI4xR2COvvSnxjr8DZYb05uAwQXLUagxh0FIPzAgZb5YDYy
I5wIrzMw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xGXH9-0000000F7hr-0byu;
Tue, 13 Oct 2026 07:50:19 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: crusoe@debian.org (Michael R. Crusoe)
To: 1150524-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: mypy
Debian: DAK
Debian-Changes: mypy_2.4.0-2_source.changes
Debian-Source: mypy
Debian-Version: 2.4.0-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1150524: fixed in mypy 2.4.0-2
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============7735376947543457248=="
Message-Id: <E1xGXH9-0000000F7hr-0byu@fasolo.debian.org>
Date: Tue, 13 Oct 2026 07:50:19 +0000
--===============7735376947543457248==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: mypy
Source-Version: 2.4.0-2
Done: Michael R. Crusoe <crusoe@debian.org>
We believe that the bug you reported is fixed in the latest version of
mypy, 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 1150524@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael R. Crusoe <crusoe@debian.org> (supplier of updated mypy 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 13 Oct 2026 08:47:55 +0200
Source: mypy
Architecture: source
Version: 2.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Michael R. Crusoe <crusoe@debian.org>
Closes: 1150524
Changes:
mypy (2.4.0-2) unstable; urgency=3Dmedium
.
* Cherry-pick patch from upstream to fix FTBFS of black using mypy
2.4.0. Closes: #1150524
* d/rules: re-enable 2 more tests
Checksums-Sha1:
c1263ed7369ea3164b0cc61416a0c57072991df5 2999 mypy_2.4.0-2.dsc
472635e33caa3b89a23a7325c0cd5f34803a640f 23884 mypy_2.4.0-2.debian.tar.xz
6c61aded354a81b8610a48076d4c66cc31e6b199 12852 mypy_2.4.0-2_source.buildinfo
Checksums-Sha256:
ec9bd66c2f8764a5269c6afc2a3ce1717a6b36ee83f4edd1e8f22535f2894eae 2999 mypy_2=
.4.0-2.dsc
37e7ddeced2c4ca7701d42b512d35369c96a619be9a4a8165a8e3a24418f232c 23884 mypy_=
2.4.0-2.debian.tar.xz
52914ebc0b6751e56154fe124774fdf37894bc5ef5f725e34a6c0998c0a0dbb9 12852 mypy_=
2.4.0-2_source.buildinfo
Files:
30b18d5e8f13c8fe641681eb70f79bfe 2999 utils optional mypy_2.4.0-2.dsc
f8f0fb7ee9b53167a60bf0b180c324c6 23884 utils optional mypy_2.4.0-2.debian.ta=
r.xz
1f9cb31799b564bb922cb95ee7fa5d9d 12852 utils optional mypy_2.4.0-2_source.bu=
ildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmrN3yQSHGNydXNvZUBk
ZWJpYW4ub3JnAAoJEDwmdj9sZ+biM9oP/10TmnP0UPq6fOofz++ECaYrhtZXXwdn
CxVFwcQPUETrkciD4IAW06oNd/Xz1u3QLO/2yj4jupvuCO0LEgoSK5bYkWB80c96
tNaNeBZAfRZmkfHWjPT7ohOflXnK6aBnPrH7CCrPXPreC+AoHFhwFjVkMDSmMjyZ
sJKstfDOY1zAc2wyrH8M7M0etrDjiiqNq5vD3jDvi8o+/EkOBhkwDulpCop9pT8j
OP+uu5hliNHe61nmhwIJwL7iZnks4wJs7YFvWkMyra+5X1tAmHYFsLmtK10QbP3p
1dCSvN3JaUKK4iJxnAC0zCju0HStyesHx5Mf7YsudJKMDdd4aHZFw/obuD+vZbpr
/4J5BZO47W1o9OXBlKO2DDXino/NO8c+BZf3WlBdpD+cknOZQYVAyfkmVcwYvuhS
1T864LtJHZDixJzpHA7AnPaYdLzby5etSstXM63kZhfw696vpYyCBm0p6cvDU6Hi
J6zCfoYw4qZQFtE9lltQnyM8N5NMZgh2cHVt22fwPGRCD3MN0cnGYz9eghLY6U8Q
M4PUW2KkN4E3hhSwRne2Lg/Z3t6FfDmlN2v/lT7ha3F0x1M+qyQRc7G8yW2pnS4n
kk8NrLLozuxUUUlwH4QyJEKfCddSpREFMHqicRyZNKbpk6s5lIizILu1a9wSzrmX
pM+TNyD96Tgt
=3DnDA8
-----END PGP SIGNATURE-----
--===============7735376947543457248==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCas3iuwAKCRCb9qggYcy5
ISI9AP4kzFlV03Pjr4vKM5ouykmhTtPWNR6P2yCj57CrE7t9qwEAn1ERRQhaxkbE
CRF4ubf9GGLvpYa2fj4094c9DX0MXAc=
=mGz8
-----END PGP SIGNATURE-----
--===============7735376947543457248==--
------------=_1791877982-350810-0--
Technical Details
Message-ID:
<NNFAu-5ebb-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NNFAu-5ebb-9@gated-at.bofh.it> <NMCY1-4G07-15@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!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1150524: marked as done (black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined) Date: Tue, 13 Oct 2026 10:00:02 +0200 Message-ID: <NNFAu-5ebb-7@gated-at.bofh.it> References: <NNFAu-5ebb-9@gated-at.bofh.it> <NMCY1-4G07-15@gated-at.bofh.it> X-Original-To: crusoe@debian.org (Michael R. Crusoe) X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Tue Oct 13 07:53:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.501 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1150524 X-Debian-Pr-Package: src:black X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: mypy Reply-To: 1150524@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1791877982-350810-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834350 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 314 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 13 Oct 2026 07:53:02 +0000 X-Original-Message-ID: <handler.1150524.D1150524.1791877822349690.ackdone@bugs.debian.org> X-Original-References: <E1xGXH9-0000000F7hr-0byu@fasolo.debian.org> <E1xFUjZ-001Yxd-1U@paradis.debian.org>