Skip to content

Commit 6aa4888

Browse files
committed
Merge branch 'main' into pep621
2 parents f1015f5 + 5a8a5cc commit 6aa4888

File tree

142 files changed

+350
-433
lines changed

Some content is hidden

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

142 files changed

+350
-433
lines changed

.github/ISSUE_TEMPLATE/bump_gmt_checklist.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,23 @@ assignees: ''
1414

1515
<!-- Please add specific checklist items for the tests, xfail pytest markers, and deprecated syntax that need to be updated. -->
1616

17-
**To-Do**:
18-
- [ ] Bump the minimum required GMT version (1 PR)
17+
**To-Do for bumping the GMT version in CI**:
18+
19+
- [ ] Bump the GMT version in CI (1 PR)
1920
- [ ] Update `.github/workflows/cache_data.yaml`
2021
- [ ] Update `.github/workflows/ci_docs.yml`
2122
- [ ] Update `.github/workflows/ci_tests.yaml`
22-
- [ ] Update `doc/install.rst`
23+
- [ ] Update `ci/requirements/docs.yml`
2324
- [ ] Update `environment.yml`
25+
- [ ] Fix failing tests (1 or more PRs)
26+
- [ ] Fix [xfail](https://docs.pytest.org/en/stable/skipping.html#xfail-mark-test-functions-as-expected-to-fail) pytest markers on tests that are now xpass
27+
28+
**To-Do for bumping the minimum required GMT version**:
29+
30+
- [ ] Bump the minimum required GMT version (1 PR)
31+
- [ ] Update `doc/install.rst`
2432
- [ ] Update `required_version` in `pygmt/clib/session.py`
2533
- [ ] Update `test_get_default` in `pygmt/tests/test_clib.py`
2634
- [ ] Update compatibility table in `README.rst`
27-
- [ ] Fix failing tests (1 or more PRs)
2835
- [ ] Remove [xfail](https://docs.pytest.org/en/stable/skipping.html#xfail-mark-test-functions-as-expected-to-fail) pytest markers on tests that are now xpass
2936
- [ ] Update deprecated syntax in source code and examples based on the [GMT Changelog](https://docs.generic-mapping-tools.org/latest/changes.html)

.github/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
########################################################################################
33
# Comment to be posted to on first time issues
44
newIssueWelcomeComment: |
5-
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our [contributing guidelines](https://github.com/GenericMappingTools/pygmt/blob/main/CONTRIBUTING.md) and [code of conduct](https://github.com/GenericMappingTools/pygmt/blob/main/CODE_OF_CONDUCT.md).
5+
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our [contributing guidelines](https://github.com/GenericMappingTools/pygmt/blob/main/CONTRIBUTING.md) and [code of conduct](https://github.com/GenericMappingTools/.github/blob/main/CODE_OF_CONDUCT.md).
66
77
# Comment to be posted to on PRs from first time contributors in your repository
88
newPRWelcomeComment: |
99
💖 Thanks for opening this pull request! 💖
1010
11-
Please make sure you read our [contributing guidelines](https://github.com/GenericMappingTools/pygmt/blob/main/CONTRIBUTING.md) and abide by our [code of conduct](https://github.com/GenericMappingTools/pygmt/blob/main/CODE_OF_CONDUCT.md).
11+
Please make sure you read our [contributing guidelines](https://github.com/GenericMappingTools/pygmt/blob/main/CONTRIBUTING.md) and abide by our [code of conduct](https://github.com/GenericMappingTools/.github/blob/main/CODE_OF_CONDUCT.md).
1212
1313
A few things to keep in mind:
1414

.github/readme-example.png

-668 KB
Binary file not shown.

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Install GMT and other required dependencies from conda-forge
3939
- name: Install dependencies
4040
run: |
41-
mamba install gmt=6.3.0 numpy pandas xarray netCDF4 packaging \
41+
mamba install gmt=6.4.0 numpy pandas xarray netCDF4 packaging \
4242
build
4343
4444
# Install the package that we want to test

.github/workflows/check-links.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
path: documentation
2727

2828
- name: Link Checker
29-
uses: lycheeverse/[email protected].0
29+
uses: lycheeverse/[email protected].1
3030
with:
3131
# 429: Too many requests
3232
args: >
@@ -45,6 +45,7 @@ jobs:
4545
--exclude "^https://hackmd.io/@pygmt"
4646
--exclude "^https://doi.org"
4747
--exclude "^https://www.researchgate.net/project/"
48+
--exclude "^https://test.pypi.org/simple/"
4849
--verbose
4950
"repository/**/*.rst"
5051
"repository/**/*.md"

.github/workflows/ci_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
# Install GMT and other required dependencies from conda-forge
7171
- name: Install dependencies
7272
run: |
73-
mamba install gmt=6.3.0 numpy pandas xarray netCDF4 packaging \
73+
mamba install gmt=6.4.0 numpy pandas xarray netCDF4 packaging \
7474
build ipython make myst-parser geopandas \
7575
sphinx sphinx-copybutton sphinx-design sphinx-gallery sphinx_rtd_theme
7676
@@ -80,7 +80,7 @@ jobs:
8080

8181
# Download cached remote files (artifacts) from GitHub
8282
- name: Download remote data from GitHub
83-
uses: dawidd6/action-download-artifact@v2.21.1
83+
uses: dawidd6/action-download-artifact@v2.22.0
8484
with:
8585
workflow: cache_data.yaml
8686
workflow_conclusion: success

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
# Install GMT and other required dependencies from conda-forge
9191
- name: Install dependencies
9292
run: |
93-
mamba install gmt=6.3.0 numpy=${{ matrix.numpy-version }} \
93+
mamba install gmt=6.4.0 numpy=${{ matrix.numpy-version }} \
9494
pandas xarray netCDF4 packaging \
9595
${{ matrix.optional-packages }} \
9696
build dvc make pytest>=6.0 \
@@ -102,7 +102,7 @@ jobs:
102102

103103
# Download cached remote files (artifacts) from GitHub
104104
- name: Download remote data from GitHub
105-
uses: dawidd6/action-download-artifact@v2.21.1
105+
uses: dawidd6/action-download-artifact@v2.22.0
106106
with:
107107
workflow: cache_data.yaml
108108
workflow_conclusion: success

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,8 @@ jobs:
108108
- name: Pull baseline image data from dvc remote
109109
if: github.event_name == 'schedule'
110110
run: |
111-
ORIGINAL_BRANCH=$(git branch --show-current)
112-
# Pull down GMT 6.4 baseline images from the gmt-6.4 branch
113-
# https://github.com/GenericMappingTools/pygmt/pull/1883
114-
git checkout gmt-6.4
115111
dvc pull
116112
ls -lhR pygmt/tests/baseline/
117-
git checkout ${ORIGINAL_BRANCH}
118113
119114
# Pull baseline image data from dvc remote (DAGsHub)
120115
- name: Pull baseline image data from dvc remote
@@ -137,7 +132,7 @@ jobs:
137132

138133
# Download cached remote files (artifacts) from GitHub
139134
- name: Download remote data from GitHub
140-
uses: dawidd6/action-download-artifact@v2.21.1
135+
uses: dawidd6/action-download-artifact@v2.22.0
141136
with:
142137
workflow: cache_data.yaml
143138
workflow_conclusion: success

.github/workflows/dvc-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: iterative/[email protected]
2323

2424
- name: Setup continuous machine learning (CML)
25-
uses: iterative/setup-cml@v1.1.3
25+
uses: iterative/setup-cml@v1.2.0
2626

2727
- name: Pull image data from cloud storage
2828
run: dvc pull --remote upstream

.github/workflows/format-command.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
ref: ${{ github.event.client_payload.pull_request.head.ref }}
2222

2323
# Setup Python environment
24-
- uses: actions/[email protected]
24+
- uses: actions/[email protected]
25+
with:
26+
python-version: '3.10'
2527

2628
# Install formatting tools
2729
- name: Install formatting tools

0 commit comments

Comments
 (0)