Hi Lucas, thanks for the report.


This looks to be due to newer poetry versions requiring the project.name field. 
I have uploaded a patched version to Debian Mentors and reached out to my 
sponsor for an upload.

https://mentors.debian.net/package/anytree/



Thanks,

Mitchell Augustin







---- On Fri, 24 Jan 2025 14:28:55 -0600 Lucas Nussbaum <lu...@debian.org> wrote 
---



Source: anytree 
Version: 2.12.1-1.1 
Severity: serious 
Justification: FTBFS 
Tags: trixie sid ftbfs 
User: mailto:lu...@debian.org 
Usertags: ftbfs-20250124 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 
>    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.12 with "build" 
> module 
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/anytree-2.12.1/.pybuild/cpython3_3.12_anytree 
> * Building wheel... 
> 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/poetry/core/masonry/api.py", line 55, 
> in build_wheel 
>     poetry = Factory().create_poetry(Path().resolve(), with_groups=False) 
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
>   File "/usr/lib/python3/dist-packages/poetry/core/factory.py", line 59, in 
> create_poetry 
>     raise RuntimeError("The Poetry configuration is invalid:\n" + message) 
> RuntimeError: The Poetry configuration is invalid: 
>   - project must contain ['name'] properties 
> 
> 
> 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 
> /build/reproducible-path/anytree-2.12.1/.pybuild/cpython3_3.12_anytree 
> 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 
> /build/reproducible-path/anytree-2.12.1/.pybuild/cpython3_3.13_anytree 
> * Building wheel... 
> 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/poetry/core/masonry/api.py", line 55, 
> in build_wheel 
>     poetry = Factory().create_poetry(Path().resolve(), with_groups=False) 
>   File "/usr/lib/python3/dist-packages/poetry/core/factory.py", line 59, in 
> create_poetry 
>     raise RuntimeError("The Poetry configuration is invalid:\n" + message) 
> RuntimeError: The Poetry configuration is invalid: 
>   - project must contain ['name'] properties 
> 
> 
> 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 
> /build/reproducible-path/anytree-2.12.1/.pybuild/cpython3_3.13_anytree 
> dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.13" 
> returned exit code 13 
> make: *** [debian/rules:6: binary] Error 25 
 
 
The full build log is available from: 
http://qa-logs.debian.net/2025/01/24/anytree_2.12.1-1.1_unstable.log 
 
All bugs filed during this archive rebuild are listed at: 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lu...@debian.org
 
or: 
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&fusertaguser=lu...@debian.org&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.

Reply via email to