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

This commit is contained in:
Ryan Kurtz 2025-05-14 12:01:03 -04:00
parent fb04408b0a
commit 70820402d7

View file

@ -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")
}
}
}