From 10a9ef83c7f379823dfca273c33eecf065b3dcbc Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Wed, 24 Nov 2021 12:37:27 -0600 Subject: [PATCH] dev/validate-python: require >= 3.7 for python 3 matching README Signed-off-by: Rob Browning --- dev/validate-python | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/validate-python b/dev/validate-python index a64ecfe..6e538c8 100755 --- a/dev/validate-python +++ b/dev/validate-python @@ -11,9 +11,9 @@ majver=$("$python" -c 'import sys; print(sys.version_info[0])') minver=$("$python" -c 'import sys; print(sys.version_info[1])') # May not be correct yet, i.e. actual requirement may be higher. -if test "$majver" -gt 2 -a "$minver" -lt 3; then +if test "$majver" -gt 2 -a "$minver" -lt 7; then # utime follow_symlinks >= 3.3 bup_version_str=$("$python" --version 2>&1) - echo "ERROR: found $bup_version_str (must be >= 3.3 if >= 3)" 1>&2 + echo "ERROR: found $bup_version_str (must be >= 3.7 if >= 3)" 1>&2 exit 2 fi -- 2.39.2