Skip to content

Commit d586098

Browse files
Meghan JonesJosh Sixsmith
Meghan Jones
authored and
Josh Sixsmith
committed
Bump the minimum required GMT version to 6.3.0 (GenericMappingTools#1649)
* Update install.rst * Update cache_data.yaml * Update ci_docs.yml * Update ci_tests.yaml * Update environment.yml * Update session.py * Update test_clib.py * Update README.rst
1 parent ff3f1a3 commit d586098

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

.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.2.0 \
41+
mamba install gmt=6.3.0 \
4242
numpy pandas xarray netCDF4 packaging matplotlib
4343
4444
# Install the package that we want to test

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
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.2.0 numpy pandas xarray netCDF4 packaging \
73+
mamba install gmt=6.3.0 numpy pandas xarray netCDF4 packaging \
7474
ipython make myst-parser geopandas \
7575
sphinx sphinx-copybutton sphinx-gallery sphinx_rtd_theme
7676

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Install GMT and other required dependencies from conda-forge
9494
- name: Install dependencies
9595
run: |
96-
mamba install gmt=6.2.0 numpy=${{ matrix.numpy-version }} \
96+
mamba install gmt=6.3.0 numpy=${{ matrix.numpy-version }} \
9797
pandas xarray netCDF4 packaging \
9898
${{ matrix.optional-packages }} \
9999
dvc make pytest>=6.0 \

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Compatibility with GMT/Python/NumPy versions
214214
- Numpy
215215
* - `Dev <https://github.com/GenericMappingTools/pygmt/milestone/9>`_ (upcoming release)
216216
- `Dev Documentation <https://www.pygmt.org/dev>`_ (reflects `main branch <https://github.com/GenericMappingTools/pygmt>`_)
217-
- >=6.2.0
217+
- >=6.3.0
218218
- >=3.7
219219
- >=1.18
220220
* - `v0.5.0 <https://github.com/GenericMappingTools/pygmt/releases/tag/v0.5.0>`_ (latest release)

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Which GMT?
5151
PyGMT requires Generic Mapping Tools (GMT) version 6 as a minimum, which is the
5252
latest released version that can be found at
5353
the `GMT official site <https://www.generic-mapping-tools.org>`__.
54-
We need the latest GMT (>=6.2.0) since there are many changes being made to GMT
54+
We need the latest GMT (>=6.3.0) since there are many changes being made to GMT
5555
itself in response to the development of PyGMT, mainly the new
5656
`modern execution mode <https://docs.generic-mapping-tools.org/latest/cookbook/introduction.html#modern-and-classic-mode>`__.
5757

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
dependencies:
66
# Required dependencies
77
- pip
8-
- gmt=6.2.0
8+
- gmt=6.3.0
99
- numpy>=1.18
1010
- pandas
1111
- xarray

pygmt/clib/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Session:
121121
"""
122122

123123
# The minimum version of GMT required
124-
required_version = "6.2.0"
124+
required_version = "6.3.0"
125125

126126
@property
127127
def session_pointer(self):

pygmt/tests/test_clib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def test_get_default():
844844
with clib.Session() as lib:
845845
assert lib.get_default("API_GRID_LAYOUT") in ["rows", "columns"]
846846
assert int(lib.get_default("API_CORES")) >= 1
847-
assert Version(lib.get_default("API_VERSION")) >= Version("6.2.0")
847+
assert Version(lib.get_default("API_VERSION")) >= Version("6.3.0")
848848

849849

850850
def test_get_default_fails():

0 commit comments

Comments
 (0)