From 1085a9e2c8887f35a475181efeced8331406c97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= Date: Mon, 10 Aug 2026 16:51:55 +0200 Subject: [PATCH 1/3] Adjust text --- pygmt/_show_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/_show_versions.py b/pygmt/_show_versions.py index 176d77e3f1d..bb22c846ff9 100644 --- a/pygmt/_show_versions.py +++ b/pygmt/_show_versions.py @@ -166,7 +166,7 @@ def show_versions(file: TextIO | None = sys.stdout) -> None: lines.extend([f" {key}: {val}" for key, val in sys_info.items()]) lines.append("Dependency information:") lines.extend([f" {key}: {val}" for key, val in dep_version.items()]) - lines.append("GMT library information:") + lines.append("GMT information:") lines.extend([f" {key}: {val}" for key, val in _get_clib_info().items()]) if warnmsg := _check_ghostscript_version(dep_version["ghostscript"]): From db8e3c729754f4a8514244d18dd94ccc069c5581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= Date: Mon, 10 Aug 2026 17:32:16 +0200 Subject: [PATCH 2/3] Report only 'binary version' and rename to 'version' --- pygmt/clib/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pygmt/clib/session.py b/pygmt/clib/session.py index 8c6cdc1252e..9caf4687f42 100644 --- a/pygmt/clib/session.py +++ b/pygmt/clib/session.py @@ -197,7 +197,8 @@ def info(self) -> dict[str, str]: """ if not hasattr(self, "_info"): self._info = { - "version": self.get_default("API_VERSION"), + "version": self.get_default("API_BIN_VERSION") + # "api version": self.get_default("API_VERSION"), "padding": self.get_default("API_PAD"), # API_BINDIR points to the directory of the Python interpreter # "binary dir": self.get_default("API_BINDIR"), @@ -209,7 +210,6 @@ def info(self) -> dict[str, str]: "cores": self.get_default("API_CORES"), "grid layout": self.get_default("API_GRID_LAYOUT"), "image layout": self.get_default("API_IMAGE_LAYOUT"), - "binary version": self.get_default("API_BIN_VERSION"), } return self._info From fa1713ba902d31fe8b7443eb5ca0c3194fb51c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= Date: Mon, 10 Aug 2026 17:45:59 +0200 Subject: [PATCH 3/3] Add comma --- pygmt/clib/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/clib/session.py b/pygmt/clib/session.py index 9caf4687f42..a17b2ec8261 100644 --- a/pygmt/clib/session.py +++ b/pygmt/clib/session.py @@ -197,7 +197,7 @@ def info(self) -> dict[str, str]: """ if not hasattr(self, "_info"): self._info = { - "version": self.get_default("API_BIN_VERSION") + "version": self.get_default("API_BIN_VERSION"), # "api version": self.get_default("API_VERSION"), "padding": self.get_default("API_PAD"), # API_BINDIR points to the directory of the Python interpreter