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

Warn about files() in PEXes in one place (Cherry-pick of #19027) #19148

Merged
merged 1 commit into from
May 25, 2023

Conversation

WorkerPants
Copy link
Member

There's several places that check whether a PEX transitively depends on any files() targets, because those are (currently) not included in the PEX. This moves the warning into the "pex from targets" builder, to not have to reimplement it everywhere.

This is follow up to #19022, and restores the warning for layout="zip", since I didn't implement it there.

There's several places that check whether a PEX transitively depends on
any `files()` targets, because those are (currently) not included in the
PEX. This moves the warning into the "pex from targets" builder, to not
have to reimplement it everywhere.

This is follow up to #19022, and restores the warning for
`layout="zip"`, since I didn't implement it there.
@WorkerPants WorkerPants added the category:internal CI, fixes for not-yet-released features, etc. label May 25, 2023
@WorkerPants WorkerPants requested review from cognifloyd and huonw May 25, 2023 04:47
@cognifloyd cognifloyd merged commit c86e7a8 into 2.17.x May 25, 2023
@cognifloyd cognifloyd deleted the cherry-pick-19027-to-2.17.x branch May 25, 2023 05:38
@stuhood stuhood mentioned this pull request Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants