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

Fix awslambda configuration of Pex. #10323

Merged
merged 1 commit into from Jul 11, 2020
Merged

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Jul 11, 2020

With an upgrade of Pex to support resolution of --platform arguments
to matching local interpreters, awslambda now supports building sdists
when possible. Additionally, awslambda now allows for AMI-specific
non-manylinux wheels if needed.

Fixes #10286.

[ci skip-rust-tests]

With an upgrade of Pex to support resolution of `--platform` arguments
to matching local interpreters, awslambda now supports building sdists
when possible. Additionally, awslambda now allows for AMI-specific
non-manylinux wheels if needed.

Fixes pantsbuild#10286.

[ci skip-rust-tests]
"--manylinux=manylinux2014",
# When we're executing Pex on Linux, allow a local interpreter to be resolved if
# available and matching the AMI platform.
"--resolve-local-platforms",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to enable this by default for all of our Pex requests, but I want to keep this scoped.

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful! Thank you.

@jsirois jsirois merged commit d82673c into pantsbuild:master Jul 11, 2020
@jsirois jsirois deleted the issues/10286 branch July 11, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

awslambda's configuration of the Pex resolve to target linux is flawed
3 participants