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

NH-65069 AWS lambda layer includes py37-311 extensions #215

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

tammy-baylis-swi
Copy link
Contributor

Updates build target so that APM Python AWS lambda layer includes extensions for Python 3.7, 3.8, 3.9, 3.10, 3.11. For example, contents of extension/ after build on aarch64:

drwxr-xr-x  12 tammy.baylis  staff   384B  8 Nov 10:31 .
drwxr-xr-x  26 tammy.baylis  staff   832B  8 Nov 10:31 ..
-rw-r--r--   1 tammy.baylis  staff     7B  8 Nov 10:31 VERSION
-rw-r--r--   1 tammy.baylis  staff   583B  8 Nov 10:31 __init__.py
-rwxr-xr-x   1 tammy.baylis  staff   1.8M  8 Nov 10:31 _oboe.cpython-310-aarch64-linux-gnu.so
-rwxr-xr-x   1 tammy.baylis  staff   1.9M  8 Nov 10:31 _oboe.cpython-311-aarch64-linux-gnu.so
-rwxr-xr-x   1 tammy.baylis  staff   1.8M  8 Nov 10:31 _oboe.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x   1 tammy.baylis  staff   1.8M  8 Nov 10:31 _oboe.cpython-38-aarch64-linux-gnu.so
-rwxr-xr-x   1 tammy.baylis  staff   1.8M  8 Nov 10:31 _oboe.cpython-39-aarch64-linux-gnu.so
drwxr-xr-x   4 tammy.baylis  staff   128B  8 Nov 10:31 bson
-rw-r--r--   1 tammy.baylis  staff   2.4M  8 Nov 10:31 liboboe.so
-rw-r--r--   1 tammy.baylis  staff    14K  8 Nov 10:31 oboe.py

Resulting zip archive is 11 MB, which was build without this update to shave off 0.8 MB: #214

@tammy-baylis-swi tammy-baylis-swi requested a review from a team November 11, 2023 00:11
@tammy-baylis-swi
Copy link
Contributor Author

Ready for review. Not sure why reviewers didn't automatically add when I first put this in.

@tammy-baylis-swi tammy-baylis-swi merged commit 5448775 into main Nov 14, 2023
11 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the NH-65069-layer-support-up-to-py311 branch November 14, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants