diff --git a/conda-environments/docbuild.yml b/conda-environments/docbuild.yml index f89e1ac1c..6a9b88ef2 100644 --- a/conda-environments/docbuild.yml +++ b/conda-environments/docbuild.yml @@ -28,7 +28,7 @@ dependencies: - myst-nb - myst-parser - numba >= 0.56.4 -- numpy >= 1.16.1 +- numpy >= 1.16.1, <2 - numpydoc - openmatrix >= 0.3.4.1 - orca >= 1.6 diff --git a/pyproject.toml b/pyproject.toml index 92e8d85f7..07ec493ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dynamic = ["version"] dependencies = [ "cytoolz >= 0.8.1", "numba >= 0.55.2", - "numpy >= 1.16.1", + "numpy >= 1.16.1, <2", "openmatrix >= 0.3.4.1", "orca >= 1.6", "pandas >= 1.4, <2",