• Bug#1107409: numba: FTBFS: Fatal Python error: Segmentation fault (4/5)

    From Santiago Vila@1:229/2 to All on Sat Jun 7 12:00:01 2025
    [continued from previous message]

    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_np_functions.py:196: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'indices_or_sections' of function 'np_array_split.<locals>.impl'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/np/arrayobj.py", line 6390:
    ):
    def impl(ary, indices_or_sections, axis=0):
    ^

    return np.split(a, indices, axis=axis) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/core/ir_utils.py:2206: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'indices' of function 'split'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/tests/test_np_functions.py", line 195:

    def split(a, indices, axis=0):
    ^

    warnings.warn(NumbaPendingDeprecationWarning(msg, loc=loc))
    test_split_basic (numba.tests.test_np_functions.TestNPFunctions.test_split_basic) ... ok
    test_starargs_non_tuple (numba.tests.test_object_mode.TestObjectMode.test_starargs_non_tuple) ... ok
    test_stats_status_toggle (numba.tests.test_nrt.TestNrtStatistics.test_stats_status_toggle) ... ok
    test_sub (numba.tests.test_npdatetime.TestTimedeltaArithmetic.test_sub) ... ok test_sub_td (numba.tests.test_npdatetime.TestDatetimeArrayOps.test_sub_td) ... ok
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_np_functions.py:396: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'a' of function 'np_asarray.<locals>.impl'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/np/old_arraymath.py", line 4283:
    if is_nonelike(dtype):
    def impl(a, dtype=None):
    ^

    return np.asarray(a).repeat(repeats) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/core/ir_utils.py:2206: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'a' of function 'array_repeat'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/tests/test_np_functions.py", line 395:

    def array_repeat(a, repeats):
    ^

    warnings.warn(NumbaPendingDeprecationWarning(msg, loc=loc)) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_np_functions.py:396: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'repeats' of function 'array_repeat.<locals>.array_repeat_impl'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/np/arrayobj.py", line 2719:
    def array_repeat(a, repeats):
    def array_repeat_impl(a, repeats):
    ^

    return np.asarray(a).repeat(repeats) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_np_functions.py:396: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'repeats' of function 'np_repeat.<locals>.np_repeat_impl_repeats_array_like'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/np/arrayobj.py", line 2659:

    def np_repeat_impl_repeats_array_like(a, repeats):
    ^

    return np.asarray(a).repeat(repeats) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/core/ir_utils.py:2206: NumbaPendingDeprecationWarning:
    Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'repeats' of function 'array_repeat'.

    For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

    File "numba/tests/test_np_functions.py", line 395:

    def array_repeat(a, repeats):
    ^

    warnings.warn(NumbaPendingDeprecationWarning(msg, loc=loc))
    test_triangular (numba.tests.test_np_randomgen.TestRandomGenerators.test_triangular) ... ok
    test_uint32_to_float64 (numba.tests.test_numconv.TestNumberConversion.test_uint32_to_float64) ... ok
    test_uint32_to_int64 (numba.tests.test_numconv.TestNumberConversion.test_uint32_to_int64) ... ok
    test_uint32_to_int8 (numba.tests.test_numconv.TestNumberConversion.test_uint32_to_int8) ... ok
    test_uint64_to_int32 (numba.tests.test_numconv.TestNumberConversion.test_uint64_to_int32) ... ok
    test_uint8_to_float64 (numba.tests.test_numconv.TestNumberConversion.test_uint8_to_float64) ... ok
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_operators.py:1424: RuntimeWarning: overflow encountered in scalar negative
    return tp(-a) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/tests/test_operators.py:1424: RuntimeWarning: overflow encountered in scalar negative
    return tp(-a)
    test_unary_negative (numba.tests.test_operators.TestMixedInts.test_unary_negative) ... ok
    test_unary_positive (numba.tests.test_operators.TestMixedIntsOperatorModule.test_unary_positive) ... ok
    test_repeat (numba.tests.test_np_functions.TestNPFunctions.test_repeat) ... ok test_unsafe_import_in_registry (numba.tests.test_np_functions.TestRegistryImports.test_unsafe_import_in_registry) ... FAIL
    test_wald (numba.tests.test_np_randomgen.TestRandomGenerators.test_wald) ... ok test_unwrap_basic (numba.tests.test_np_functions.TestNPFunctions.test_unwrap_basic) ... ERROR
    test_xor (numba.tests.test_operators.TestMixedIntsOperatorModule.test_xor) ... ok
    test_windowing (numba.tests.test_np_functions.TestNPFunctions.test_windowing) ... ok
    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/runtests.py", line 22, in <module>
    runpy.run_module('numba.runtests', run_name='__main__')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<frozen runpy>", line 229, in run_module
    File "<frozen runpy>", line 88, in _run_code
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/runtests.py", line 9, in <module>
    sys.exit(0 if _main(sys.argv) else 1)
    ~~~~~^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/testing/_runtests.py", line 25, in _main
    return run_tests(argv, defaultTest='numba.tests',
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    **kwds).wasSuccessful()
    ^^^^^^^
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_numba/build/numba/testing/__init__.py", line 54, in run_tests
    prog = NumbaTestProgram(argv=argv,
    module=None,
    ...<3 lines>...

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)