From a987090d41d59d868b303ddade24a7aa2106792e Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:51:44 -0400 Subject: [PATCH] Pin NumPy to <2.0.0 --- ci/doc.yml | 1 + ci/environment.yml | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/doc.yml b/ci/doc.yml index a773851..4289ebf 100644 --- a/ci/doc.yml +++ b/ci/doc.yml @@ -9,6 +9,7 @@ dependencies: - sphinx>=5.0 - sphinx-book-theme >= 0.3.0 - numpydoc + - numpy<2.0.0 - myst-parser - pip: - -e "..[xesmf]" diff --git a/ci/environment.yml b/ci/environment.yml index 566b9a1..d0379c1 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -10,7 +10,7 @@ dependencies: - mercantile - mpich - netcdf4 - - numpy + - numpy<2.0.0 - pip - pooch - pre-commit diff --git a/pyproject.toml b/pyproject.toml index 7e9a3d8..17e8e83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,11 +26,12 @@ dynamic = ["version"] dependencies = [ "cf_xarray>=0.8.0", - "xarray-datatree >= 0.0.11", + "xarray-datatree>=0.0.11", "zarr", "pydantic>=1.10", "pyproj", "rasterio", + "numpy<2.0.0" ] [project.optional-dependencies]