Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/ci_tests_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm, macos-14, windows-2022]
gmt_version: ['6.4', '6.5']
gmt_version: ['6.5']
timeout-minutes: 30
defaults:
run:
Expand All @@ -60,7 +60,7 @@ jobs:
create-args: >-
python=3.11
gmt=${{ matrix.gmt_version }}
ghostscript<10
ghostscript
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since ghostscript>=10 can be used now, should the note here be updated?

pygmt/doc/install.md

Lines 326 to 327 in 06e75f5

- Ghostscript 9.53-9.56 for GMT 6.4.0 (or below)
- Ghostscript 10.03 or later for GMT 6.5.0

Or do it in #4128?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, or do it in a separate PR as mentioned in #4100 (comment).

numpy=1.26
pandas=2.2
xarray=2023.10
Expand All @@ -84,11 +84,7 @@ jobs:
# Download cached files to ~/.gmt directory and list them
gh run download --name gmt-cache --dir ~/.gmt/
# Change modification times of the two files, so GMT won't refresh it.
# The two files are in the `~/.gmt/server` directory for GMT<=6.4, and in the
# `~/.gmt` directory for GMT>=6.5.
mkdir -p ~/.gmt/server/
mv ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ~/.gmt/server/
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
ls -lhR ~/.gmt
env:
GH_TOKEN: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion pygmt/clib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pygmt.clib.session import Session, __gmt_version__
from pygmt.exceptions import GMTVersionError

required_gmt_version = "6.4.0"
required_gmt_version = "6.5.0"

# Check if the GMT version is older than the required version.
if Version(__gmt_version__) < Version(required_gmt_version):
Expand Down
Loading