From 772694c13cd6e9b2a72333d733fe25b757b8a3a3 Mon Sep 17 00:00:00 2001 From: ghidra1 Date: Tue, 30 Apr 2024 19:53:01 -0400 Subject: [PATCH] GP-4570 ensure supported python version is not used for build tasks --- gradle/debugger/hasPythonPackage.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gradle/debugger/hasPythonPackage.gradle b/gradle/debugger/hasPythonPackage.gradle index addf5436af..198c1387d0 100644 --- a/gradle/debugger/hasPythonPackage.gradle +++ b/gradle/debugger/hasPythonPackage.gradle @@ -80,7 +80,9 @@ def findPython3() { } } // Don't fail until task execution. Just let "python3" fail. - return 'python3' + // Force use of non-existent python3.7 instead of unsupported python version + // which should fail if a python build is performed. + return 'python3.7' } ext.PYTHON3 = findPython3()