From 16355694129e8bfbc9eee25c0a0e2d90d98c1d4e Mon Sep 17 00:00:00 2001 From: John Sirois Date: Tue, 26 Mar 2019 13:48:00 -0700 Subject: [PATCH] Ensure the pants pexes we build via pex directly have pex warnings turned off. --- build-support/bin/release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-support/bin/release.sh b/build-support/bin/release.sh index 8c7a47456678..99d0016e94f3 100755 --- a/build-support/bin/release.sh +++ b/build-support/bin/release.sh @@ -658,8 +658,12 @@ function build_pex() { platform_flags=("${platform_flags[@]}" "--platform=${platform}") done + # Pants depends on twitter.common libraries that trigger pex warnings for not properly declaring + # their dependency on setuptools (for namespace package support). To prevent these known warnings + # from polluting stderr we pass `--no-emit-warnings`. execute_pex \ -o "${dest}" \ + --no-emit-warnings \ --script=pants \ "${platform_flags[@]}" \ "${requirements[@]}"