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

docs: Add support and build instructions and workflows for arm64 #979

Closed
michaelbrewer opened this issue Sep 29, 2021 · 3 comments
Closed

Comments

@michaelbrewer
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Now that arm64 architecture is official for lambdas, we should ensure Powertools works perfectly well and have a guide on how to take advantage of this feature via SAM and CDK.

Describe the solution you'd like

Update docs and test automation to include arm64

Describe alternatives you've considered

Additional context

@michaelbrewer michaelbrewer changed the title Add build instructions and workflows for arm64 docs: Add build instructions and workflows for arm64 Sep 29, 2021
@heitorlessa heitorlessa changed the title docs: Add build instructions and workflows for arm64 docs: Add support and build instructions and workflows for arm64 Oct 7, 2021
@heitorlessa heitorlessa transferred this issue from aws-powertools/powertools-lambda-python Nov 13, 2021
@heitorlessa heitorlessa transferred this issue from aws-powertools/powertools-lambda Jan 26, 2022
@heitorlessa
Copy link
Contributor

Ref GrahamDumpleton/wrapt#198 as pointed out by @eldritchideen, since we depend on X-Ray SDK this won't likely be possible with SAM CLI (maybe via Makefile but suboptimal), but a custom Lambda Layer.

@eldritchideen
Copy link
Contributor

I have also commented on what appears to be the root cause in the Pip builder that SAM uses to package the dependencies here. aws/aws-lambda-builders#302

The wheel for wrapt gets built correctly, however as the file name has "linux" rather than "manylinux" it is rejected as not compatible.

@eldritchideen
Copy link
Contributor

This example repo shows how to work around the issue of Arm dependencies that require sdist builds with C extensions failing by packaging them in a layer.
https://github.com/eldritchideen/arm-python-lambda-example

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

No branches or pull requests

3 participants