diff --git a/.github/ISSUE_TEMPLATE/release_checklist.md b/.github/ISSUE_TEMPLATE/release_checklist.md index 6a36d0665f6..51c85f0a5ee 100644 --- a/.github/ISSUE_TEMPLATE/release_checklist.md +++ b/.github/ISSUE_TEMPLATE/release_checklist.md @@ -16,7 +16,7 @@ assignees: '' - [ ] Wrap Y () **Before release**: -- [ ] Check [NEP29](https://numpy.org/neps/nep-0029-deprecation_policy.html) to see if we need to bump the minimum Python and NumPy versions +- [ ] Check [SPEC 0](https://scientific-python.org/specs/spec-0000/) to see if we need to bump the minimum supported versions of Python and core package dependencies (NumPy/Pandas/Xarray) - [ ] Run `make codespell` to check common misspellings. If there are any, either fix them or add them to `ignore-words-list` in `pyproject.toml` - [ ] Check to ensure that: - [ ] All tests pass in the ["GMT Legacy Tests" workflow](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_legacy.yaml) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 47bf9be6b90..c240190296c 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -17,7 +17,7 @@ # In draft pull request, only two jobs on Linux are triggered to save on # Continuous Integration resources: # -# - Minimum [NEP29](https://numpy.org/neps/nep-0029-deprecation_policy) Python/NumPy versions +# - Minimum supported Python/NumPy/Pandas/Xarray versions following [SPEC 0](https://scientific-python.org/specs/spec-0000/) # - Latest Python/NumPy versions + optional packages (e.g. GeoPandas) # name: Tests diff --git a/README.rst b/README.rst index d476cf4ca14..1368c1325a3 100644 --- a/README.rst +++ b/README.rst @@ -253,16 +253,15 @@ Other non-official Python wrappers for GMT (not maintained): .. doc-index-end-before -Minimum Supported GMT/Python/NumPy Versions -------------------------------------------- +Minimum Supported Versions +-------------------------- -PyGMT has adopted `NEP29 `__ -alongside the rest of the Scientific Python ecosystem, and therefore supports: +PyGMT has adopted `SPEC 0 `__ alongside +the rest of the Scientific Python ecosystem, and therefore: -* All minor versions of Python released 42 months prior to the project, and at minimum - the two latest minor versions. -* All minor versions of NumPy released in the 24 months prior to the project, and at - minimum the last three minor versions. +* Support for Python versions be dropped 3 years after their initial release. +* Support for core package dependencies (NumPy/Pandas/Xarray) be dropped 2 years after their initial release. -For the supported GMT versions as well as the minimum required Python and NumPy versions -please see `Minimum Required Versions `__. +For the supported GMT versions as well as the minimum required versions of Python and +core package dependencies, please see +`Minimum Supported Versions `__. diff --git a/doc/index.rst b/doc/index.rst index 4130e5e51b5..3f22b1db16b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -40,7 +40,7 @@ api/index.rst changes.md - Minimum Supported Versions + minversions.rst .. toctree:: :maxdepth: 2 diff --git a/doc/maintenance.md b/doc/maintenance.md index 20007c272eb..914b30a6a49 100644 --- a/doc/maintenance.md +++ b/doc/maintenance.md @@ -119,17 +119,15 @@ to change the default behaviour at `__ -alongside the rest of the Scientific Python ecosystem, and therefore supports: +PyGMT has adopted `SPEC 0 `__ alongside +the rest of the Scientific Python ecosystem, and therefore: -* All minor versions of Python released 42 months prior to the project, and at minimum - the two latest minor versions. -* All minor versions of NumPy released in the 24 months prior to the project, and at - minimum the last three minor versions. +* Support for Python versions be dropped 3 years after their initial release. +* Support for core package dependencies (NumPy/Pandas/Xarray) be dropped 2 years after their initial release. .. list-table:: :widths: 25 30 15 20 15