diff --git a/pyproject.toml b/pyproject.toml index 01f8e041..c836efa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,8 @@ dependencies = [ "lazy_loader", "matplotlib >= 3.5", "numba >= 0.57", - "numpy >= 1.23.0", + # TODO: Remove pinning of NumPy <2 once HyperSpy 2.0 is supported + "numpy >= 1.23.0, <2", "orix >= 0.12.1", "pooch >= 1.3.0", "pyyaml",