Repository navigation
Move boilerplate to Python 3.12 base image - #9
Merged
Merged
Conversation
The base layer is dropping the 3.8 image (BaseEvalutionFunctionLayer#23), and new functions created from this template should not start on an unsupported runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The base layer is stopping its 3.8 image builds (lambda-feedback/BaseEvalutionFunctionLayer#23), and Python 3.8 is out of support on AWS Lambda. New evaluation functions created from this template currently start on
main-3.8, so they would never get base-layer updates.Changes
app/Dockerfile: base imagemain-3.8→main-3.12..github/workflows/staging-deploy.yml: staging test job runs on 3.12 instead of 3.8.test-lint.ymlwas already on 3.12.README.md: prerequisite changed to Python 3.12.This is the same change as lambda-feedback/ArraySymbolicEqual#20.
Testing
The template's tests pass on Python 3.12 (2 passed). The template has no dependencies beyond the standard library. I couldn't build the Docker image locally.
Note
Functions already created from this template aren't affected. They have their own
app/Dockerfileand stay on the frozenmain-3.8image until each one is migrated.🤖 Generated with Claude Code