Bug#1027488: qutip: FTBFS: AttributeError: module 'packaging.version' has no attribute 'LegacyVersion'

Lucas Nussbaum lucas at debian.org
Sun Jan 1 14:21:42 GMT 2023


Source: qutip
Version: 4.7.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230101 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  fakeroot debian/rules clean
> dh clean --with python3,sphinxdoc --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py clean 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 247, in <module>
>     options = process_options()
>               ^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/setup.py", line 46, in process_options
>     options = _determine_version(options)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/setup.py", line 130, in _determine_version
>     if isinstance(version, packaging.version.LegacyVersion):
>                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'packaging.version' has no attribute 'LegacyVersion'
> E: pybuild pybuild:388: 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 3.10" returned exit code 13
> make: *** [debian/rules:30: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/01/qutip_4.7.0-3_unstable.log

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