From b1a72fcffd6dd01e9e8bc1e9046ef144e461e563 Mon Sep 17 00:00:00 2001 From: Tom Vo Date: Thu, 31 Oct 2024 12:38:12 -0700 Subject: [PATCH] Update numpy constraint to `>=2.0.0,<=3.0.0` (#711) - Update other dependency constraints to min version that supports NumPy 2.0 --- conda-env/ci.yml | 8 ++++---- conda-env/dev.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/conda-env/ci.yml b/conda-env/ci.yml index 38cca780..5be1b664 100644 --- a/conda-env/ci.yml +++ b/conda-env/ci.yml @@ -7,15 +7,15 @@ dependencies: # Base - required for building the package. # ========================================= - python >=3.9 - - cf_xarray >=0.7.3 + - cf_xarray >=0.9.1 - cftime - dask - netcdf4 - - numpy >=1.23.0,<2.0 + - numpy >=2.0.0,<=3.0.0 - pandas - python-dateutil - - xarray >=2022.02.0 - - xesmf >=0.7.0 + - xarray >=2024.03.0 + - xesmf >=0.8.7 - xgcm # Quality Assurance # ================== diff --git a/conda-env/dev.yml b/conda-env/dev.yml index eca2f9cf..3516db46 100644 --- a/conda-env/dev.yml +++ b/conda-env/dev.yml @@ -7,19 +7,19 @@ dependencies: # Base - required for building the package. # ========================================= - python >=3.9 - - cf_xarray >=0.7.3 + - cf_xarray >=0.9.1 - cftime - dask - netcdf4 - - numpy >=1.23.0,<2.0 + - numpy >=2.0.0,<=3.0.0 - pandas - python-dateutil - - xarray >=2022.02.0 - - xesmf >=0.7.0 + - xarray >=2024.03.0 + - xesmf >=0.8.7 - xgcm # Optional - enables additional features. # ========================================= - - matplotlib-base >=3.7.0 + - matplotlib-base >=3.8.4 - nc-time-axis >=1.4.1 # Documentation # ==================