🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
3 messages
3 total messages Started by Santiago Vila Sat, 10 Oct 2026 11:00
Bug#1150524: black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined
#323
Author: Santiago Vila
Date: Sat, 10 Oct 2026 11:00
61 lines
4835 bytes
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
--------------------------------------------------------------------------------
Bug#1150524: marked as done (black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined)
#386
Author: 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--
Bug#1150524: marked as done (black: FTBFS: E AttributeError: attribute 'append_comments' of 'delimiter_split_env' undefined)
#454
Author: Debian Bug Tracking System
Date: Tue, 13 Oct 2026 08:00
314 lines
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--
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