[Debichem-devel] Bug#1042136: python-gsd: FTBFS: ValueError: invalid pyproject.toml config: `project`.

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:57:06 BST 2023


Source: python-gsd
Version: 2.7.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 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,sphinxdoc --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:107: Building wheel for python3.11 with "build" module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_gsd 
> * Building wheel...
> Compiling gsd/fl.pyx because it changed.
> [1/1] Cythonizing gsd/fl.pyx
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pep517/in_process/_in_process.py", line 351, in <module>
>     main()
>   File "/usr/lib/python3/dist-packages/pep517/in_process/_in_process.py", line 333, in main
>     json_out['return_val'] = hook(**hook_input['kwargs'])
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pep517/in_process/_in_process.py", line 249, in build_wheel
>     return _build_backend().build_wheel(wheel_directory, config_settings,
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 416, in build_wheel
>     return self._build_with_temp_dir(['bdist_wheel'], '.whl',
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
>     self.run_setup()
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 488, in run_setup
>     self).run_setup(setup_script=setup_script)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 338, in run_setup
>     exec(code, locals())
>   File "<string>", line 30, in <module>
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, in setup
>     return distutils.core.setup(**attrs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 159, in setup
>     dist.parse_config_files()
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 898, in parse_config_files
>     pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
>   File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py", line 66, in apply_configuration
>     config = read_configuration(filepath, True, ignore_option_errors, dist)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py", line 128, in read_configuration
>     validate(subset, filepath)
>   File "/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py", line 55, in validate
>     raise ValueError(f"{error}\n{summary}") from None
> ValueError: invalid pyproject.toml config: `project`.
> configuration error: `project` must contain ['version'] properties
> 
> ERROR Backend subprocess exited when trying to invoke build_wheel
> E: pybuild pybuild:388: build: plugin pyproject failed with: exit code=1: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_gsd 
> dh_auto_build: error: pybuild --build -i python{version} -p 3.11 returned exit code 13
> make: *** [debian/rules:9: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-gsd_2.7.0-2_unstable.log

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



More information about the Debichem-devel mailing list