You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve an issue with cyclic import in linalg submodule (#2608)
The PR reworks the import of `linalg` submodule to avoid a wildcard
import.
Also it resolves the issue reported by pylint:
> Cyclic import (dpnp.linalg -> dpnp.linalg.dpnp_iface_linalg ->
dpnp.linalg.dpnp_utils_linalg) (cyclic-import)
and moves `LinAlgError` exception to be exposed by LAPACK pybind11
extension, because it is created there.
While later the exception patched at python level to be set to
"dpnp.linalg" submodule explicitly.
Otherwise we have the import cycle like:
> linalg/__init__.py -> dpnp_iface_linalg.py -> dpnp_utils_linalg.py ->
linalg/__init__.py
which might cause the import failure.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ This release is compatible with NumPy 2.3.3.
74
74
* Fixed tests for the rounding functions to depend on minimum required numpy version [#2589](https://github.com/IntelPython/dpnp/pull/2589)
75
75
* Fixed tests for the ufuncs to depend on minimum required numpy version [#2590](https://github.com/IntelPython/dpnp/pull/2590)
0 commit comments