FS#77408 - [python-numba] not compatible with up-to-date python-numpy.

Attached to Project: Community Packages
Opened by Oid Maps (dreieck) - Monday, 06 February 2023, 16:34 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 February 2023, 17:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

## Description:

The up to date package `python-numba` (version 0.56.4-2) in the `community` repository is not compatible with the up to date `python-numpy` (version 1.24.1-1) in the `extra` repository.

When I run the AUR package [`audio-offset-finder-git`](https://aur.archlinux.org/packages/audio-offset-finder-git), it fails with

```
[...]
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
```

There is an upstream bug report about this [here](https://github.com/numba/numba/issues/8615) which suggests that only older versions of NumPy are supported.

Having installed `python-numba-git` from the AUR does mitigate the issue.

So, in order to make the Arch repo packages `python-numba` and `python-numpy` compatible, some patch needs to be added to `python-numba` until it officially releases a fixed version.


## Additional info:

* package version(s)
- python-numba: 0.56.4-2
- python-numpy: 1.24.1-1
* link to upstream bug report, if any
- https://github.com/numba/numba/issues/8615


## Steps to reproduce:

See "Description:" above.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 06 February 2023, 17:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#77269 

Loading...