[Debian-med-packaging] Bug#1077409: seqmagick: FTBFS: setuptools.extern.packaging.version.InvalidVersion: Invalid version: ''

Lucas Nussbaum lucas at debian.org
Mon Jul 29 06:33:40 BST 2024


Source: seqmagick
Version: 0.8.6-2
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> I: pybuild base:311: python3.12 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
> 
>         ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 18, in <module>
>     setup(name='seqmagick',
>   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 146, in setup
>     _setup_distribution = dist = klass(attrs)
>                                  ^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 318, in __init__
>     self.metadata.version = self._normalize_version(self.metadata.version)
>                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 354, in _normalize_version
>     normalized = str(Version(version))
>                      ^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/setuptools/_vendor/packaging/version.py", line 200, in __init__
>     raise InvalidVersion(f"Invalid version: '{version}'")
> setuptools.extern.packaging.version.InvalidVersion: Invalid version: ''
> 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[1]: *** [debian/rules:10: override_dh_auto_clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/seqmagick_0.8.6-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=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 Debian-med-packaging mailing list