forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…antsbuild#16496) We already ban `internal_only` and `platforms` in `PexRequest`: https://github.com/pantsbuild/pants/blob/998992989bbbf48dc1057439fed3b98a47091863/src/python/pants/backend/python/util_rules/pex.py#L217-L247 But we were not eagerly checking this in `PexFromTargetsRequest`. Eagerly checking allows us to simplify reasoning about `pex_from_targets.py` as we now have fewer conditional branches to deal with. [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
1 parent
9989929
commit fb70c9f
Showing
3 changed files
with
103 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters