forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plumb entire lockfile/internal only code through `create_pex_from_tar…
…gets` (Cherry-pick of pantsbuild#18622) (pantsbuild#18634) Previously if `_determine_requirements_for_pex_from_targets` returns a `PexRequest` we'd short-circuit the rest of of the code resulting in `main` not being set on the PEX that we run (most likely in addition to other bugs like local dists not existing either). Refactored so that in this very specific case, we'd still make it through the rest of the code, leveraging `pex_path` for the repo PEX. Fixes pantsbuild#18552 Co-authored-by: Joshua Cannon <joshdcannon@gmail.com>
- Loading branch information
1 parent
e8d387b
commit d7efc44
Showing
2 changed files
with
48 additions
and
33 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