Bug#1029466: esda: FTBFS with current numba version
Bastian Germann
bage at debian.org
Sun Jan 22 21:26:24 GMT 2023
Source: esda
Version: 0.1.0-1
Severity: serious
The package cannot be built due to the unit tests:
======================================== short test summary info ========================================
FAILED esda/tests/test_getisord.py::G_Local_Tester::test_G_Local_Binary - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::G_Local_Tester::test_G_Local_Row_Standardized - numba.core.errors.TypingError:
Failed in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::G_Local_Tester::test_G_star_Local_Binary - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::G_Local_Tester::test_G_star_Row_Standardized - numba.core.errors.TypingError: Failed
in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::G_Local_Tester::test_by_col - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::i::test_G_Local_Binary - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::i::test_G_Local_Row_Standardized - numba.core.errors.TypingError: Failed in nopython
mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::i::test_G_star_Local_Binary - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::i::test_G_star_Row_Standardized - numba.core.errors.TypingError: Failed in nopython
mode pipeline (step: nopython frontend)
FAILED esda/tests/test_getisord.py::i::test_by_col - numba.core.errors.TypingError: Failed in nopython mode pipeline
(step: nopython frontend)
FAILED esda/tests/test_ljc.py::Join_Counts_Locals_Tester::test_Join_Counts_Locals - numba.core.errors.TypingError:
Failed in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_ljc.py::i::test_Join_Counts_Locals - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_ljc_bv.py::Local_Join_Counts_BV_Tester::test_Local_Join_Counts_BV -
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_ljc_bv.py::i::test_Local_Join_Counts_BV - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_ljc_mv.py::Local_Join_Counts_MV_Tester::test_Local_Join_Counts_MV -
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_ljc_mv.py::i::test_Local_Join_Counts_MV - numba.core.errors.TypingError: Failed in nopython mode
pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Tester::test_z_consistency - numba.core.errors.TypingError: Failed in nopython
mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Local_Tester::test_Moran_Local - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Local_Tester::test_Moran_Local_parallel - numba.core.errors.TypingError: Failed
in nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Local_Tester::test_local_moments - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Local_BV_Tester::test_Moran_Local_BV - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::Moran_Local_Rate_Tester::test_moran_rate - numba.core.errors.TypingError: Failed in
nopython mode pipeline (step: nopython frontend)
FAILED esda/tests/test_moran.py::i::test_moran_rate - numba.core.errors.TypingError: Failed in nopython mode pipeline
(step: nopython frontend)
FAILED esda/tests/test_util.py::Fdr_Tester::test_fdr - numba.core.errors.TypingError: Failed in nopython mode pipeline
(step: nopython frontend)
FAILED esda/tests/test_util.py::i::test_fdr - numba.core.errors.TypingError: Failed in nopython mode pipeline (step:
nopython frontend)
======================== 25 failed, 57 passed, 11 skipped, 37 warnings in 13.53s ========================
Most of them end in a stack trace like the following:
E numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
E No implementation of function Function(<built-in function seed>) found for signature:
E
E >>> seed(int64)
E
E There are 4 candidate implementations:
E - Of which 4 did not match due to:
E Overload in function '_OverloadWrapper._build.<locals>.ol_generated': File: numba/core/overload_glue.py:
Line 129.
E With argument(s): '(int64)':
E Rejected as the implementation raised a specific error:
E TypeError: code() argument 13 must be str, not int
E raised from /usr/lib/python3/dist-packages/numba/core/overload_glue.py:64
E
E During: resolving callee type: Function(<built-in function seed>)
E During: typing of call at /home/bage/esda-2.4.3/.pybuild/cpython3_3.11_esda/build/esda/crand.py (60)
E
E
E File "esda/crand.py", line 60:
E def vec_permutations(max_card: int, n: int, k_replications: int, seed: int):
E <source elided>
E """
E np.random.seed(seed)
E ^
More information about the debian-science-maintainers
mailing list