Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plumb entire lockfile/internal only code through create_pex_from_targets (cherry-pick of #18622) #18636

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

benjyw
Copy link
Contributor

@benjyw benjyw commented Mar 31, 2023

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 #18552

…gets` (cherry-pick of pantsbuild#18622)

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
@benjyw benjyw added the category:bugfix Bug fixes for released features label Mar 31, 2023
@jsirois jsirois merged commit 608db52 into pantsbuild:2.15.x Mar 31, 2023
@benjyw benjyw deleted the cherry-pick-18622-to-2.15.x branch May 24, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants