From 0cade824c8b4543ce3149237287b50a892322513 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 5 Aug 2024 01:30:49 +0800 Subject: [PATCH] SPEC 0: Bump minimum supported versions to xarray 2022.09 --- .github/workflows/ci_tests.yaml | 2 +- doc/minversions.md | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 362c8c5df76..fe5220ba67b 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -72,7 +72,7 @@ jobs: - python-version: '3.10' numpy-version: '1.24' pandas-version: '=1.5' - xarray-version: '=2022.06' + xarray-version: '=2022.09' optional-packages: '' - python-version: '3.12' numpy-version: '2.0' diff --git a/doc/minversions.md b/doc/minversions.md index 1e5ac8f8e46..dc3e0f4c7e7 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -12,7 +12,7 @@ after their initial release. | PyGMT Version | GMT | Python | NumPy | Pandas | Xarray | |---|---|---|---|---|---| -| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.06 | +| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.09 | | [v0.12.0][] [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 | | [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | | | [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | | diff --git a/environment.yml b/environment.yml index 4e828dc34ef..3e76f1e23c6 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.03.1 - numpy>=1.24 - pandas>=1.5 - - xarray>=2022.06 + - xarray>=2022.09 - netCDF4 - packaging # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index e61ec4bd818..39571bf590e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "numpy>=1.24", "pandas>=1.5", - "xarray>=2022.06", + "xarray>=2022.09", "netCDF4", "packaging", ] diff --git a/requirements.txt b/requirements.txt index c48eb0f989f..c718e89cfbb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.24 pandas>=1.5 -xarray>=2022.06 +xarray>=2022.09 netCDF4 packaging