🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #386

Bug#1150524: marked as done (black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined)

#386
From: Debian Bug Tracking System
Date: Sun, 11 Oct 2026 15:10
314 lines
15921 bytes
This is a multi-part message in MIME format...

------------=_1791731113-2719185-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sun, 11 Oct 2026 14:42:23 +0000
with message-id <E1xFukp-00000007vFK-3QVj@fasolo.debian.org>
and subject line Bug#1150524: fixed in black 26.10.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

------------=_1791731113-2719185-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
--------------------------------------------------------------------------------

------------=_1791731113-2719185-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150524-close) by bugs.debian.org; 11 Oct 2026 15:02:06 +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=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
	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, 96; hammy, 150; neutral, 99; 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 muffat.debian.org ([2607:f8f0:614:1::1274:33]:54430)
	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 1xFuks-00BKog-02
	for 1150524-close@bugs.debian.org;
	Sun, 11 Oct 2026 14:42:25 +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 muffat.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 1xFukq-002iCP-21
	for 1150524-close@bugs.debian.org;
	Sun, 11 Oct 2026 14:42:24 +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=H06uvsNHZr3kU/4dDLTu3xXB9THm9403McX3/FvBgRw=; b=n0YkUE0cMHTviCFthViKqz8rB+
	UiGXdL9k82FDAo67O4V2Hn/aJHz7/kQC/d4xQeld+O+uq6gAHJEctLNAeOgd8wgR/5VQqlUCg678r
	SLxsQlQ9B2iwpl3jP17k1ARXMl6FINg33fZRdkPGsALMRO3HLynCRWNhXPb1+ULGsvIdxTtFiNwQS
	gt4VaUS/xV0kddD7Q1asjzMeFEAL0gyMkNsaAe2Kx6OT+eP/NTvmq5c78wKkDA9lhckpH4KcvHtMn
	gm7fR/v96igcPhR+uxPqB7gGk4Wmbjth4o7s2HPqEFFhfyBh65civBAy4R5zp7XZlnOhk0Ayjxsy5
	gmzy07UA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xFukp-00000007vFK-3QVj;
	Sun, 11 Oct 2026 14:42:23 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Maximiliano Curia <maxy@debian.org>
To: 1150524-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: black
Debian: DAK
Debian-Changes: black_26.10.0-2_source.changes
Debian-Source: black
Debian-Version: 26.10.0-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1150524: fixed in black 26.10.0-2
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============2910489783585770392=="
Message-Id: <E1xFukp-00000007vFK-3QVj@fasolo.debian.org>
Date: Sun, 11 Oct 2026 14:42:23 +0000

--===============2910489783585770392==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: black
Source-Version: 26.10.0-2
Done: Maximiliano Curia <maxy@debian.org>

We believe that the bug you reported is fixed in the latest version of
black, 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.
Maximiliano Curia <maxy@debian.org> (supplier of updated black 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: Sun, 11 Oct 2026 16:09:50 +0200
Source: black
Architecture: source
Version: 26.10.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1150524
Changes:
 black (26.10.0-2) unstable; urgency=3Dmedium
 .
   * Team upload.
   * d/patches: Move append_comments to module-level helper in delimiter_split
     (Closes: #1150524)
Checksums-Sha1:
 be97679a753d5f8865ead107c28b6e1e6eaed391 2702 black_26.10.0-2.dsc
 1baa9424042192ec08eb70608f4a6003b8abd142 13260 black_26.10.0-2.debian.tar.xz
 56ffcf5421bc773160cf69d98c2970a6ed22b620 10400 black_26.10.0-2_source.buildi=
nfo
Checksums-Sha256:
 a58678714e85fc5b3f4521889ed30a0bdbf4103da281b2167d0cdb0708e3dae5 2702 black_=
26.10.0-2.dsc
 65b8f45a3a2f13a5f18808a0396d26fdf30f82caff7109e18fe2585a0aeeda7c 13260 black=
_26.10.0-2.debian.tar.xz
 1b5135daa9646f7ffdec77aabd7c1c21719fe5a56e2574d8cd18db5e5eb260e7 10400 black=
_26.10.0-2_source.buildinfo
Files:
 d973f624770d7f06b7d42aabc9552ae6 2702 python optional black_26.10.0-2.dsc
 40cf7a35b0e0a8a1a73112cdbd67d3b3 13260 python optional black_26.10.0-2.debia=
n.tar.xz
 9e7498a20b4fcc0afe35b3f4591a8abb 10400 python optional black_26.10.0-2_sourc=
e.buildinfo

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

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrLmOYACgkQxxl2mbKb
IyqfIQ//Re2f+RcCCotZVFz+NcWwcetlGvYba59u8tD7sC1pTFQHkpDSfKPbl9vV
+TMXFIdxxcGXnd6qeYxdlpjWzGHUNFa+FRSv3pWN5DkqWZYc310s8DIgBnUJjobk
XZutvqRNuKy4dXh8pj3QUloq6tIn1MTtNLnXlfBYeB6xMgEJilJokxFvRN1o0Y1o
JusTbjtHt7A7Zw9MoXr7/ycIzR4kmgYgStwd1WEkbogdrMEGzCvNTybWfBBwNNTH
ZD3y/47EkeD0EpE11clgcf4s7efYDPJc/VTEOBb3FC77pIA3kfbHDYHQkIuoSmbO
AonPwQERNp7A6Xi8TBnqVGvcauL3oEjvXWCp68VDn7VATM0nasAFIK1H2aLJEDnt
Ke4p9V8leOAgw2Sle+loNAQHs6yHGpideR9M/wjRh0zyBIAyA00QaPbGOo0REQCm
INIX/Wpa4aoIKyv2QNTyr+zsDrXQlMJWmTol+o0E723Q2dXn9Kc37kWnX2fCwRPV
qZnm8Fgyd3uosc/tUisUhi5JGRnNqFGl6762ac3IIuwokQd0CajN5NDfqMEAWH3U
gmpZWfrabS1piq+w8/rIfWuiPi58GBVk97yp83lAcO3npoBSZPMIAfvwC6UShL8a
ElM3zg9SP/nXiydPo+f7Rm54gWmmOJYlJ2gk+Y9Uio/hTg8HM+o=3D
=3DxYM3
-----END PGP SIGNATURE-----


--===============2910489783585770392==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCasugTwAKCRCb9qggYcy5
IfffAQCzmONriqs3HifpzHclHV+nsn3TkxvuGwqzWmCQS6qAQQD+MOR8lm4r1V8i
0GT7nc7PTpZc3lu3L6GlyQXgq1yJnQQ=
=5osQ
-----END PGP SIGNATURE-----

--===============2910489783585770392==--
------------=_1791731113-2719185-0--
Technical Details
Message-ID: <NN3lw-4U5e-41@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NN3lw-4U5e-43@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.szaf.org!news.samoylyk.net!gothmog.csi.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: Sun, 11 Oct 2026 17:10:02 +0200
Message-ID: <NN3lw-4U5e-41@gated-at.bofh.it>
References: <NN3lw-4U5e-43@gated-at.bofh.it> <NMCY1-4G07-15@gated-at.bofh.it>
X-Original-To: Maximiliano Curia <maxy@debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sun Oct 11 15:05:28 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
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: black
Reply-To: 1150524@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1791731113-2719185-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834244
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: Sun, 11 Oct 2026 15:05:13 +0000
X-Original-Message-ID: <handler.1150524.D1150524.17917309262715781.ackdone@bugs.debian.org>
X-Original-References: <E1xFukp-00000007vFK-3QVj@fasolo.debian.org>
 <E1xFUjZ-001Yxd-1U@paradis.debian.org>