On Tue, 12 Dec 2023 09:24:48 +0100 Lucas Nussbaum <lu...@debian.org> wrote:
Source: resampy
Version: 0.4.2+ds-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build; 
python3.12 -m pytest ""
> ============================= test session starts 
==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 0 items / 3 errors
> > ==================================== ERRORS ====================================
> ___ ERROR collecting .pybuild/cpython3_3.12_resampy/build/tests/test_core.py 
___
> ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build/tests/test_core.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3/dist-packages/numba/core/typeconv/typeconv.py:4: in <module>
>     from numba.core.typeconv import _typeconv
> E   ImportError: cannot import name '_typeconv' from 'numba.core.typeconv' 
(/usr/lib/python3/dist-packages/numba/core/typeconv/__init__.py)
> > During handling of the above exception, another exception occurred:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_core.py:8: in <module>
>     import resampy
> resampy/__init__.py:7: in <module>
>     from .core import *
> resampy/core.py:7: in <module>
>     import numba
> /usr/lib/python3/dist-packages/numba/__init__.py:73: in <module>
>     from numba.misc.special import (
> /usr/lib/python3/dist-packages/numba/misc/special.py:3: in <module>
>     from numba.core.typing.typeof import typeof
> /usr/lib/python3/dist-packages/numba/core/typing/__init__.py:1: in <module>
>     from .context import BaseContext, Context
> /usr/lib/python3/dist-packages/numba/core/typing/context.py:11: in <module>
>     from numba.core.typeconv import Conversion, rules
> /usr/lib/python3/dist-packages/numba/core/typeconv/rules.py:2: in <module>
>     from .typeconv import TypeManager, TypeCastingRules
> /usr/lib/python3/dist-packages/numba/core/typeconv/typeconv.py:16: in <module>
>     raise ImportError(msg)
> E   ImportError: Numba could not be imported.
> E   
--------------------------------------------------------------------------------
> E   If you are seeing this message and are undertaking Numba development 
work, you may need to rebuild Numba.
> E   Please see the development set up guide:
> E

The issue seems to be related to the fact that the numba package still do not support python 12.

See also #1057461 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057461)


cheers
--
Antonio Valentino

Reply via email to