From 24a94f518bfe20058746201fb49482dcb084f5a7 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Mon, 10 Nov 2025 08:35:53 -0800 Subject: [PATCH] [SPARK-54277][INFRA] Make `dev/run-tests` to ban `Python 3.9` and older versions --- dev/run-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/run-tests b/dev/run-tests index 91a1532a338b..6067caf210eb 100755 --- a/dev/run-tests +++ b/dev/run-tests @@ -20,9 +20,9 @@ FWDIR="$(cd "`dirname $0`"/..; pwd)" cd "$FWDIR" -PYTHON_VERSION_CHECK=$(python3 -c 'import sys; print(sys.version_info < (3, 8, 0))') +PYTHON_VERSION_CHECK=$(python3 -c 'import sys; print(sys.version_info < (3, 10, 0))') if [[ "$PYTHON_VERSION_CHECK" == "True" ]]; then - echo "Python versions prior to 3.8 are not supported." + echo "Python versions prior to 3.10 are not supported." exit -1 fi