Skip to content

Commit

Permalink
Ensure the pants pexes we build via pex directly have pex warnings tu…
Browse files Browse the repository at this point in the history
…rned off.
  • Loading branch information
jsirois committed Mar 29, 2019
1 parent f4329e5 commit 1635569
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-support/bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down

0 comments on commit 1635569

Please sign in to comment.