chore: drop Python 3.9 support for running SAM, add Python 3.12, 3.13 to CI#3893
Merged
roger-zhangg merged 11 commits intoaws:developfrom Mar 30, 2026
Merged
chore: drop Python 3.9 support for running SAM, add Python 3.12, 3.13 to CI#3893roger-zhangg merged 11 commits intoaws:developfrom
roger-zhangg merged 11 commits intoaws:developfrom
Conversation
Drop Python 3.9 as a supported version for running SAM CLI/translator itself. This does NOT affect Python 3.9 as a Lambda runtime — SAM templates using python3.9 as a Lambda runtime continue to work as before. Changes: - setup.py: bump python_requires to >=3.10, update classifiers to 3.10-3.14 - .github/workflows/build.yml: test matrix now runs 3.10, 3.11, 3.12, 3.13, 3.14 - pyproject.toml: black target_version updated to py310-py314 - ruff.toml, tests/ruff.toml, integration/ruff.toml: target-version bumped to py310 - requirements/base.txt: simplified pydantic pin (removed 3.8/3.9 conditionals) - DEVELOPMENT_GUIDE.md: updated supported versions and pyenv instructions
valerena
reviewed
Mar 18, 2026
integration/combination/test_function_with_cwe_dlq_generated.py
Outdated
Show resolved
Hide resolved
This comment was marked as spam.
This comment was marked as spam.
valerena
reviewed
Mar 27, 2026
Contributor
valerena
left a comment
There was a problem hiding this comment.
If we're not adding Python3.14, let's update the title/description to reflect that.
valerena
reviewed
Mar 28, 2026
valerena
approved these changes
Mar 30, 2026
vicheey
approved these changes
Mar 30, 2026
5 tasks
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.
What
Drop Python 3.9 as a supported version for running the SAM translator itself, and extend CI coverage to Python 3.12, 3.13, and 3.14.
Important distinction
This change only drops Python 3.9 as a version for running SAM. Python 3.9 as a Lambda runtime in SAM templates is still fully supported. Test fixtures that use
Runtime: python3.9are intentionally left unchanged.Changes
python_requiresbumped to>=3.10, classifiers updated to 3.10–3.14target_versionupdated to py310–py314target-versionbumped topy310