Bug#1042214: guiqwt: FTBFS: ImportError: cannot import name 'get_subpackages' from 'guidata.utils' (/usr/lib/python3/dist-packages/guidata/utils/__init__.py)

Lucas Nussbaum lucas at debian.org
Wed Jul 26 20:50:51 BST 2023


Source: guiqwt
Version: 4.3.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 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 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py clean 
> /<<PKGBUILDDIR>>/setup.py:27: DeprecationWarning: 
> 
>   `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
>   of the deprecation of `distutils` itself. It will be removed for
>   Python >= 3.12. For older Python versions it will remain present.
>   It is recommended to use `setuptools < 60.0` for those Python versions.
>   For more details, see:
>     https://numpy.org/devdocs/reference/distutils_status_migration.html 
> 
> 
>   from numpy.distutils.core import setup, Extension
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 28, in <module>
>     from guidata.utils import get_subpackages, get_package_data, cythonize_all
> ImportError: cannot import name 'get_subpackages' from 'guidata.utils' (/usr/lib/python3/dist-packages/guidata/utils/__init__.py)
> 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 returned exit code 13
> make: *** [debian/rules:12: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/guiqwt_4.3.1-1_unstable.log

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