From 0e21a6912ba1824671940a5609c1b2b313ca6e1d Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:26:05 +1300 Subject: [PATCH] Remove numpy<2 pin (#179) Incompatibility with numpy=2.0 should have been fixed in rasterio 1.4.0 (https://github.com/rasterio/rasterio/pull/3109). --- .github/workflows/tests.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index df8fa47..6533549 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -41,7 +41,7 @@ jobs: create-args: >- python=${{ matrix.python-version }} geopandas - numpy<2 + numpy netcdf4 odc-geo pandoc diff --git a/pyproject.toml b/pyproject.toml index 62b294f..40f69e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ "scipy", "xarray>=0.17", "pyproj>=2", - "numpy>=1.20,<2", + "numpy>=1.20", ] [project.urls]