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