Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(aws-lambda): Enable Python 3.14 support to the Lambda layer - #6916

#6916
Draft
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#6916
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

@pabloDeputter

@pabloDeputter pabloDeputter commented Jul 29, 2026

Copy link
Copy Markdown
Member

Description

Adds python3.14 to the AWS Lambda layer compatible runtimes in .craft.yml, and declares x86-64 / arm64 architectures (compatibleArchitectures not yet supported in Craft, but doesn't give any issues). Also updated/fixed broken scripts for ease of testing in the future:

  • Added aws-configure-layer-on-lambda-function.sh: setup sentry handler and required env vars after attaching the layer with aws-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

…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
@linear-code

linear-code Bot commented Jul 29, 2026

Copy link
Copy Markdown

PY-2629

Comment thread .craft.yml
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

98542 passed | ⏭️ 6772 skipped | Total: 105314 | Pass Rate: 93.57% | Execution Time: 345m 55s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2499 uncovered lines.
✅ Project coverage is 89.84%. Comparing base (base) to head (head).

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

@pabloDeputter

Copy link
Copy Markdown
Member Author

Related issue in craft.

@pabloDeputter

Copy link
Copy Markdown
Member Author

minVersion: 2.21.1 in .craft.ymlshould be updated to craft version that supports compatibleArchitectures

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

Successfully merging this pull request may close these issues.

feat(aws-lambda): Add Python 3.14 Lambda layer deployment

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.