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" -lt 3 || test "$majver" -eq 3 && test "$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)" 1>&2
exit 2
fi