[Debian-med-packaging] Bug#1090279: python-loompy: FTBFS: E ImportError: cannot import name '_typeconv' from 'numba.core.typeconv'
Santiago Vila
sanvila at debian.org
Mon Dec 16 17:52:08 GMT 2024
Package: src:python-loompy
Version: 3.0.7+dfsg-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p "3.13 3.12"
I: pybuild base:311: python3.13 setup.py config
running config
I: pybuild base:311: python3.12 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p "3.13 3.12"
I: pybuild base:311: /usr/bin/python3.13 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/metadata_loaders.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/loom_validator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/to_html.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/bus_file.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/view_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/loom_view.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/graph_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/attribute_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/normalize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/global_attribute_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/loompy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/cell_calling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/layer_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
copying loompy/loom_layer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/metadata_loaders.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/loom_validator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/to_html.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/bus_file.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/view_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/loom_view.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/graph_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/attribute_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/normalize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/global_attribute_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/loompy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/cell_calling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/layer_manager.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
copying loompy/loom_layer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy
dh_auto_test -O--buildsystem=pybuild
pybuild --test --test-pytest -i python{version} -p "3.13 3.12"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build; python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 0 items / 5 errors
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.13_loompy/build/tests/test_attribute_manager.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/tests/test_attribute_manager.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_attribute_manager.py:3: in <module>
from loompy import AttributeManager
loompy/__init__.py:14: in <module>
from .bus_file import create_from_fastq
loompy/bus_file.py:14: in <module>
from numba import jit
/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 .pybuild/cpython3_3.13_loompy/build/tests/test_connection.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/tests/test_connection.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_connection.py:6: in <module>
import loompy
loompy/__init__.py:14: in <module>
from .bus_file import create_from_fastq
loompy/bus_file.py:14: in <module>
from numba import jit
/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 .pybuild/cpython3_3.13_loompy/build/tests/test_file_attribute_manager.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/tests/test_file_attribute_manager.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_file_attribute_manager.py:8: in <module>
from loompy import GlobalAttributeManager
loompy/__init__.py:14: in <module>
from .bus_file import create_from_fastq
loompy/bus_file.py:14: in <module>
from numba import jit
/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 .pybuild/cpython3_3.13_loompy/build/tests/test_main.py ____
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/tests/test_main.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_main.py:1: in <module>
import loompy
loompy/__init__.py:14: in <module>
from .bus_file import create_from_fastq
loompy/bus_file.py:14: in <module>
from numba import jit
/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 .pybuild/cpython3_3.13_loompy/build/tests/test_validator.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/tests/test_validator.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_validator.py:6: in <module>
import loompy
loompy/__init__.py:14: in <module>
from .bus_file import create_from_fastq
loompy/bus_file.py:14: in <module>
from numba import jit
/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
=============================== warnings summary ===============================
loompy/view_manager.py:23
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build/loompy/view_manager.py:23: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if type(slice_) is not tuple or len(slice_) is not 2:
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_attribute_manager.py
ERROR tests/test_connection.py
ERROR tests/test_file_attribute_manager.py
ERROR tests/test_main.py
ERROR tests/test_validator.py
!!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 5 errors in 0.54s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_loompy/build; python3.13 -m pytest tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build; python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 7 items
tests/test_attribute_manager.py .. [ 28%]
tests/test_connection.py . [ 42%]
tests/test_file_attribute_manager.py . [ 57%]
tests/test_main.py .. [ 85%]
tests/test_validator.py . [100%]
=============================== warnings summary ===============================
loompy/view_manager.py:23
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy/view_manager.py:23: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if type(slice_) is not tuple or len(slice_) is not 2:
.pybuild/cpython3_3.12_loompy/build/tests/test_connection.py: 7 warnings
.pybuild/cpython3_3.12_loompy/build/tests/test_main.py: 22 warnings
.pybuild/cpython3_3.12_loompy/build/tests/test_validator.py: 1 warning
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_loompy/build/loompy/utils.py:15: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
return datetime.datetime.utcnow().strftime("%Y%m%dT%H%M%S.%fZ")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 7 passed, 31 warnings in 1.22s ========================
rm -fr -- /tmp/dh-xdg-rundir-s4vhLEBH
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
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.
More information about the Debian-med-packaging
mailing list