[MacPorts] #65482: py310-numba @0.55.2_0: needs numpy 1.22, fails on numpy 1.23

MacPorts noreply at macports.org
Tue Jul 12 21:30:04 UTC 2022


#65482: py310-numba @0.55.2_0: needs numpy 1.22, fails on numpy 1.23
--------------------------+-------------------------
 Reporter:  andreavicere  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  py310-numba
--------------------------+-------------------------
 numba fails to load. Apparently, this is intended, because its init file
 raises an error upon detecting a numpy version > 1.22.

 Here is the transcript of a session reproducing the issue (for python
 3.10)
 {{{
 [~] % python
 Python 3.10.5 (main, Jun  7 2022, 08:51:33) [Clang 13.0.0
 (clang-1300.0.29.30)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import numba
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/numba/__init__.py", line 200, in <module>
     _ensure_critical_deps()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/numba/__init__.py", line 140, in _ensure_critical_deps
     raise ImportError("Numba needs NumPy 1.22 or less")
 ImportError: Numba needs NumPy 1.22 or less
 >>>
 }}}

 The same error is raised for python 3.9 .

 Presently therefore numba is not usable in macports unless manually
 downgrading numpy.

-- 
Ticket URL: <https://trac.macports.org/ticket/65482>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list