From d5e775016f70c0f0949947dd457178542abe0a35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:46:49 +1300 Subject: [PATCH 01/10] Build(deps): Bump mamba-org/setup-micromamba from 2.0.3 to 2.0.4 (#3769) Bumps [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) from 2.0.3 to 2.0.4. - [Release notes](https://github.com/mamba-org/setup-micromamba/releases) - [Commits](https://github.com/mamba-org/setup-micromamba/compare/v2.0.3...v2.0.4) --- updated-dependencies: - dependency-name: mamba-org/setup-micromamba dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/cache_data.yaml | 2 +- .github/workflows/ci_docs.yml | 2 +- .github/workflows/ci_doctests.yaml | 2 +- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_dev.yaml | 2 +- .github/workflows/ci_tests_legacy.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 2fcc724ddae..f219ae76bdc 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -45,7 +45,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index a005ba5e87b..0ce6ac025de 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -43,7 +43,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 06c7debb426..b02d953c0f7 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -80,7 +80,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/ci_doctests.yaml b/.github/workflows/ci_doctests.yaml index 1d0cdac4f98..af28e6ac710 100644 --- a/.github/workflows/ci_doctests.yaml +++ b/.github/workflows/ci_doctests.yaml @@ -42,7 +42,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index e155d7bd95c..2fad4df7a51 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -113,7 +113,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 6a026a5099f..c222de5d5a6 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -57,7 +57,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 1af5e00cd38..0c4ae574235 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -51,7 +51,7 @@ jobs: # Install Micromamba with conda-forge dependencies - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2.0.3 + uses: mamba-org/setup-micromamba@v2.0.4 with: environment-name: pygmt condarc: | From 540bba1db9d34191c880ccdd1289d7fbcb1264c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:48:29 +1300 Subject: [PATCH 02/10] Build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#3770) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/cache_data.yaml | 2 +- .github/workflows/ci_tests.yaml | 2 +- .github/workflows/ci_tests_dev.yaml | 2 +- .github/workflows/publish-to-pypi.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index 0ce6ac025de..46c37211424 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -76,7 +76,7 @@ jobs: # Upload the downloaded files as artifacts to GitHub - name: Upload artifacts to GitHub - uses: actions/upload-artifact@v4.5.0 + uses: actions/upload-artifact@v4.6.0 with: name: gmt-cache include-hidden-files: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 2fad4df7a51..44416d210e0 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -177,7 +177,7 @@ jobs: # Upload diff images on test failure - name: Upload diff images if any test fails - uses: actions/upload-artifact@v4.5.0 + uses: actions/upload-artifact@v4.6.0 if: failure() with: name: artifact-${{ runner.os }}-${{ matrix.python-version }} diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index c222de5d5a6..6932a0d520b 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -187,7 +187,7 @@ jobs: # Upload diff images on test failure - name: Upload diff images if any test fails - uses: actions/upload-artifact@v4.5.0 + uses: actions/upload-artifact@v4.6.0 if: ${{ failure() }} with: name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ runner.os }} diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 15c66e1842b..917353ee85a 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -72,7 +72,7 @@ jobs: ls -lh dist/ - name: Store the distribution packages - uses: actions/upload-artifact@v4.5.0 + uses: actions/upload-artifact@v4.6.0 with: name: python-package-distributions path: dist/ From 199ef2b9db726eaa4122c7cc68b475742dad75b6 Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:14:15 +0100 Subject: [PATCH 03/10] Add a gallery example showing the usage of Figure.hlines and Figure.vlines (#3755) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com> Co-authored-by: Dongdong Tian Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- examples/gallery/lines/hlines_vlines.py | 117 ++++++++++++++++++++++++ pygmt/src/hlines.py | 7 +- pygmt/src/vlines.py | 8 +- 3 files changed, 125 insertions(+), 7 deletions(-) create mode 100644 examples/gallery/lines/hlines_vlines.py diff --git a/examples/gallery/lines/hlines_vlines.py b/examples/gallery/lines/hlines_vlines.py new file mode 100644 index 00000000000..ec0d73dddab --- /dev/null +++ b/examples/gallery/lines/hlines_vlines.py @@ -0,0 +1,117 @@ +""" +Horizontal and vertical lines +============================= + +The :meth:`pygmt.Figure.hlines` and :meth:`pygmt.Figure.vlines` methods allow to plot +horizontal and vertical lines in Cartesian, geographic and polar coordinate systems. +""" + +# %% +# Cartesian coordinate system +# --------------------------- +# In Cartesian coordinate systems lines are plotted as straight lines. + +import pygmt + +fig = pygmt.Figure() + +fig.basemap( + region=[0, 10, 0, 10], projection="X10c/10c", frame=["+tCartesian hlines", "af"] +) + +# Add a horizontal line at y=9 +fig.hlines(y=9, pen="1.5p,red3", label="Line 1") +# Add a horizontal line at y=8 with x from 2 to 8 +fig.hlines(y=8, xmin=2, xmax=8, pen="1.5p,gray30,-", label="Line 2") +# Add two horizontal lines at y=6 and y=7 both with x from 3 to 7 +fig.hlines(y=[6, 7], xmin=3, xmax=7, pen="1.5p,salmon", label="Lines 3 & 4") +# Add two horizontal lines at y=4 and y=5 both with x from 4 to 9 +fig.hlines(y=[4, 5], xmin=4, xmax=9, pen="1.5p,black,.", label="Lines 5 & 6") +# Add two horizontal lines at y=2 and y=3 with different x limits +fig.hlines( + y=[2, 3], xmin=[0, 1], xmax=[7, 7.5], pen="1.5p,dodgerblue3", label="Lines 7 & 8" +) +fig.legend(position="JBR+jBR+o0.2c", box="+gwhite+p1p") + +fig.shift_origin(xshift="w+2c") + +fig.basemap( + region=[0, 10, 0, 10], projection="X10c/10c", frame=["+tCartesian vlines", "af"] +) +# Add a vertical line at x=1 +fig.vlines(x=1, pen="1.5p,red3", label="Line 1") +# Add a vertical line at x=2 with y from 2 to 8 +fig.vlines(x=2, ymin=2, ymax=8, pen="1.5p,gray30,-", label="Line 2") +# Add two vertical lines at x=3 and x=4 both with y from 3 to 7 +fig.vlines(x=[3, 4], ymin=3, ymax=7, pen="1.5p,salmon", label="Lines 3 & 4") +# Add two vertical lines at x=5 and x=6 both with y from 4 to 9 +fig.vlines(x=[5, 6], ymin=4, ymax=9, pen="1.5p,black,.", label="Lines 5 & 6") +# Add two vertical lines at x=7 and x=8 with different y limits +fig.vlines( + x=[7, 8], ymin=[0, 1], ymax=[7, 7.5], pen="1.5p,dodgerblue3", label="Lines 7 & 8" +) +fig.legend() + +fig.show() + +# %% +# Geographic coordinate system +# ---------------------------- +# The same can be done in geographic coordinate systems where "horizontal" means lines +# are plotted along parallels (constant latitude) while "vertical" means lines are +# plotted along meridians (constant longitude). + +fig = pygmt.Figure() + +fig.basemap(region="g", projection="R15c", frame=["+tGeographic hlines", "af"]) +# Add a line at 70°N +fig.hlines(y=70, pen="1.5p,red3", label="Line 1") +# Add a line at 50°N with longitude limits at 20°E and 160°E +fig.hlines(y=50, xmin=20, xmax=160, pen="1.5p,dodgerblue3", label="Line 2") +# Add a line at 30°S with longitude limits at 60°E and 270°E +fig.hlines(y=-30, xmin=60, xmax=270, pen="1.5p,gray30,-", label="Line 3") +fig.legend() + +fig.shift_origin(xshift="w+2c") + +fig.basemap(region="g", projection="R15c", frame=["+tGeographic vlines", "af"]) +# Add a line at 70°E +fig.vlines(x=70, pen="1.5p,red3", label="Line 1") +# Add a line at 20°E with latitude limits at 50°S and 70°N +fig.vlines(x=120, ymin=-50, ymax=70, pen="1.5p,dodgerblue3", label="Line 2") +# Add a line at 230°E with latitude limits at 70°S and 80°N +fig.vlines(x=230, ymin=-70, ymax=80, pen="1.5p,gray30,-", label="Line 3") +fig.legend() + +fig.show() + +# %% +# Polar coordinate system +# ----------------------- +# When using polar coordinate systems "horizontal" means lines are plotted as arcs along +# a constant radius while "vertical" means lines are plotted as straight lines along +# radius at a specified azimuth. + +fig = pygmt.Figure() + +fig.basemap(region=[0, 360, 0, 1], projection="P10c", frame=["+tPolar hlines", "af"]) +# Add a line along radius=0.8 +fig.hlines(y=0.8, pen="1.5p,red3", label="Line 1") +# Add a line along radius=0.5 with azimuth limits at 30° and 160° +fig.hlines(y=0.5, xmin=30, xmax=160, pen="1.5p,dodgerblue3", label="Line 2") +# Add a line along radius=0.25 with azimuth limits at 60° and 270° +fig.hlines(y=0.25, xmin=60, xmax=270, pen="1.5p,gray30,-", label="Line 3") +fig.legend() + +fig.shift_origin(xshift="w+2c") + +fig.basemap(region=[0, 360, 0, 1], projection="P10c", frame=["+tPolar vlines", "af"]) +# Add a line along azimuth=120° +fig.vlines(x=120, pen="1.5p,red3", label="Line 1") +# Add a line along azimuth=190° with radius limits at 0.2 and 0.8 +fig.vlines(x=190, ymin=0.2, ymax=0.8, pen="1.5p,dodgerblue3", label="Line 2") +# Add a line along azimuth=320 with radius limits at 0.5 and 0.9 +fig.vlines(x=320, ymin=0.5, ymax=0.9, pen="1.5p,gray30,-", label="Line 3") +fig.legend() + +fig.show() diff --git a/pygmt/src/hlines.py b/pygmt/src/hlines.py index b277358d981..e2c390b4eea 100644 --- a/pygmt/src/hlines.py +++ b/pygmt/src/hlines.py @@ -38,9 +38,10 @@ def hlines( The term "horizontal" lines can be interpreted differently in different coordinate systems: - - **Cartesian** coordinate system: lines are plotted as straight lines. - - **Polar** projection: lines are plotted as arcs along a constant radius. - - **Geographic** projection: lines are plotted as parallels along constant latitude. + - **Cartesian**: lines are plotted as straight lines. + - **Polar**: lines are plotted as arcs along a constant radius. + - **Geographic**: lines are plotted as arcs along parallels (i.e., constant + latitude). Parameters ---------- diff --git a/pygmt/src/vlines.py b/pygmt/src/vlines.py index 2483df99f27..7f1919baa9c 100644 --- a/pygmt/src/vlines.py +++ b/pygmt/src/vlines.py @@ -38,10 +38,10 @@ def vlines( The term "vertical" lines can be interpreted differently in different coordinate systems: - - **Cartesian** coordinate system: lines are plotted as straight lines. - - **Polar** projection: lines are plotted as straight lines along radius. - - **Geographic** projection: lines are plotted as meridians along constant - longitude. + - **Cartesian**: lines are plotted as straight lines. + - **Polar**: lines are plotted as straight lines along a constant azimuth. + - **Geographic**: lines are plotted as arcs along meridians (i.e., constant + longitude). Parameters ---------- From 4ae940935aec75355ba2b336983f3e8260ba9963 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 08:19:30 +0800 Subject: [PATCH 04/10] Build(deps): Bump astral-sh/setup-uv from 5.1.0 to 5.2.1 (#3779) Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5.1.0 to 5.2.1. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v5.1.0...v5.2.1) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 44416d210e0..28f4d120de3 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -154,7 +154,7 @@ jobs: GH_TOKEN: ${{ github.token }} - name: Install uv - uses: astral-sh/setup-uv@v5.1.0 + uses: astral-sh/setup-uv@v5.2.1 with: python-version: ${{ matrix.python-version }} From 8a09f75cae034ab0e01e1a29e46df65a116d9508 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 08:22:26 +0800 Subject: [PATCH 05/10] Build(deps): Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 (#3780) Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 118778439e1..5865c1af305 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -18,7 +18,7 @@ jobs: steps: # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@v6.0.0 + - uses: release-drafter/release-drafter@v6.1.0 with: # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml config-name: release-drafter.yml From 4ca3677173657547dbedf40e282afc3991ac1c40 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 22 Jan 2025 16:55:44 +0800 Subject: [PATCH 06/10] CI: Bump to Ubuntu 22.04 in the GMT Legacy Tests workflow (#3777) --- .github/workflows/ci_tests_legacy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 0c4ae574235..dd371d715b5 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-13, windows-2019] + os: [ubuntu-22.04, macos-13, windows-2019] gmt_version: ['6.4'] timeout-minutes: 30 defaults: From a8365eecce0662725bfcc559aacdea738eda5a48 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 26 Jan 2025 22:10:04 +0800 Subject: [PATCH 07/10] Fix the dataset link in the RGB image gallery example (#3781) --- examples/gallery/images/rgb_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/images/rgb_image.py b/examples/gallery/images/rgb_image.py index 8afb2c93e25..af548c7c0b3 100644 --- a/examples/gallery/images/rgb_image.py +++ b/examples/gallery/images/rgb_image.py @@ -22,7 +22,7 @@ # %% # Read 3-band data from GeoTIFF into an xarray.DataArray object: with rioxarray.open_rasterio( - filename="https://oin-hotosm.s3.us-east-1.amazonaws.com/64d6a49a19cb3a000147a65b/0/64d6a49a19cb3a000147a65c.tif", + filename="https://oin-hotosm-temp.s3.us-east-1.amazonaws.com/64d6a49a19cb3a000147a65b/0/64d6a49a19cb3a000147a65c.tif", overview_level=5, ) as img: # Subset to area of Lāhainā in EPSG:32604 coordinates From 132dd223ad30de04c105545131c4647a5b7906e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 09:52:46 +0800 Subject: [PATCH 08/10] Build(deps): Bump codecov/codecov-action from 5.1.2 to 5.3.1 (#3784) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.2 to 5.3.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v5.1.2...v5.3.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 28f4d120de3..44b6276ac58 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -185,7 +185,7 @@ jobs: # Upload coverage to Codecov - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5.1.2 + uses: codecov/codecov-action@v5.3.1 if: success() || failure() with: use_oidc: true From 78fdb0454fbf94bc7887dc70c595d325926543a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:19:27 +0800 Subject: [PATCH 09/10] Build(deps): Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#3785) Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.3 to 1.12.4. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.3...v1.12.4) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 917353ee85a..9432143a8f0 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -97,7 +97,7 @@ jobs: path: dist/ - name: Publish distribution 📦 to TestPyPI - uses: pypa/gh-action-pypi-publish@v1.12.3 + uses: pypa/gh-action-pypi-publish@v1.12.4 with: repository-url: https://test.pypi.org/legacy/ @@ -121,4 +121,4 @@ jobs: path: dist/ - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@v1.12.3 + uses: pypa/gh-action-pypi-publish@v1.12.4 From 05c4ab9a9c560c86eba9797ae70730cbfc88538c Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 2 Feb 2025 09:44:38 +0800 Subject: [PATCH 10/10] Changelog entry for v0.14.1 (#3783) (#3786) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- CITATION.cff | 6 +++--- README.md | 12 ++++++------ doc/_static/version_switch.js | 1 + doc/changes.md | 26 ++++++++++++++++++++++++++ doc/minversions.md | 1 + 5 files changed, 37 insertions(+), 9 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index a18999e8f2d..c9cd6c58c0a 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -76,9 +76,9 @@ authors: family-names: Wessel affiliation: University of Hawaiʻi at Mānoa, USA orcid: https://orcid.org/0000-0001-5708-7336 -date-released: 2024-12-31 -doi: 10.5281/zenodo.14535921 +date-released: 2025-02-01 +doi: 10.5281/zenodo.14742338 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.14.0 +version: 0.14.1 diff --git a/README.md b/README.md index ba4e47d8fdb..13f1f023e02 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Feel free to cite our work in your research using the following BibTeX: ``` @software{ - pygmt_2024_14535921, + pygmt_2025_14742338, author = {Tian, Dongdong and Uieda, Leonardo and Leong, Wei Ji and @@ -157,12 +157,12 @@ Feel free to cite our work in your research using the following BibTeX: Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = dec, - year = 2024, + month = feb, + year = 2025, publisher = {Zenodo}, - version = {0.14.0}, - doi = {10.5281/zenodo.14535921}, - url = {https://doi.org/10.5281/zenodo.14535921} + version = {0.14.1}, + doi = {10.5281/zenodo.14742338}, + url = {https://doi.org/10.5281/zenodo.14742338} } ``` diff --git a/doc/_static/version_switch.js b/doc/_static/version_switch.js index 5450cb9d6af..c904d9c107b 100644 --- a/doc/_static/version_switch.js +++ b/doc/_static/version_switch.js @@ -12,6 +12,7 @@ var all_versions = { 'latest': 'latest', 'dev': 'dev', + 'v0.14.1': 'v0.14.1', 'v0.14.0': 'v0.14.0', 'v0.13.0': 'v0.13.0', 'v0.12.0': 'v0.12.0', diff --git a/doc/changes.md b/doc/changes.md index 8e7142d2fd8..322b09fffa4 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,31 @@ # Changelog +## Release v0.14.1 (2025/02/01) + +[![Digital Object Identifier for PyGMT v0.14.1](https://zenodo.org/badge/DOI/10.5281/zenodo.14742338.svg)](https://doi.org/10.5281/zenodo.14742338) + +### Highlights + +- **Patch release fixing critical bugs in PyGMT v0.14.0** +- Fix the bug of converting Python sequence of datetime-like objects ([#3760](https://github.com/GenericMappingTools/pygmt/pull/3760)) + +### Maintenance + +- CI: Separate jobs for publishing to TestPyPI and PyPI ([#3742](https://github.com/GenericMappingTools/pygmt/pull/3742)) +- clib.conversion._to_numpy: Add tests for Python sequence of datetime-like objects ([#3758](https://github.com/GenericMappingTools/pygmt/pull/3758)) +- Fix an image in README.md (broken on PyPI) and rewrap to 88 characters ([#3740](https://github.com/GenericMappingTools/pygmt/pull/3740)) +- Fix the dataset link in the RGB image gallery example ([#3781](https://github.com/GenericMappingTools/pygmt/pull/3781)) +- Update License year to 2025 ([#3737](https://github.com/GenericMappingTools/pygmt/pull/3737)) + +**Full Changelog**: + +### Contributors + +* [Dongdong Tian](https://github.com/seisman) +* [Wei Ji Leong](https://github.com/weiji14) + +--- + ## Release v0.14.0 (2024/12/31) [![Digital Object Identifier for PyGMT v0.14.0](https://zenodo.org/badge/DOI/10.5281/zenodo.14535921.svg)](https://doi.org/10.5281/zenodo.14535921) diff --git a/doc/minversions.md b/doc/minversions.md index b10150b5ce1..5fb0d3d2236 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -41,6 +41,7 @@ compatibility reasons. | PyGMT Version | GMT | Python | NumPy | pandas | Xarray | |---|---|---|---|---|---| | [Dev][]* [] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} | +| [] | >=6.4.0 | >=3.11 | >=1.25 | >=2.0 | >=2023.04 | | [] | >=6.4.0 | >=3.11 | >=1.25 | >=2.0 | >=2023.04 | | [] | >=6.3.0 | >=3.10 | >=1.24 | >=1.5 | >=2022.09 | | [] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |