diff --git a/setup.py b/setup.py index 22db6941..d83a37a5 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,8 @@ "Topic :: Scientific/Engineering", ] -INSTALL_REQUIRES = ["numpy >= 1.20", "typing-extensions >= 4.1.0, !=4.6.0"] +# tests/tensor_ops/test_getitem.py::test_getitem_advindex_bool_bkwdprop segfaults +INSTALL_REQUIRES = ["numpy >= 1.20, !=1.25.0", "typing-extensions >= 4.1.0, !=4.6.0"] TESTS_REQUIRE = ["pytest >= 3.8", "hypothesis >= 6.17.1", "scipy"] DESCRIPTION = "Brings drop-in automatic differentiation to NumPy" diff --git a/src/mygrad/tensor_base.py b/src/mygrad/tensor_base.py index 07cec74b..a5d2565a 100644 --- a/src/mygrad/tensor_base.py +++ b/src/mygrad/tensor_base.py @@ -2346,7 +2346,7 @@ def __gt__(self, other: ArrayLike) -> np.ndarray: def __ge__(self, other: ArrayLike) -> np.ndarray: return np.ndarray.__ge__(self.data, asarray(other)) - def __imatmul__(self, other): + def __imatmul__(self, other): # pragma: no cover raise TypeError( "In-place matrix multiplication is not (yet) supported. " "Use 'a = a @ b' instead of 'a @= b'"