Skip to content
Discussion options

You must be logged in to vote

@aebrahim this recapitulates some Slack discussion, but for future readers:

With pex 2.82.0 or greater (which requires Pants >= 2.30.1rc0):

[pex-cli]
version = "v2.82.0"
known_versions = [
  "v2.82.0|macos_x86_64|6b48461f7ba94ff1702aab287cf8cff0b7baec7b16a4a7b0b86212083b3c8ff9|4955508",
  "v2.82.0|macos_arm64|6b48461f7ba94ff1702aab287cf8cff0b7baec7b16a4a7b0b86212083b3c8ff9|4955508",
  "v2.82.0|linux_x86_64|6b48461f7ba94ff1702aab287cf8cff0b7baec7b16a4a7b0b86212083b3c8ff9|4955508",
  "v2.82.0|linux_arm64|6b48461f7ba94ff1702aab287cf8cff0b7baec7b16a4a7b0b86212083b3c8ff9|4955508"
]

And assuming //configuration:my_configuration_file is a resource target, you'd write:

pex_binary(
    name="mybin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cburroughs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants