From 28b196fe48b5ab10a3411315f385b9637d33720b Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Fri, 28 Apr 2023 15:53:09 +0200 Subject: [PATCH 1/3] extend the policy interval for python to 30 months --- ci/min_deps_check.py | 2 +- doc/getting-started-guide/installing.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/min_deps_check.py b/ci/min_deps_check.py index 9631cb03162..c6eb2dfff47 100755 --- a/ci/min_deps_check.py +++ b/ci/min_deps_check.py @@ -29,7 +29,7 @@ "pytest-timeout", } -POLICY_MONTHS = {"python": 24, "numpy": 18} +POLICY_MONTHS = {"python": 30, "numpy": 18} POLICY_MONTHS_DEFAULT = 12 POLICY_OVERRIDE: dict[str, tuple[int, int]] = {} errors = [] diff --git a/doc/getting-started-guide/installing.rst b/doc/getting-started-guide/installing.rst index 6fa068457c9..9fee849a341 100644 --- a/doc/getting-started-guide/installing.rst +++ b/doc/getting-started-guide/installing.rst @@ -86,7 +86,7 @@ Minimum dependency versions Xarray adopts a rolling policy regarding the minimum supported version of its dependencies: -- **Python:** 24 months +- **Python:** 30 months (`NEP-29 `_) - **numpy:** 18 months (`NEP-29 `_) From e1a1f7803015b686ffc93cc02352bd10da3f9258 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Fri, 28 Apr 2023 16:24:10 +0200 Subject: [PATCH 2/3] extend the hard-coded list of python release dates --- ci/min_deps_check.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/min_deps_check.py b/ci/min_deps_check.py index c6eb2dfff47..0f7002ea513 100755 --- a/ci/min_deps_check.py +++ b/ci/min_deps_check.py @@ -109,6 +109,9 @@ def metadata(entry): (3, 6): datetime(2016, 12, 23), (3, 7): datetime(2018, 6, 27), (3, 8): datetime(2019, 10, 14), + (3, 9): datetime(2020, 10, 5), + (3, 10): datetime(2021, 10, 4), + (3, 11): datetime(2022, 10, 24), } ) From e8ff9fe1341ec024df4924d559d92f7a9f66c93a Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Fri, 28 Apr 2023 17:20:03 +0200 Subject: [PATCH 3/3] changelog --- doc/whats-new.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index bfc040eb271..d690cf3a824 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -26,7 +26,8 @@ New Features Breaking changes ~~~~~~~~~~~~~~~~ - +- adjust the deprecation policy for python to once again align with NEP-29 (:issue:`7765`, :pull:`7793`) + By `Justus Magin `_. Deprecations ~~~~~~~~~~~~