summaryrefslogtreecommitdiff
path: root/contrib/basebackup_to_shell/meson.build
diff options
context:
space:
mode:
authorPeter Eisentraut2025-07-02 09:14:53 +0000
committerPeter Eisentraut2025-07-02 09:14:53 +0000
commitf039c2244110a55e966e8538b6be8bf83458a0fb (patch)
treeaaa0e2a284edac8644a4e1d7b06d7e62d869fec1 /contrib/basebackup_to_shell/meson.build
parentde5aa15209397712dcfdeee2a72977b83374f276 (diff)
meson: Increase minimum version to 0.57.2
The previous minimum was to maintain support for Python 3.5, but we now require Python 3.6 anyway (commit 45363fca637), so that reason is obsolete. A small raise to Meson 0.57 allows getting rid of a fair amount of version conditionals and silences some future-deprecated warnings. With the version bump, the following deprecation warnings appeared and are fixed: WARNING: Project targets '>=0.57' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead WARNING: Project targets '>=0.57' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead. It turns out that meson 0.57.0 and 0.57.1 are buggy for our use, so the minimum is actually set to 0.57.2. This is specific to this version series; in the future we won't necessarily need to be this precise. Reviewed-by: Nazir Bilal Yavuz <[email protected]> Reviewed-by: Andres Freund <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/42e13eb0-862a-441e-8d84-4f0fd5f6def0%40eisentraut.org
Diffstat (limited to 'contrib/basebackup_to_shell/meson.build')
-rw-r--r--contrib/basebackup_to_shell/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/basebackup_to_shell/meson.build b/contrib/basebackup_to_shell/meson.build
index 8c88242456e..8a4f170c5f8 100644
--- a/contrib/basebackup_to_shell/meson.build
+++ b/contrib/basebackup_to_shell/meson.build
@@ -24,7 +24,7 @@ tests += {
'tests': [
't/001_basic.pl',
],
- 'env': {'GZIP_PROGRAM': gzip.found() ? gzip.path() : '',
- 'TAR': tar.found() ? tar.path() : '' },
+ 'env': {'GZIP_PROGRAM': gzip.found() ? gzip.full_path() : '',
+ 'TAR': tar.found() ? tar.full_path() : '' },
},
}