From 17fcb4c2e660bdaa940bcf97ec6756aabc12f396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:54:02 +0200 Subject: [PATCH] DOC: Change "Pandas" to "pandas" (#3525) --- .github/ISSUE_TEMPLATE/4-release_checklist.md | 3 ++- .github/workflows/ci_tests.yaml | 10 +++++----- .github/workflows/ci_tests_dev.yaml | 2 +- README.md | 2 +- doc/maintenance.md | 4 ++-- doc/minversions.md | 4 ++-- pygmt/_show_versions.py | 2 +- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/4-release_checklist.md b/.github/ISSUE_TEMPLATE/4-release_checklist.md index 379af1a6b72..59919b8fb25 100644 --- a/.github/ISSUE_TEMPLATE/4-release_checklist.md +++ b/.github/ISSUE_TEMPLATE/4-release_checklist.md @@ -19,7 +19,8 @@ assignees: '' **Before release**: -- [ ] Check [SPEC 0](https://scientific-python.org/specs/spec-0000/) to see if we need to bump the minimum supported versions of GMT, Python and core package dependencies (NumPy/Pandas/Xarray) +- [ ] Check [SPEC 0](https://scientific-python.org/specs/spec-0000/) to see if we need to bump the minimum supported versions of GMT, Python and + core package dependencies (NumPy, pandas, Xarray) - [ ] Review the ["PyGMT Team" page](https://www.pygmt.org/dev/team.html) - [ ] Check to ensure that: - [ ] Deprecations and related tests are removed for this version by running `grep --include="*.py" -r vX.Y.Z` from the base of the repository diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 8cf81f4e809..c6bd556cc94 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -17,8 +17,8 @@ # In draft pull request, only two jobs on Linux are triggered to save on # Continuous Integration resources: # -# - 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) +# - 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 @@ -65,8 +65,8 @@ jobs: isDraft: true - os: windows-latest isDraft: true - # Pair Python 3.10 with the minimum supported versions of NumPy/Pandas/Xarray - # and Python 3.12 with the latest versions of NumPy/Pandas/Xarray + # Pair Python 3.10 with the minimum supported versions of NumPy, pandas, Xarray + # and Python 3.12 with the latest versions of NumPy, pandas, Xarray # Only install optional packages on Python 3.12 include: - python-version: '3.10' @@ -79,7 +79,7 @@ jobs: pandas-version: '' xarray-version: '' optional-packages: ' contextily geopandas ipython pyarrow rioxarray sphinx-gallery' - # The job below is for testing geopandas v0.x on Ubuntu. + # The job below is for testing GeoPandas v0.x on Ubuntu. # The python-version here can't be the versions in the matrix.python-version # defined above. Otherwise, other jobs will be overridden by this one. - os: 'ubuntu-latest' diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index ea6c6edbe9a..f2444ebd883 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -1,7 +1,7 @@ # Test PyGMT with GMT dev version on Linux/macOS/Windows # # This workflow runs regular PyGMT tests with the GMT dev version, and also pre-release -# versions of several dependencies like NumPy, Pandas, Xarray, etc. If any tests fail, +# versions of several dependencies like NumPy, pandas, Xarray, etc. If any tests fail, # it also uploads the diff images as workflow artifacts. The GMT dev version is # installed by fetching the latest source codes from the GMT master branch and # compiling. diff --git a/README.md b/README.md index 316daf328b8..1ebabc748e8 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ PyGMT has adopted [SPEC 0](https://scientific-python.org/specs/spec-0000/) along rest of the Scientific Python ecosystem, and therefore: - 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 +- Support for core package dependencies (NumPy, pandas, Xarray) be dropped 2 years after their initial release. Similarly, the PyGMT team has decided to discontinue support for GMT versions 3 years diff --git a/doc/maintenance.md b/doc/maintenance.md index c7cce9e692f..bf6bb783ae1 100644 --- a/doc/maintenance.md +++ b/doc/maintenance.md @@ -127,7 +127,7 @@ PyGMT has adopted [SPEC 0](https://scientific-python.org/specs/spec-0000/) along rest of the Scientific Python ecosystem, and therefore: * 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 +* Support for core package dependencies (NumPy, pandas, Xarray) be dropped 2 years after their initial release. Similarly, the PyGMT team has decided to discontinue support for GMT versions 3 years @@ -229,7 +229,7 @@ publishing the actual release notes at [](changes.md). last release (e.g., use `git shortlog HEAD...v0.4.0 -sne`). 8. Update `doc/minversions.md` with new information on the new release version, including a vX.Y.Z documentation link, and minimum required versions of GMT, Python - and core package dependencies (NumPy/Pandas/Xarray). Follow + and core package dependencies (NumPy, pandas, Xarray). Follow [SPEC 0](https://scientific-python.org/specs/spec-0000/) for updates. 9. Refresh citation information. Specifically, the BibTeX in `README.md` and `CITATION.cff` needs to be updated with any metadata changes, including the diff --git a/doc/minversions.md b/doc/minversions.md index 888cbf28a08..38b40be609d 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -21,13 +21,13 @@ PyGMT has adopted [SPEC 0](https://scientific-python.org/specs/spec-0000/) along rest of the Scientific Python ecosystem, and therefore: - 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 +- Support for core package dependencies (NumPy, pandas, Xarray) be dropped 2 years after their initial release. Similarly, the PyGMT team has decided to discontinue support for GMT versions 3 years after their initial release. -| PyGMT Version | GMT | Python | NumPy | Pandas | Xarray | +| PyGMT Version | GMT | Python | NumPy | pandas | Xarray | |---|---|---|---|---|---| | [Dev][]* [] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} | | [] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.09 | diff --git a/pygmt/_show_versions.py b/pygmt/_show_versions.py index 6371c3ea309..33da579b06b 100644 --- a/pygmt/_show_versions.py +++ b/pygmt/_show_versions.py @@ -103,7 +103,7 @@ def show_versions(file: TextIO | None = sys.stdout): - PyGMT itself - System information (Python version, Operating System) - - Core dependency versions (NumPy, Pandas, Xarray, etc) + - Core dependency versions (NumPy, pandas, Xarray, etc) - GMT library information It also warns users if the installed Ghostscript version has serious bugs or is