Source: python-autocommand
Version: 2.2.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 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 --with python3 --buildsystem=pybuild --test-pytest
>    dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
>    dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
>    dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
>    dh_auto_build -O--buildsystem=pybuild -O--test-pytest
> 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_autocommand  
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: 
> _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         
> ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `license = 'LGPLv3'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `license` is listed as `dynamic`.
> 
>         
> https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
> 
>         To prevent this problem, you can list `license` under `dynamic` or 
> alternatively
>         remove the `[project]` table from your file and rely entirely on 
> other means of
>         configuration.
>         
> ********************************************************************************
> 
> !!
>   _handle_missing_dynamic(dist, project_table)
> Traceback (most recent call last):
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 373, in <module>
>     main()
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 357, in main
>     json_out["return_val"] = hook(**hook_input["kwargs"])
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 271, in build_wheel
>     return _build_backend().build_wheel(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 415, 
> in build_wheel
>     return self._build_with_temp_dir(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 397, 
> in _build_with_temp_dir
>     self.run_setup()
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 497, 
> in run_setup
>     super().run_setup(setup_script=setup_script)
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 313, 
> in run_setup
>     exec(code, locals())
>   File "<string>", line 8, in <module>
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 103, in 
> setup
>     return distutils.core.setup(**attrs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
> 158, in setup
>     dist.parse_config_files()
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 632, in 
> parse_config_files
>     pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
>   File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py", 
> line 71, in apply_configuration
>     return _apply(dist, config, filepath)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 53, in apply
>     _apply_project_table(dist, config, root_dir)
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 79, in _apply_project_table
>     corresp(dist, value, root_dir)
>   File 
> "/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py", 
> line 181, in _license
>     _set_config(dist, "license", val["text"])
>                                  ~~~^^^^^^^^
> KeyError: 'text'
> 
> 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_autocommand  
> dh_auto_build: error: pybuild --build -i python{version} -p 3.12 returned 
> exit code 13
> make: *** [debian/rules:7: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/python-autocommand_2.2.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&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