Repository navigation
chore: prepare Python 3.15 runtime support - #8544
leandrodamascena wants to merge 4 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #8544 +/- ##
========================================
Coverage 96.91% 96.91%
========================================
Files 317 317
Lines 15959 15959
Branches 1411 1411
========================================
Hits 15467 15467
Misses 349 349
Partials 143 143 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
Hi, I noticed the |
|
Hi @Suraj1347, thanks for offering. I'd rather keep this one with me, though. Python 3.15 support has to be coordinated with the Lambda team around the runtime release, so the fix for If you want something to pick up, two places: anything under the Your two Parameters PRs, #8622 and #8623, are in the 3.39.0 queue and I'll get to them soon. |



Issue number: Refs #8543
Summary
Changes
Prepare Python 3.15 across CI, E2E infrastructure, layer builds, canaries, SAR, partition workflows and SSM parameters. Keep Python 3.10–3.14 in the test matrices and remove the obsolete Python 3.9 runtime from the E2E helper.
Refresh the locked versions of cffi, regex and rpds-py for 3.15 compatibility, retaining the older rpds-py release on Python 3.10. Install the protobuf compiler only in the 3.15 test jobs while Valkey GLIDE needs a source build. Fix shell lint findings in the touched workflows; existing SSM arguments and partition outputs were checked against develop.
CDK uses
Runtime("python3.15", RuntimeFamily.PYTHON, supports_inline_code=True)until the named constant is available. The layer construct's default runtime remains unchanged.Make the Decimal/Enum test fixture preserve its identity during deepcopy with both Decimal implementations. This fixes the four CI failures under
_pydecimalwhile retaining the existing hash and JMESPath assertions.User experience
This is a draft to prepare support. The installation docs link to the tracking issue without advertising unpublished layers or SAR applications.
Validation
_decimal. After the fixture fix, all 33 serialization cases passed with native and pure-Python Decimal on both 3.10 and 3.15; the full 3.15 suite passed again with_decimaldisabled: 3,531 tests and 10 performance tests.[all,redis,datamasking]passed for Python 3.15 on x86_64 and ARM64.docs/changelog.md; lint passed for the edited page.Before merge
uv pip checkrejectsdatadog-lambda 8.128.0andddtrace 4.15.6because both declarePython <3.15.test_s3_csv_streamfails on 3.15 with-W error::pytest.PytestUnraisableExceptionWarningbecause_S3SeekableIO.flush()raises whileTextIOWrapperis finalized. The same check passes on 3.10.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.