[Debian-astro-maintainers] Bug#1058104: astropy-helpers: FTBFS: ModuleNotFoundError: No module named 'imp'

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:01:15 GMT 2023


Source: astropy-helpers
Version: 4.0.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

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 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py clean 
> /<<PKGBUILDDIR>>/setup.py:14: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
>   if LooseVersion(setuptools.__version__) < '30.3':
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 22, in <module>
>     from astropy_helpers.version_helpers import generate_version_py  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/astropy_helpers/version_helpers.py", line 34, in <module>
>     from .distutils_helpers import is_distutils_display_option
>   File "/<<PKGBUILDDIR>>/astropy_helpers/distutils_helpers.py", line 18, in <module>
>     from .utils import silence
>   File "/<<PKGBUILDDIR>>/astropy_helpers/utils.py", line 4, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> E: pybuild pybuild:395: 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 3.11" returned exit code 13
> make: *** [debian/rules:7: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/astropy-helpers_4.0.1-1_unstable.log

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