diff --git a/ci/min_deps_check.py b/ci/min_deps_check.py index 9631cb03162..0f7002ea513 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 = [] @@ -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), } ) 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 `_) 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 ~~~~~~~~~~~~