[Debian-med-packaging] Bug#1054742: python-pyflow: FTBFS: KeyError: 'VERSION'

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:22:52 BST 2023


Source: python-pyflow
Version: 1.1.20-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 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 --sourcedirectory=pyflow
>    dh_auto_clean -O--buildsystem=pybuild -O--sourcedirectory=pyflow
> I: pybuild base:310: python3.11 setup.py clean 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 555, in _validate_version
>     packaging.version.Version(version)
>   File "/usr/lib/python3/dist-packages/setuptools/_vendor/packaging/version.py", line 198, in __init__
>     raise InvalidVersion(f"Invalid version: '{version}'")
> setuptools.extern.packaging.version.InvalidVersion: Invalid version: '${VERSION}'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/pyflow/setup.py", line 35, in <module>
>     setup(
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 147, in setup
>     _setup_distribution = dist = klass(attrs)
>                                  ^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 509, in __init__
>     self._validate_version(self.metadata.version)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 557, in _validate_version
>     SetuptoolsDeprecationWarning.emit(
>   File "/usr/lib/python3/dist-packages/setuptools/warnings.py", line 44, in emit
>     text = cls._format(summary_, details_, due, see_url or docs_url, kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/warnings.py", line 60, in _format
>     summary = cleandoc(summary).format_map(format_args or {})
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> KeyError: 'VERSION'
> E: pybuild pybuild:395: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.11 --dir pyflow returned exit code 13
> make: *** [debian/rules:10: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/python-pyflow_1.1.20-4_unstable.log

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