Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-4570 ensure supported python version is not used for build tasks

ghidra1772694c13cd6
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()