[Debian-med-packaging] Bug#1008745: nipy: FTBFS with Python 3.10 as default

Graham Inggs ginggs at debian.org
Thu Mar 31 18:11:06 BST 2022


Source: nipy
Version: 0.5.0-2
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

Hi Maintainer

As can be seen on reproducible builds [1], nipy FTBFS with Python 3.10
as the default version.  I've copied what I hope is the relevant part
of the log below.

Regards
Graham


[1] https://tests.reproducible-builds.org/debian/rb-pkg/nipy.html


: # I: Generate documentation
PYTHONPATH=`pybuild --print build_dir --interpreter python3.10` \
  http_proxy='127.0.0.1:9' \
  PATH=/build/1st/nipy-0.5.0/debian/tmp/usr/bin/:$PATH \
  HOME=/build/1st/nipy-0.5.0/build \
  /usr/bin/make -C doc html PYTHON=python3.10
E: pybuild pybuild:143: interpreter python3.10 not supported by
BuildSystem(distutils)
make[2]: Entering directory '/build/1st/nipy-0.5.0/doc'
python3.10 ../tools/build_modref_templates.py
Traceback (most recent call last):
  File "/build/1st/nipy-0.5.0/doc/../tools/build_modref_templates.py",
line 18, in <module>
    docwriter = ApiDocWriter(package)
  File "/build/1st/nipy-0.5.0/tools/apigen.py", line 73, in __init__
    self.package_name = package_name
  File "/build/1st/nipy-0.5.0/tools/apigen.py", line 95, in set_package_name
    self.root_module = __import__(package_name)
ModuleNotFoundError: No module named 'nipy'
make[2]: *** [Makefile:62: api] Error 1



More information about the Debian-med-packaging mailing list