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.