Skip to content

Commit 90e1f8a

Browse files
authored
Drop GMT 6.4 support (#4127)
1 parent 06e75f5 commit 90e1f8a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci_tests_legacy.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
os: [ubuntu-22.04, ubuntu-22.04-arm, macos-14, windows-2022]
40-
gmt_version: ['6.4', '6.5']
40+
gmt_version: ['6.5']
4141
timeout-minutes: 30
4242
defaults:
4343
run:
@@ -60,7 +60,7 @@ jobs:
6060
create-args: >-
6161
python=3.11
6262
gmt=${{ matrix.gmt_version }}
63-
ghostscript<10
63+
ghostscript
6464
numpy=1.26
6565
pandas=2.2
6666
xarray=2023.10
@@ -84,11 +84,7 @@ jobs:
8484
# Download cached files to ~/.gmt directory and list them
8585
gh run download --name gmt-cache --dir ~/.gmt/
8686
# Change modification times of the two files, so GMT won't refresh it.
87-
# The two files are in the `~/.gmt/server` directory for GMT<=6.4, and in the
88-
# `~/.gmt` directory for GMT>=6.5.
89-
mkdir -p ~/.gmt/server/
90-
mv ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ~/.gmt/server/
91-
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
87+
touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
9288
ls -lhR ~/.gmt
9389
env:
9490
GH_TOKEN: ${{ github.token }}

pygmt/clib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pygmt.clib.session import Session, __gmt_version__
1010
from pygmt.exceptions import GMTVersionError
1111

12-
required_gmt_version = "6.4.0"
12+
required_gmt_version = "6.5.0"
1313

1414
# Check if the GMT version is older than the required version.
1515
if Version(__gmt_version__) < Version(required_gmt_version):

0 commit comments

Comments
 (0)