Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Making build fail if "UNKNOWN" wheel is produced due to old pip.

Ryan Kurtz70820402d74e
diff --git a/gradle/hasPythonPackage.gradle b/gradle/hasPythonPackage.gradle
index 6e7ea6d6cd..8e46f02839 100644
--- a/gradle/hasPythonPackage.gradle
+++ b/gradle/hasPythonPackage.gradle
@@ -65,6 +65,9 @@ task buildPyPackage {
if (exec.result.get().exitValue != 0) {
throw new GradleException(exec.standardError.asText.get().strip())
}
+ if (exec.standardOutput.asText.get().contains("Successfully built UNKNOWN")) {
+ throw new GradleException("UNKNOWN wheel built...upgrade pip")
+ }
}
}