From 3072e79e4460db9b4d26d065e879ce9956f9ebe3 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 22 May 2026 11:40:18 +0800 Subject: [PATCH 1/3] SPEC 0: Bump minimum supported version to pandas 2.3 --- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_legacy.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 4888d36a843..7a1af943c1a 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -76,7 +76,7 @@ jobs: # Python 3.12 + core packages (minimum supported versions) + optional packages (minimum supported versions if any) - python-version: '3.12' numpy-version: '2.0' - pandas-version: '=2.2' + pandas-version: '=2.3' xarray-version: '=2024.5' optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery' # Python 3.14 + core packages (latest versions) + optional packages diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index a8250c7e9dc..e1db4adba15 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -62,7 +62,7 @@ jobs: gmt=${{ matrix.gmt_version }} ghostscript numpy=2.0 - pandas=2.2 + pandas=2.3 xarray=2024.5 packaging=24.2 contextily=1.5 diff --git a/environment.yml b/environment.yml index fa887390289..c41f4b1e364 100644 --- a/environment.yml +++ b/environment.yml @@ -8,7 +8,7 @@ dependencies: - gmt=6.6.0 - ghostscript=10.07.0 - numpy>=2.0 - - pandas>=2.2 + - pandas>=2.3 - xarray>=2024.5 - packaging>=24.2 # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index 0ca8a9e56d1..cb863b641c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ classifiers = [ ] dependencies = [ "numpy>=2.0", - "pandas>=2.2", + "pandas>=2.3", "xarray>=2024.5", "packaging>=24.2", ] From fc35d1770cbd3c566de07292c6375f6bd87a745c Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 22 May 2026 11:41:26 +0800 Subject: [PATCH 2/3] SPEC 0: Bump minimum supported version to xarray 2024.7 --- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_legacy.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 7a1af943c1a..75d97e4e2ba 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -77,7 +77,7 @@ jobs: - python-version: '3.12' numpy-version: '2.0' pandas-version: '=2.3' - xarray-version: '=2024.5' + xarray-version: '=2024.7' optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery' # Python 3.14 + core packages (latest versions) + optional packages - python-version: '3.14' diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index e1db4adba15..083b877f2c9 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -63,7 +63,7 @@ jobs: ghostscript numpy=2.0 pandas=2.3 - xarray=2024.5 + xarray=2024.7 packaging=24.2 contextily=1.5 geopandas=1.0 diff --git a/environment.yml b/environment.yml index c41f4b1e364..28b3f94d467 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.07.0 - numpy>=2.0 - pandas>=2.3 - - xarray>=2024.5 + - xarray>=2024.7 - packaging>=24.2 # Optional dependencies - contextily>=1.5 diff --git a/pyproject.toml b/pyproject.toml index cb863b641c5..4c5eefeb77d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ classifiers = [ dependencies = [ "numpy>=2.0", "pandas>=2.3", - "xarray>=2024.5", + "xarray>=2024.7", "packaging>=24.2", ] dynamic = ["version"] From e541cd5f78cb3de00b89503c025a51eb82dccb5d Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 22 May 2026 11:46:12 +0800 Subject: [PATCH 3/3] SPEC 0: Bump minimum supported version to NumPy 2.1 --- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_legacy.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 75d97e4e2ba..6aab6716e23 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -75,7 +75,7 @@ jobs: include: # Python 3.12 + core packages (minimum supported versions) + optional packages (minimum supported versions if any) - python-version: '3.12' - numpy-version: '2.0' + numpy-version: '2.1' pandas-version: '=2.3' xarray-version: '=2024.7' optional-packages: ' contextily geopandas ipython pyarrow-core rioxarray netCDF4 sphinx-gallery' diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 083b877f2c9..e15ac5fdfce 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -61,7 +61,7 @@ jobs: python=3.12 gmt=${{ matrix.gmt_version }} ghostscript - numpy=2.0 + numpy=2.1 pandas=2.3 xarray=2024.7 packaging=24.2 diff --git a/environment.yml b/environment.yml index 28b3f94d467..41a54b50c8f 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: # Required dependencies - gmt=6.6.0 - ghostscript=10.07.0 - - numpy>=2.0 + - numpy>=2.1 - pandas>=2.3 - xarray>=2024.7 - packaging>=24.2 diff --git a/pyproject.toml b/pyproject.toml index 4c5eefeb77d..f39f6fd26cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "numpy>=2.0", + "numpy>=2.1", "pandas>=2.3", "xarray>=2024.7", "packaging>=24.2",