task(aws-lambda): Add python 3.15 support for `aws-lambda-layer`

オープン
#8,072 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, python
領域
backend, cloud

調査の方向性

Start with .craft.yml, scripts/aws/aws-deploy-local-layer.sh, and the aws_lambda tox environment; check whether SAM provides a Python 3.15 image and whether AWS accepts python3.15 for PublishLayerVersion. The issue also identifies src/sentry/integrations/aws_lambda/utils.py in the Sentry integration as needing runtime support, and mentions the docs fallback list in src/build/awsLambdaRuntimes.ts. Done means the runtime is supported across the layer, tests, and integration, with layer verification on x86_64 and arm64.

索引モデルが issue の本文から書いたものです。

説明

Integration: AWS Lambda Python Task
  • add python 3.15 to the compatible runtimes of the aws-lambda-layer target in .craft.yml
  • AND to --compatible-runtimes in scripts/aws/aws-deploy-local-layer.sh
  • add py3.15 to aws_lambda tox env.

Docs should normally not be updated since runtimes are automatically fetched from AWS, and layer ARNs from the release-registry at build time; the fallback list may need to be updated since it currently stops at python3.14 (https://github.com/getsentry/sentry-docs/blob/a706b45968e0d9e685e5f940074866224a9d386b/src/build/awsLambdaRuntimes.ts#L4)

AWS Lambda integration also needs to be updated.

  • sentry-python: add python3.15 to compatibleRuntimes of the aws-lambda-layer target in .craft.yml (9 of AWS's 15 maximum), and to . Check that PublishLayerVersion accepts python3.15 before merging: an invalid runtime fails the layer publish, and with it the release.
  • sentry-python tests: the py3.15 classifier and tox envs already exist. Add py3.15 to the aws_lambda tox env once SAM has a python3.15 image (the tests use the host's Python version as the Lambda runtime), and verify the layer on x86_64 and arm64 like #6916.
  • sentry-docs: no change. Layer ARNs come from the release registry, and runtimes are fetched from AWS's lambda-runtimes.md at build time (src/build/awsLambdaRuntimes.ts). Only the fallback list used when that fetch fails is hardcoded, and it stops at python3.14.
  • Sentry's AWS Lambda integration (getsentry/sentry): needs a change. SUPPORTED_RUNTIMES in src/sentry/integrations/aws_lambda/utils.py is hardcoded and filters the function list. It stops at python3.13 (and nodejs22.x), so python3.14 functions are already missing. Add python3.14 and python3.15, or match on the python3. / nodejs prefix so new runtimes work without a change.
主要言語
Python
スター
2.2k
フォーク
713
平均マージ
1日 16分
マージ済み PR(30日)
113

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-python のほかの issue

getsentry/sentry-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。