-
-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Description
Our CI pipelines have started breaking due to the just released version of numexpr (2.14.0)
We have numpy 1.26 installed. If numexpr is imported, there is an immediate crash.
In its requirements, numexpr supports numpy>1.23 - could either that should be changed or a workaround for numpy<2.0 be included?
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[2], line 1
----> 1 import numexpr
File python3.12/site-packages/numexpr/__init__.py:41
37 # cpuinfo imports were moved into the test submodule function that calls them
38 # to improve import times.
40 from numexpr.expressions import E as E
---> 41 from numexpr.necompiler import NumExpr as NumExpr
42 from numexpr.necompiler import disassemble as disassemble
43 from numexpr.necompiler import evaluate as evaluate
File python3.12/site-packages/numexpr/necompiler.py:762
758 source.append(parsed)
759 return source
--> 762 def getType(a: numpy.typing.NDArray[Any] | numpy.generic) -> type:
763 kind = a.dtype.kind
764 if kind == 'b':
File python3.12/site-packages/numpy/__init__.py:333, in __getattr__(attr)
330 "Removed in NumPy 1.25.0"
331 raise RuntimeError("Tester was removed in NumPy 1.25.")
--> 333 raise AttributeError("module {!r} has no attribute "
334 "{!r}".format(__name__, attr))
AttributeError: module 'numpy' has no attribute 'typing'
db-hui, PBehnen, Giuseppe5, Palushok, torfsen and 9 more
Metadata
Metadata
Assignees
Labels
No labels