Your message dated Sun, 13 Apr 2025 20:43:59 -0700 with message-id <[email protected]> and subject line resampy: FTBFS: E ImportError: Numba could not be imported. has caused the Debian Bug report #1090292, regarding resampy: FTBFS: E ImportError: Numba could not be imported. to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1090292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090292 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:resampy Version: 0.4.3+ds-4 Severity: serious Tags: ftbfs Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' env PYTHONPATH=/<<PKGBUILDDIR>> python3 debian/mkfilters.py resampy/data dh_auto_configure make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_resampy * Building wheel... running bdist_wheel running build running build_py creating build/lib/resampy copying resampy/core.py -> build/lib/resampy copying resampy/__init__.py -> build/lib/resampy copying resampy/interpn.py -> build/lib/resampy copying resampy/version.py -> build/lib/resampy copying resampy/filters.py -> build/lib/resampy creating build/lib/resampy/data copying resampy/data/kaiser_fast.npz -> build/lib/resampy/data copying resampy/data/kaiser_best.npz -> build/lib/resampy/data installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/resampy copying build/lib/resampy/core.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/__init__.py -> build/bdist.linux-x86_64/wheel/./resampy creating build/bdist.linux-x86_64/wheel/resampy/data copying build/lib/resampy/data/kaiser_fast.npz -> build/bdist.linux-x86_64/wheel/./resampy/data copying build/lib/resampy/data/kaiser_best.npz -> build/bdist.linux-x86_64/wheel/./resampy/data copying build/lib/resampy/interpn.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/version.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/filters.py -> build/bdist.linux-x86_64/wheel/./resampy running install_egg_info running egg_info creating resampy.egg-info writing resampy.egg-info/PKG-INFO writing dependency_links to resampy.egg-info/dependency_links.txt writing requirements to resampy.egg-info/requires.txt writing top-level names to resampy.egg-info/top_level.txt writing manifest file 'resampy.egg-info/SOURCES.txt' reading manifest file 'resampy.egg-info/SOURCES.txt' adding license file 'LICENSE.md' writing manifest file 'resampy.egg-info/SOURCES.txt' Copying resampy.egg-info to build/bdist.linux-x86_64/wheel/./resampy-0.4.3.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/resampy-0.4.3.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_resampy/.tmp-s4i2e1uu/resampy-0.4.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'resampy/__init__.py' adding 'resampy/core.py' adding 'resampy/filters.py' adding 'resampy/interpn.py' adding 'resampy/version.py' adding 'resampy/data/kaiser_best.npz' adding 'resampy/data/kaiser_fast.npz' adding 'resampy-0.4.3.dist-info/LICENSE.md' adding 'resampy-0.4.3.dist-info/METADATA' adding 'resampy-0.4.3.dist-info/WHEEL' adding 'resampy-0.4.3.dist-info/top_level.txt' adding 'resampy-0.4.3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built resampy-0.4.3-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy * Building wheel... running bdist_wheel running build running build_py copying resampy/data/kaiser_fast.npz -> build/lib/resampy/data copying resampy/data/kaiser_best.npz -> build/lib/resampy/data installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/resampy copying build/lib/resampy/core.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/__init__.py -> build/bdist.linux-x86_64/wheel/./resampy creating build/bdist.linux-x86_64/wheel/resampy/data copying build/lib/resampy/data/kaiser_fast.npz -> build/bdist.linux-x86_64/wheel/./resampy/data copying build/lib/resampy/data/kaiser_best.npz -> build/bdist.linux-x86_64/wheel/./resampy/data copying build/lib/resampy/interpn.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/version.py -> build/bdist.linux-x86_64/wheel/./resampy copying build/lib/resampy/filters.py -> build/bdist.linux-x86_64/wheel/./resampy running install_egg_info running egg_info writing resampy.egg-info/PKG-INFO writing dependency_links to resampy.egg-info/dependency_links.txt writing requirements to resampy.egg-info/requires.txt writing top-level names to resampy.egg-info/top_level.txt reading manifest file 'resampy.egg-info/SOURCES.txt' adding license file 'LICENSE.md' writing manifest file 'resampy.egg-info/SOURCES.txt' Copying resampy.egg-info to build/bdist.linux-x86_64/wheel/./resampy-0.4.3.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/resampy-0.4.3.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/.tmp-3qcc_vd7/resampy-0.4.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'resampy/__init__.py' adding 'resampy/core.py' adding 'resampy/filters.py' adding 'resampy/interpn.py' adding 'resampy/version.py' adding 'resampy/data/kaiser_best.npz' adding 'resampy/data/kaiser_fast.npz' adding 'resampy-0.4.3.dist-info/LICENSE.md' adding 'resampy-0.4.3.dist-info/METADATA' adding 'resampy-0.4.3.dist-info/WHEEL' adding 'resampy-0.4.3.dist-info/top_level.txt' adding 'resampy-0.4.3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built resampy-0.4.3-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ /<<PKGBUILDDIR>>/.pybuild/docs/html/ Running Sphinx v8.1.3 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. [autosummary] generating autosummary for: api.rst, changes.rst, example.rst, index.rst loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ... loading intersphinx inventory 'scipy' from https://docs.scipy.org/doc/scipy/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff9835008c0>: Failed to establish a new connection: [Errno 111] Connection refused'))) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff983c31640>: Failed to establish a new connection: [Errno 111] Connection refused'))) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.scipy.org/doc/scipy/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/scipy/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff9834cdca0>: Failed to establish a new connection: [Errno 111] Connection refused'))) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] api reading sources... [ 50%] changes reading sources... [ 75%] example reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/documentation_options.js Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/basic.css Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/language_data.js Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/classic.css Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/sidebar.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 25%] api writing output... [ 50%] changes writing output... [ 75%] example writing output... [100%] index generating indices... genindex py-modindex done highlighting module code... [ 50%] resampy.core highlighting module code... [100%] resampy.filters writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 3 warnings. The HTML pages are in .pybuild/docs/html. make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_test I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_resampy/build; python3.13 -m pytest -k "not parallel" /<<PKGBUILDDIR>> ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: typeguard-4.4.1, cov-5.0.0 collected 0 items / 3 errors ==================================== ERRORS ==================================== _____________________ ERROR collecting tests/test_core.py ______________________ ImportError while importing test module '/<<PKGBUILDDIR>>/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.13/importlib/__init__.py:88: 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:74: 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 tests/test_filters.py ____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/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.13/importlib/__init__.py:88: 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:74: 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 tests/test_quality.py ____________________ ImportError while importing test module '/<<PKGBUILDDIR>>/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.13/importlib/__init__.py:88: 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:74: 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 ---------- coverage: platform linux, python 3.13.1-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------- resampy/__init__.py 3 0 100% resampy/core.py 63 60 5% 9-316 resampy/filters.py 43 32 26% 53, 117-142, 180-188, 210-217, 227 resampy/interpn.py 40 40 0% 4-86 resampy/version.py 2 0 100% --------------------------------------------------- TOTAL 151 132 13% 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 !!!!!!!!!!!!!!!!!!!! ============================== 3 errors in 0.66s =============================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_resampy/build; python3.13 -m pytest -k "not parallel" /<<PKGBUILDDIR>> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_resampy/build; python3.12 -m pytest -k "not parallel" /<<PKGBUILDDIR>> ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: typeguard-4.4.1, cov-5.0.0 collected 140 items / 4 deselected / 136 selected ../../../tests/test_core.py ......xxxxxxxxxxxx..............xxx......... [ 32%] ................xxxxxxxxxxxx.... [ 55%] ../../../tests/test_filters.py .................................x.. [ 82%] ../../../tests/test_quality.py ........................ [100%] ---------- coverage: platform linux, python 3.12.8-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------- resampy/__init__.py 3 0 100% resampy/core.py 63 10 84% 143-158, 281-296 resampy/filters.py 43 1 98% 53 resampy/interpn.py 40 32 20% 9-66, 78, 86 resampy/version.py 2 0 100% --------------------------------------------------- TOTAL 151 43 72% Coverage XML written to file coverage.xml ================ 108 passed, 4 deselected, 28 xfailed in 6.64s ================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make[1]: *** [debian/rules:24: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202412/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.
--- End Message ---
--- Begin Message ---Version: 0.61.2+dfsg-1 thanks I built resampy using the 0.61.2 version of numba and it builds and its autopkgtests pass now. At least on amd64. I suspect this bug was due to numba needing to be re-built for a new python version. Diane
--- End Message ---

