From 5d150131364800291b75d08e3066bfdfcfe86bb5 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 27 Sep 2024 13:36:31 +0800 Subject: [PATCH 1/4] SPEC 0: Bump minimum supported versions to pandas 2.0 --- .github/workflows/ci_tests.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 0b0d3d20d79..789dbb537b7 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -71,7 +71,7 @@ jobs: include: - python-version: '3.10' numpy-version: '1.24' - pandas-version: '=1.5' + pandas-version: '=2.0' xarray-version: '=2022.09' optional-packages: '' - python-version: '3.12' diff --git a/environment.yml b/environment.yml index 3b8d97b8ca8..e1185423f97 100644 --- a/environment.yml +++ b/environment.yml @@ -8,7 +8,7 @@ dependencies: - gmt=6.5.0 - ghostscript=10.04.0 - numpy>=1.24 - - pandas>=1.5 + - pandas>=2.0 - xarray>=2022.09 - netCDF4 - packaging diff --git a/pyproject.toml b/pyproject.toml index 39571bf590e..c6a236d8dc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ classifiers = [ ] dependencies = [ "numpy>=1.24", - "pandas>=1.5", + "pandas>=2.0", "xarray>=2022.09", "netCDF4", "packaging", diff --git a/requirements.txt b/requirements.txt index c718e89cfbb..b9fe219d331 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.24 -pandas>=1.5 +pandas>=2.0 xarray>=2022.09 netCDF4 packaging From 12b57ad99f438161e76e09a2fdfae648da85d20e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 27 Sep 2024 14:10:09 +0800 Subject: [PATCH 2/4] Bump xarray to 2022.11 --- .github/workflows/ci_tests.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 789dbb537b7..dea7f589504 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: '=2.0' - xarray-version: '=2022.09' + xarray-version: '=2022.11' optional-packages: '' - python-version: '3.12' numpy-version: '2.1' diff --git a/environment.yml b/environment.yml index e1185423f97..740b4aabe7f 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.04.0 - numpy>=1.24 - pandas>=2.0 - - xarray>=2022.09 + - xarray>=2022.11 - netCDF4 - packaging # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index c6a236d8dc9..026930fc7a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "numpy>=1.24", "pandas>=2.0", - "xarray>=2022.09", + "xarray>=2022.11", "netCDF4", "packaging", ] diff --git a/requirements.txt b/requirements.txt index b9fe219d331..9f21ab36a42 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.24 pandas>=2.0 -xarray>=2022.09 +xarray>=2022.11 netCDF4 packaging From dc0996dc135b0f6bf84dfbbd055955432ac5fd01 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 27 Sep 2024 16:57:33 +0800 Subject: [PATCH 3/4] Bump to xarray 2023.03 --- .github/workflows/ci_tests.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index dea7f589504..1cedf162e22 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: '=2.0' - xarray-version: '=2022.11' + xarray-version: '=2023.03' optional-packages: '' - python-version: '3.12' numpy-version: '2.1' diff --git a/environment.yml b/environment.yml index 740b4aabe7f..43ce0b91d07 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.04.0 - numpy>=1.24 - pandas>=2.0 - - xarray>=2022.11 + - xarray>=2023.03 - netCDF4 - packaging # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index 026930fc7a6..11f834e4e13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "numpy>=1.24", "pandas>=2.0", - "xarray>=2022.11", + "xarray>=2023.03", "netCDF4", "packaging", ] diff --git a/requirements.txt b/requirements.txt index 9f21ab36a42..7f54ed151b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.24 pandas>=2.0 -xarray>=2022.11 +xarray>=2023.03 netCDF4 packaging From 890fbd5331367074c3586136e47e05003f3587a9 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 27 Sep 2024 16:59:48 +0800 Subject: [PATCH 4/4] Bump to xarray 2023.04 --- .github/workflows/ci_tests.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 1cedf162e22..5d2db033abe 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: '=2.0' - xarray-version: '=2023.03' + xarray-version: '=2023.04' optional-packages: '' - python-version: '3.12' numpy-version: '2.1' diff --git a/environment.yml b/environment.yml index 43ce0b91d07..85d7c845866 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - ghostscript=10.04.0 - numpy>=1.24 - pandas>=2.0 - - xarray>=2023.03 + - xarray>=2023.04 - netCDF4 - packaging # Optional dependencies diff --git a/pyproject.toml b/pyproject.toml index 11f834e4e13..74516aefd87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ dependencies = [ "numpy>=1.24", "pandas>=2.0", - "xarray>=2023.03", + "xarray>=2023.04", "netCDF4", "packaging", ] diff --git a/requirements.txt b/requirements.txt index 7f54ed151b1..c74fbb0c511 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Required packages numpy>=1.24 pandas>=2.0 -xarray>=2023.03 +xarray>=2023.04 netCDF4 packaging