<#19978 Deprecate pex_binary.platforms in favor of...
# github-notifications
c
#19978 Deprecate pex_binary.platforms in favor of complete_platforms Issue created by benjyw The
platforms
field is a legacy hack: it specifies abbreviated platform strings that elide the full marker environment and compatibility tag information, causing spurious resolve errors. This leads to neverending user issues and support requests. To remedy this we should: ☑︎ Ensure obvious documentation of how to generate values for
complete_platforms
, and remove handwritten documentation of
platforms
. (Done in #20008) ☑︎ Deprecate
platforms
and require use of
complete_platforms
. ☐ Warn if the pex targets multiple interpreter versions, but the
--python-shebang
constrains to just one of them. We probably also want to tackle #15234 to remove one unnecessary hoop to specifying complete_platforms, but it's not a blocker. pantsbuild/pants