FS#77269 - [python-numba] SystemError: initialization of _internal failed without raising an exception
Attached to Project:
Community Packages
Opened by Carlos Aznarán (carlosal1015) - Thursday, 26 January 2023, 17:14 GMT
Last edited by Toolybird (Toolybird) - Saturday, 29 April 2023, 22:15 GMT
Opened by Carlos Aznarán (carlosal1015) - Thursday, 26 January 2023, 17:14 GMT
Last edited by Toolybird (Toolybird) - Saturday, 29 April 2023, 22:15 GMT
|
Details
Description: With the recent python-numpy upgrade, the
python-numba package initialization throws an error.
Additional info: * python-numba 0.56.4-2 Steps to reproduce: $ sudo pacman -Syu $ sudo pacman -S python-numba $ python Python 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import numba Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/site-packages/numba/__init__.py", line 42, in <module> from numba.np.ufunc import (vectorize, guvectorize, threading_layer, File "/usr/lib/python3.10/site-packages/numba/np/ufunc/__init__.py", line 3, in <module> from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize File "/usr/lib/python3.10/site-packages/numba/np/ufunc/decorators.py", line 3, in <module> from numba.np.ufunc import _internal SystemError: initialization of _internal failed without raising an exception |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 29 April 2023, 22:15 GMT
Reason for closing: Fixed
Additional comments about closing: python-numba 0.57.0rc1-1
Saturday, 29 April 2023, 22:15 GMT
Reason for closing: Fixed
Additional comments about closing: python-numba 0.57.0rc1-1
[1] https://github.com/numba/numba/issues/8615
[2] https://github.com/numba/numba/pull/8691
If the patch [1] can be applied to the last release, would it be possible to rebuild python-numba with it?
[1] https://patch-diff.githubusercontent.com/raw/numba/numba/pull/8691.patch
FS#77369What can we do to help get this fixed?
Edit:
Forgot to attach patch.
[1] https://github.com/numba/numba/pull/8691
[2] https://github.com/NixOS/nixpkgs/pull/218929/commits/117cd915671433db1620e1701b101e481b31630d
[3] https://github.com/numba/numba/commit/d1cc6fcfd7599d6ccbdfa1b5436b128de5ec1632
Note numba will probably break again on the python 3.11 judging from the outstanding pull requests.
[1] https://github.com/numba/numba/commit/d1cc6fcfd7599d6ccbdfa1b5436b128de5ec1632
PKGBUILD.diff.python-llvmlite (0.9 KiB)