feat(aws-lambda): Enable Python 3.14 support to the Lambda layer - #6916
#6916Draft
pabloDeputter wants to merge 3 commits into
mastergetsentry/sentry-python:masterfrom
pablo/add-py314-lambda-layer-supportgetsentry/sentry-python:pablo/add-py314-lambda-layer-supportCopy head branch name to clipboard
Draft
feat(aws-lambda): Enable Python 3.14 support to the Lambda layer#6916pabloDeputter wants to merge 3 commits intomastergetsentry/sentry-python:masterfrom pablo/add-py314-lambda-layer-supportgetsentry/sentry-python:pablo/add-py314-lambda-layer-supportCopy head branch name to clipboard
pabloDeputter wants to merge 3 commits into
mastergetsentry/sentry-python:masterfrom
pablo/add-py314-lambda-layer-supportgetsentry/sentry-python:pablo/add-py314-lambda-layer-supportCopy head branch name to clipboard
Conversation
…ration - Added support for py 3.14 in the .craft.yml as well as compatible architectures (not yet supported in craft). - Modified local deployment script to include py 3.14 and compatible architectures. - Removed `make aws-lambda-layer` and use `uv build`and `uv run` as is also done in `.github/workflows/ci.yml`. Refs: #6908 Refs: PY-2629
…etup - Sets the Sentry handler and required env vars for local layer testing. Refs #6908 Refs PY-2629
Contributor
Codecov Results 📊✅ 98542 passed | ⏭️ 6772 skipped | Total: 105314 | Pass Rate: 93.57% | Execution Time: 345m 55s 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2499 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.84% 89.84% —%
==========================================
Files 193 193 —
Lines 24587 24587 —
Branches 8744 8744 —
==========================================
+ Hits 22088 22088 —
- Misses 2499 2499 —
- Partials 1400 1400 —Generated by Codecov Action |
Member
Author
|
Related issue in craft. |
…ng using templating Refs: #6916
Member
Author
|
|
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.
Description
Adds
python3.14to the AWS Lambda layer compatible runtimes in.craft.yml, and declaresx86-64/arm64architectures (compatibleArchitecturesnot yet supported in Craft, but doesn't give any issues). Also updated/fixed broken scripts for ease of testing in the future:aws-configure-layer-on-lambda-function.sh: setup sentry handler and required env vars after attaching the layer withaws-deploy-local-layer.sh.Verified that it works with layer built from this branch (
arn:aws:lambda:eu-north-1:431451851189:layer:SentryPythonServerlessSDK-local-dev:3):Issues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)