From bb58515ac9ef01ca653afb0bc112a95fe1d20711 Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Tue, 25 Jun 2024 15:45:28 -0500 Subject: [PATCH] DEP: Pin geopandas<1 & numpy<2 (#175) --- .github/workflows/tests.yaml | 3 ++- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6618b2d..98f6d30 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,7 +40,8 @@ jobs: environment-name: test create-args: >- python=${{ matrix.python-version }} - geopandas + geopandas<1 + numpy<2 netcdf4 odc-geo pandoc diff --git a/pyproject.toml b/pyproject.toml index 188e670..8ab7eb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,14 +35,14 @@ requires-python = ">=3.10" dependencies = [ "appdirs", "click>=6.0", - "geopandas>=0.7", + "geopandas>=0.7,<1", "odc_geo", "rasterio>=1.3", "rioxarray>=0.4", "scipy", "xarray>=0.17", "pyproj>=2", - "numpy>=1.20", + "numpy>=1.20,<2", ] [project.urls]