Bug#1056443: pysph ftbfs with Python 3.12

Matthias Klose doko at debian.org
Wed Nov 22 12:49:03 GMT 2023


Package: src:pysph
Version: 1.0~b1-6
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

pysph ftbfs with Python 3.12:

[...]
I: pybuild base:310: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build'; 
python3.12 -m pytest -k "not test_sph_evaluator and not TestInterpolator 
and not test_get_points_from_mgrid and not test_get_surface_points_uniform"
============================= test session starts 
==============================
platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
collected 224 items / 29 errors / 91 deselected / 133 selected

==================================== ERRORS 
====================================
_ ERROR collecting 
.pybuild/cpython3_3.12/build/pysph/base/tests/test_device_helper.py _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pysph/base/tests/test_device_helper.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
pysph/base/tests/test_device_helper.py:4: in <module>
     from pysph.base.utils import get_particle_array  # noqa: E402
pysph/base/utils.py:7: in <module>
     from .particle_array import ParticleArray, \
pysph/base/particle_array.pyx:25: in init pysph.base.particle_array
     from compyle.array import Array, get_backend, to_device
/usr/lib/python3/dist-packages/compyle/array.py:11: in <module>
     from .sort import radix_sort
/usr/lib/python3/dist-packages/compyle/sort.py:5: in <module>
     from .transpiler import Transpiler, convert_to_float_if_needed
/usr/lib/python3/dist-packages/compyle/transpiler.py:12: in <module>
     from .ext_module import ExtModule
/usr/lib/python3/dist-packages/compyle/ext_module.py:14: in <module>
     from pyximport import pyxbuild
/usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
     from .pyximport import *
/usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
     import imp
E   ModuleNotFoundError: No module named 'imp'
_ ERROR collecting 
.pybuild/cpython3_3.12/build/pysph/base/tests/test_domain_manager.py _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pysph/base/tests/test_domain_manager.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
pysph/base/tests/test_domain_manager.py:8: in <module>
     from pysph.base.nnps import DomainManager, BoxSortNNPS, LinkedListNNPS
pysph/base/nnps.py:1: in <module>
     from pysph.base.nnps_base import get_number_of_threads, py_flatten, \
pysph/base/nnps_base.pyx:1: in init pysph.base.nnps_base
     # cython: language_level=3, embedsignature=True
pysph/base/particle_array.pyx:25: in init pysph.base.particle_array
     from compyle.array import Array, get_backend, to_device
/usr/lib/python3/dist-packages/compyle/array.py:11: in <module>
     from .sort import radix_sort
/usr/lib/python3/dist-packages/compyle/sort.py:5: in <module>
     from .transpiler import Transpiler, convert_to_float_if_needed
/usr/lib/python3/dist-packages/compyle/transpiler.py:12: in <module>
     from .ext_module import ExtModule
/usr/lib/python3/dist-packages/compyle/ext_module.py:14: in <module>
     from pyximport import pyxbuild
/usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
     from .pyximport import *
/usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
     import imp
E   ModuleNotFoundError: No module named 'imp'



More information about the debian-science-maintainers mailing list