From 949b5dd5cb5ed842f9cf3fa6d6729583cb9f7605 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 1 Apr 2024 08:02:19 +0800 Subject: [PATCH] SPEC 0: Bump minimum supported versions to xarray 2022.06 --- .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 d5da30e7bb4..490e576ff67 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -70,7 +70,7 @@ jobs: - python-version: '3.10' numpy-version: '1.23' pandas-version: '=1.5' - xarray-version: '=2022.03' + xarray-version: '=2022.06' optional-packages: '' - python-version: '3.12' numpy-version: '1.26' diff --git a/doc/minversions.md b/doc/minversions.md index aafa03284e4..b2fa02cd9f4 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.23 | >=1.5 | >=2022.03 | +| [Dev][]* [[Docs][Docs Dev]] | >=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 | | | | [v0.9.0][] [[Docs][Docs v0.9.0]] | >=6.3.0 | >=3.8 | >=1.21 | | | diff --git a/environment.yml b/environment.yml index 08d54e1cb41..e0a9ad0da8b 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.03.0 - numpy>=1.23 - pandas>=1.5 - - xarray>=2022.03 + - xarray>=2022.06 - netCDF4 - packaging # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index 27637b2f6a9..0b9daf9ab16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "numpy>=1.23", "pandas>=1.5", - "xarray>=2022.03", + "xarray>=2022.06", "netCDF4", "packaging", ] diff --git a/requirements.txt b/requirements.txt index 0adb02054dd..000de0692eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.23 pandas>=1.5 -xarray>=2022.03 +xarray>=2022.06 netCDF4 packaging