[Pkg-xmpp-devel] Bug#1077419: libervia-templates: FTBFS: AttributeError: 'NoneType' object has no attribute 'get'

Lucas Nussbaum lucas at debian.org
Mon Jul 29 06:30:07 BST 2024


Source: libervia-templates
Version: 0.9.0~hg396+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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 clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'use_scm_version'
>   warnings.warn(msg)
> /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:72: _MissingDynamic: `readme` defined outside of `pyproject.toml` is ignored.
> !!
> 
>         ********************************************************************************
>         The following seems to be defined outside of `pyproject.toml`:
> 
>         `readme = 'Libervia Template is a common module which can be used by any SàT frontend to generate documents (mostly HTML but not only).'`
> 
>         According to the spec (see the link below), however, setuptools CANNOT
>         consider this value unless `readme` 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 `readme` 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 "/<<PKGBUILDDIR>>/setup.py", line 75, in <module>
>     setup(**setup_info)
>   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 161, in _long_description
>     file = val.get("file") or ()
>            ^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'get'
> E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.12 returned exit code 13
> make: *** [debian/rules:6: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/libervia-templates_0.9.0~hg396+dfsg-1_unstable.log

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