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   
> E   https://numba.readthedocs.io/en/stable/developer/contributing.html.
> E   
> E   
> --------------------------------------------------------------------------------
> E   If you are not working on Numba development, the original error was: 
> 'cannot import name '_typeconv' from 'numba.core.typeconv' 
> (/usr/lib/python3/dist-packages/numba/core/typeconv/__init__.py)'.
> E   For help, please visit:
> E   
> E   
> https://numba.readthedocs.io/en/stable/user/faq.html#numba-could-not-be-imported
> _ ERROR collecting .pybuild/cpython3_3.12_resampy/build/tests/test_filters.py 
> __
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build/tests/test_filters.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_filters.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   
> E   https://numba.readthedocs.io/en/stable/developer/contributing.html.
> E   
> E   
> --------------------------------------------------------------------------------
> E   If you are not working on Numba development, the original error was: 
> 'cannot import name '_typeconv' from 'numba.core.typeconv' 
> (/usr/lib/python3/dist-packages/numba/core/typeconv/__init__.py)'.
> E   For help, please visit:
> E   
> E   
> https://numba.readthedocs.io/en/stable/user/faq.html#numba-could-not-be-imported
> _ ERROR collecting .pybuild/cpython3_3.12_resampy/build/tests/test_quality.py 
> __
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build/tests/test_quality.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_quality.py:7: 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   
> E   https://numba.readthedocs.io/en/stable/developer/contributing.html.
> E   
> E   
> --------------------------------------------------------------------------------
> E   If you are not working on Numba development, the original error was: 
> 'cannot import name '_typeconv' from 'numba.core.typeconv' 
> (/usr/lib/python3/dist-packages/numba/core/typeconv/__init__.py)'.
> E   For help, please visit:
> E   
> E   
> https://numba.readthedocs.io/en/stable/user/faq.html#numba-could-not-be-imported
> =============================== warnings summary 
> ===============================
> resampy/filters.py:50
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build/resampy/filters.py:50: 
> DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.12.1-final-0 -----------
> Name                  Stmts   Miss  Cover   Missing
> ---------------------------------------------------
> resampy/__init__.py       4      0   100%
> resampy/core.py          64     60     6%   9-316
> resampy/filters.py       42     30    29%   112-137, 175-183, 205-212, 222
> resampy/interpn.py       41     41     0%   2-86
> resampy/version.py        3      0   100%
> ---------------------------------------------------
> TOTAL                   154    131    15%
> Coverage XML written to file coverage.xml
> 
> =========================== short test summary info 
> ============================
> ERROR tests/test_core.py
> ERROR tests/test_filters.py
> ERROR tests/test_quality.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 3 errors in 1.48s 
> =========================
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build; python3.12 -m pytest ""
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_resampy/build; python3.11 -m pytest ""
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 140 items
> 
> tests/test_core.py ......xxxxxxxxxxxx..............xxx.................. [ 
> 37%]
> .......xxxxxxxxxxxx....                                                  [ 
> 54%]
> tests/test_filters.py .................................x..               [ 
> 80%]
> tests/test_quality.py ............................                       
> [100%]
> 
> =============================== warnings summary 
> ===============================
> resampy/filters.py:50
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_resampy/build/resampy/filters.py:50: 
> DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.11.7-final-0 -----------
> Name                  Stmts   Miss  Cover   Missing
> ---------------------------------------------------
> resampy/__init__.py       4      0   100%
> resampy/core.py          64      6    91%   153-158, 291-296
> resampy/filters.py       42      0   100%
> resampy/interpn.py       41     32    22%   9-66, 78, 86
> resampy/version.py        3      0   100%
> ---------------------------------------------------
> TOTAL                   154     38    75%
> Coverage XML written to file coverage.xml
> 
> ================== 112 passed, 28 xfailed, 1 warning in 8.80s 
> ==================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/resampy_0.4.2+ds-3_unstable.log

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

Reply via email to