Skip to content

Commit d02cd90

Browse files
authored
Merge branch 'main' into fix-fig-region
2 parents 6c61a0c + 0c31fc4 commit d02cd90

214 files changed

Lines changed: 4043 additions & 1657 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/3-module_request.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ labels: ["feature request"]
2727
- [ ] ~~`-X`/`-Y`~~: Use `Figure.shift_origin` instead.
2828
- [ ] ~~`--PAR=value`~~: Use `pygmt.config` instead.
2929

30+
## Related GMT configurations
31+
32+
*List any related GMT configurations that may affect the behavior.*
33+
3034
## Notes on Input Formats
3135

3236
*Add any notes on the input formats, especially the meaning of columns.*

.github/ISSUE_TEMPLATE/4-release_checklist.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ assignees: ''
2020

2121
**Before release**:
2222

23-
- [ ] 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)
23+
- [ ] 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)
2424
- [ ] Review the ["PyGMT Team" page](https://www.pygmt.org/dev/team.html)
2525
- [ ] README looks good on TestPyPI. Visit [TestPyPI](https://test.pypi.org/project/pygmt/#history), click the latest pre-release, and check the homepage.
26+
- [ ] Review new parameter names added/changed for clarity and consistency across the API
2627
- [ ] Check to ensure that:
2728
- [ ] Deprecated workarounds/codes/tests are removed. Run `grep -r "# TODO" --include="*.py" .` to find all potential TODOs.
2829
- [ ] All tests pass in the ["GMT Legacy Tests" workflow](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_legacy.yaml)
2930
- [ ] All tests pass in the ["GMT Dev Tests" workflow](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_dev.yaml)
3031
- [ ] All tests pass in the ["Doctests" workflow](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_doctests.yaml)
32+
- [ ] All links work in the ["Check Links" workflow](https://github.com/GenericMappingTools/pygmt/actions/workflows/check-links.yml)
3133
- [ ] Update warnings in `pygmt/_show_versions.py` as well as notes in [Not working transparency](https://www.pygmt.org/dev/install.html#not-working-transparency) regarding GMT-Ghostscript incompatibility
3234
- [ ] Reserve a DOI on [Zenodo](https://zenodo.org) by clicking on "New Version"
3335
- [ ] Finish up the "Changelog entry for v0.x.x" Pull Request (Use the previous changelog PR as a reference)
@@ -52,7 +54,7 @@ assignees: ''
5254
- [ ] Bump PyGMT version on https://github.com/GenericMappingTools/try-gmt (after conda-forge update)
5355
- [ ] Announce the release on:
5456
- [ ] GMT [forum](https://forum.generic-mapping-tools.org/c/news/) (do this announcement first! Requires moderator status)
55-
- [ ] [ResearchGate](https://www.researchgate.net) (after forum announcement; download the ZIP file of the new release from the release page and add it as research item via the **code** category, be sure to include the corresponding new Zenodo DOI)
57+
- [ ] [ResearchGate](https://www.researchgate.net) (after forum announcement; download the ZIP file of the new release from Zenodo and add it as research item via the **code** category, be sure to include the corresponding new Zenodo DOI)
5658
- [ ] Update release checklist template with any additional bullet points that may have arisen during the release
5759

5860
---

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ updates:
1616
- "skip-changelog"
1717
cooldown:
1818
default-days: 7
19+
20+
- package-ecosystem: "pre-commit"
21+
directory: "/"
22+
schedule:
23+
interval: "quarterly"
24+
labels:
25+
- "maintenance"
26+
- "skip-changelog"

.github/release-drafter.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ exclude-contributors:
2424
- 'actions-bot'
2525
- 'dependabot'
2626
- 'dependabot[bot]'
27-
- 'pre-commit-ci'
28-
- 'pre-commit-ci[bot]'
2927
category-template: '### $TITLE'
3028
change-template: '* $TITLE ([#$NUMBER]($URL))'
3129
sort-by: 'title'

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
# Run the benchmark tests
8686
- name: Run benchmarks
87-
uses: CodSpeedHQ/action@972e3437949c89e1357ebd1a2dbc852fcbc57245 # v4.5.1
87+
uses: CodSpeedHQ/action@281164b0f014a4e7badd2c02cecad9b595b70537 # v4.11.1
8888
with:
8989
mode: "instrumentation"
9090
# 'bash -el -c' is needed to use the custom shell.

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
# Upload the downloaded files as artifacts to GitHub
7676
- name: Upload artifacts to GitHub
77-
uses: actions/upload-artifact@v6.0.0
77+
uses: actions/upload-artifact@v7.0.0
7878
with:
7979
name: gmt-cache
8080
include-hidden-files: true

.github/workflows/cache_dvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/
5353
5454
- name: Upload DVC cache as artifacts to GitHub
55-
uses: actions/upload-artifact@v6.0.0
55+
uses: actions/upload-artifact@v7.0.0
5656
with:
5757
name: dvc-cache
5858
include-hidden-files: true

.github/workflows/check-links.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Link Checker
4242
id: lychee
43-
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0
43+
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
4444
with:
4545
fail: false # Don't fail action on broken links
4646
output: /tmp/lychee-out.md
@@ -70,7 +70,6 @@ jobs:
7070
--exclude "^https://www.researchgate.net/"
7171
--exclude "^https://zenodo.org/badge/DOI/"
7272
--exclude "^https://stackoverflow.com/a/69170441"
73-
--verbose
7473
"repository/*.md"
7574
"repository/**/*.py"
7675
"documentation/dev/**/*.html"

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
cd ../..
151151
152152
- name: Upload PDF as artifact for previewing on pull requests
153-
uses: actions/upload-artifact@v6.0.0
153+
uses: actions/upload-artifact@v7.0.0
154154
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
155155
with:
156156
name: artifact-pygmt-docs-pdf

.github/workflows/ci_tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
test:
5252
name: ${{ matrix.os }} - Python ${{ matrix.python-version }}
5353
runs-on: ${{ matrix.os }}
54+
environment:
55+
name: pr-tests
56+
deployment: false
5457
permissions:
5558
id-token: write # This is required for requesting OIDC token for codecov
5659
strategy:
@@ -151,7 +154,7 @@ jobs:
151154
GH_TOKEN: ${{ github.token }}
152155

153156
- name: Install uv
154-
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
157+
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
155158
with:
156159
activate-environment: true
157160
python-version: ${{ matrix.python-version }}
@@ -190,7 +193,7 @@ jobs:
190193

191194
# Upload diff images on test failure
192195
- name: Upload diff images if any test fails
193-
uses: actions/upload-artifact@v6.0.0
196+
uses: actions/upload-artifact@v7.0.0
194197
if: failure()
195198
with:
196199
name: artifact-${{ matrix.os }}-${{ matrix.python-version }}

0 commit comments

Comments
 (0)