Your message dated Mon, 30 Dec 2024 01:19:25 +0000
with message-id <[email protected]>
and subject line Bug#1091135: fixed in black 24.10.0-2
has caused the Debian Bug report #1091135,
regarding black: FTBFS: src/blib2to3/pgen2/pgen.py:359: error: Argument 2 to
"SyntaxError" has incompatible type "tuple[str | PathLike[str], int, int,
str]"; expected "tuple[str | None, int | None, int | None, str | None]"
[arg-type]
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 [email protected]
immediately.)
--
1091135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091135
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: black
Version: 24.10.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20241222 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild --with bash-completion
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
> --verbose
> * Building wheel...
> Building `wheel` version `standard`
> Traceback (most recent call last):
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 389, in <module>
> main()
> ~~~~^^
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 373, in main
> json_out["return_val"] = hook(**hook_input["kwargs"])
> ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 280, in build_wheel
> return _build_backend().build_wheel(
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
> wheel_directory, config_settings, metadata_directory
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> )
> ^
> File "/usr/lib/python3/dist-packages/hatchling/build.py", line 58, in
> build_wheel
> return os.path.basename(next(builder.build(directory=wheel_directory,
> versions=['standard'])))
>
> ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py", line
> 147, in build
> build_hook.initialize(version, build_data)
> ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/hatch_mypyc/plugin.py", line 338, in
> initialize
> raise Exception(f'Error while invoking
> Mypyc:\n{process.stdout.decode("utf-8")}')
> Exception: Error while invoking Mypyc:
> src/blib2to3/pgen2/pgen.py:359: error: Argument 2 to "SyntaxError" has
> incompatible type "tuple[str | PathLike[str], int, int, str]"; expected
> "tuple[str | None, int | None, int | None, str | None]" [arg-type]
>
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1:
> python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13 --verbose
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
> --verbose
> * Building wheel...
> Building `wheel` version `standard`
> Traceback (most recent call last):
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 389, in <module>
> main()
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 373, in main
> json_out["return_val"] = hook(**hook_input["kwargs"])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
> line 280, in build_wheel
> return _build_backend().build_wheel(
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/hatchling/build.py", line 58, in
> build_wheel
> return os.path.basename(next(builder.build(directory=wheel_directory,
> versions=['standard'])))
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py", line
> 147, in build
> build_hook.initialize(version, build_data)
> File "/usr/lib/python3/dist-packages/hatch_mypyc/plugin.py", line 338, in
> initialize
> raise Exception(f'Error while invoking
> Mypyc:\n{process.stdout.decode("utf-8")}')
> Exception: Error while invoking Mypyc:
> src/blib2to3/pgen2/pgen.py:359: error: Argument 2 to "SyntaxError" has
> incompatible type "tuple[str | PathLike[str], int, int, str]"; expected
> "tuple[str | None, int | None, int | None, str | None]" [arg-type]
>
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1:
> python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 --verbose
> dh_auto_build: error: pybuild --build -i python{version} -p "3.13 3.12"
> returned exit code 13
> make: *** [debian/rules:11: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/12/22/black_24.10.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: black
Source-Version: 24.10.0-2
Done: Colin Watson <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 30 Dec 2024 00:48:10 +0000
Source: black
Architecture: source
Version: 24.10.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1091135
Changes:
black (24.10.0-2) unstable; urgency=medium
.
* Team upload.
* Fix type error (closes: #1091135).
Checksums-Sha1:
01ba4bedc2984de8203c85c8dedd8ad3fb9ee0cf 2834 black_24.10.0-2.dsc
b3cb4aa2a4153b54c63b0cd3fb0cd67746a5db48 11740 black_24.10.0-2.debian.tar.xz
Checksums-Sha256:
e5fa694c19866443e42f57583a30e68f9ab98c8dc57914408c79b1efdbcf9914 2834
black_24.10.0-2.dsc
397087066bb845272593e7bf272feedf43c1d6fb071b83f64fc105a2bd32e192 11740
black_24.10.0-2.debian.tar.xz
Files:
36179cff86741da0c9fe658f09b9450c 2834 python optional black_24.10.0-2.dsc
96f74ace4039d9657e9e76f5ecb8d9df 11740 python optional
black_24.10.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmdx7gcACgkQOTWH2X2G
UAtZ5g//ftVJ+Pij2v6J2gf0OcMqHPExFLia5RQpeYHmjQJ6O8yeCMes1Z2nbtJT
EJPV9iuHHfLk/GA9Dwfaj4gjiTpOtWbUzkwwipFkBmRS2C2BhXhzP28CoXIBJpV4
Fi7b1QTKoWT0IxA/SF9FbrOTQkK8E9Xwxv0CPSnqwShbe/YVompnXsgt8XYOV/Ab
thmkq0XMCsMeRSmHb/6GJN8l71lyrhWLVQR0D5IHSzwrjrb02+2+oAYthBJF/hTC
i+T9q51qZJu2RSKFLSVHg0aG5Soy4FhD43anKjpFlrCr5SSMKKvgajSdo4cFPuU2
KaMBbuDYFuaPQcSqySkGIL9/9QyRB7I6+gwYrDzDHaalGJuZTybVLqn8OsDUCOYq
6Zy5X3uO/LCYUnM7SvN/VxJHnLZ9E+Qa7vQspZ53wmWfa2y0vEMxTIgAAel6AZdz
Z/mqHOTGqOdT9p6H3Bd8GRc4NB3ogELbsn62E5T75nH9frWiI4PJcDIzMSmA8B/N
hFqDbKSrVl7sxWCwYErdZOeqaYY0dXPqdrTZLBnUrPj3bh0rmhrCOclInx3w2TiR
Cc5tPGfoADYgJCjEZlTdYSoXKSXAqS/iTpVdiWzD4ZaG78KR77M2bDkB62mIZAdr
eMAlxnRpV6zoN2nYemSZ7rNMi0kkksQgAqBM6yn+BnKNasYPet0=
=1Juh
-----END PGP SIGNATURE-----
pgph8rvGfjyEX.pgp
Description: PGP signature
--- End Message ---