Skip to content

Commit 5515e01

Browse files
committed
Add special handling for numpy 1.26.4
1 parent 9e97a25 commit 5515e01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/tests/helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,10 @@ def is_intel_numpy():
427427
build_deps = numpy.show_config(mode="dicts")["Build Dependencies"]
428428
blas = build_deps["blas"]
429429
lapack = build_deps["lapack"]
430+
431+
if numpy_version() < "2.0.0":
432+
# numpy 1.26.4 has LAPACK name equals to 'dep140030038112336'
433+
return "mkl-dynamic" in blas["name"]
430434
return all("mkl-dynamic" in dep["name"] for dep in [blas, lapack])
431435

432436

0 commit comments

Comments
 (0)