Your message dated Sun, 22 Dec 2024 20:44:48 +0100
with message-id <[email protected]>
and subject line Re: Bug#1077419: libervia-templates: FTBFS: AttributeError:
'NoneType' object has no attribute 'get'
has caused the Debian Bug report #1077419,
regarding libervia-templates: FTBFS: AttributeError: 'NoneType' object has no
attribute 'get'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1077419: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077419
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libervia-templates
Version: 0.9.0~hg396+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&[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.
--- End Message ---
--- Begin Message ---
On 15/09/24 at 17:41 +0000, Martin wrote:
> Control: severity -1 normal
>
> I can't reproduce the failure in a clean and current sid pbuilder.
> Maybe the error is just gone or I'm missing something...
Hi,
I confirm that it builds fine now
Lucas
--- End Message ---