diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index aa9942b0d6a..3a96c7e8ff0 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -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: @@ -60,7 +60,7 @@ jobs: create-args: >- python=3.11 gmt=${{ matrix.gmt_version }} - ghostscript<10 + ghostscript numpy=1.26 pandas=2.2 xarray=2023.10 @@ -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 }} diff --git a/pygmt/clib/__init__.py b/pygmt/clib/__init__.py index 3d5d6b1a507..0ca2483e3b2 100644 --- a/pygmt/clib/__init__.py +++ b/pygmt/clib/__init__.py @@ -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):