Skip to content

chore: drop Python 3.9 support for running aws-lambda-builders#847

Merged
valerena merged 3 commits intoaws:developfrom
roger-zhangg:drop3.9
Mar 18, 2026
Merged

chore: drop Python 3.9 support for running aws-lambda-builders#847
valerena merged 3 commits intoaws:developfrom
roger-zhangg:drop3.9

Conversation

@roger-zhangg
Copy link
Member

Summary

Drop Python 3.9 as a supported version for running aws-lambda-builders. The minimum Python version is now 3.10. CI test matrices now cover Python 3.10 through 3.14.

What changed

  • setup.py: python_requires bumped to >=3.10, removed 3.8/3.9 classifiers
  • .github/workflows/build.yml: removed 3.9 from unit-functional, python-pip-integration, and python-uv-integration matrices
  • pyproject.toml: updated black target_version to py310py314
  • requirements/dev.txt: simplified version-conditional pins that only existed for <3.10 compat

What did NOT change

Building Lambda functions targeting the python3.9 runtime is still fully supported. The python3.9 entry in supported_runtimes.py and all related Lambda workflow code remains untouched. This change only affects the minimum Python version required to run aws-lambda-builders itself.

@roger-zhangg roger-zhangg requested a review from a team as a code owner March 17, 2026 20:38
- Update python_requires to >=3.10
- Remove Python 3.8 and 3.9 classifiers from setup.py
- Remove 3.9 from CI test matrices (unit-functional, python-pip, python-uv)
- Update black target_version to py310-py314
- Simplify requirements/dev.txt version conditionals

Note: Building Lambda functions targeting the python3.9 runtime is still
fully supported. This change only affects the minimum Python version
required to run aws-lambda-builders itself.
@valerena valerena added this pull request to the merge queue Mar 18, 2026
Merged via the queue into aws:develop with commit 48fd6c2 Mar 18, 2026
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants