Skip to content

feat: update the GLIBC version available for Python 3.12 and 3.13 #752

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

piscoTech
Copy link
Contributor

Issue #, if available: #700

Description of changes: Lambdas using Python 3.12 or 3.13 as runtime use Amazon Linux 2023 instead of Amazon Linux 2 as per the official AWS documentation.

This PR updates the available GLIBC version to 2.34, as can be obtained by running the image in Docker

$ docker run --rm -it --entrypoint /bin/bash public.ecr.aws/lambda/provided:al2023
Unable to find image 'public.ecr.aws/lambda/provided:al2023' locally
al2023: Pulling from lambda/provided
...
Status: Downloaded newer image for public.ecr.aws/lambda/provided:al2023
bash-5.2# ldd --version
ldd (GNU libc) 2.34
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@piscoTech piscoTech requested a review from a team as a code owner June 11, 2025 10:02
@github-actions github-actions bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. area/workflow/python_pip labels Jun 11, 2025
@alesanfra
Copy link
Contributor

This PR will fix also #674

@Vandita2020 Vandita2020 added this pull request to the merge queue Jun 11, 2025
Merged via the queue into aws:develop with commit 024f96d Jun 11, 2025
133 checks passed
@piscoTech
Copy link
Contributor Author

@valerena @Vandita2020 Is there a plan for the release of a new version including this change?

@valerena
Copy link
Contributor

valerena commented Jul 1, 2025

@piscoTech Thank you very much for helping with this issue. The latest version of SAM CLI now includes the fixed version of aws-lambda-builders with your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow/python_pip pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants