From 38967c64cfaf160fadebe24c27c339c4d6657c8e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 25 Nov 2021 19:37:59 +0100 Subject: [PATCH] configure/cleanup: support python 3.10 Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- config/configure | 2 +- dev/cleanup-mounts-under | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/configure b/config/configure index b27a419..d467af0 100755 --- a/config/configure +++ b/config/configure @@ -119,7 +119,7 @@ if test "$BUP_PYTHON_CONFIG"; then "$BUP_PYTHON_CONFIG") fi else - for py_maj_ver in 9 8 7 6; do + for py_maj_ver in 10 9 8 7 6; do bup_python_config="$(bup_find_prog "python3.$py_maj_ver-config" '')" test -z "$bup_python_config" || break done diff --git a/dev/cleanup-mounts-under b/dev/cleanup-mounts-under index fedc0b3..b1a9acb 100755 --- a/dev/cleanup-mounts-under +++ b/dev/cleanup-mounts-under @@ -4,6 +4,7 @@ set -e for python in \ python3 \ + python3.10 \ python3.9 \ python3.8 \ python3.7 \ -- 2.39.2