-
Notifications
You must be signed in to change notification settings - Fork 429
Maintenance: Support for Python 3.13 #5411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So far we have 2 open issues on projects that Python Powertools depends on: pydantic/pydantic#10699 (comment) None of these issues are blocking this release, we can have a workaround without any breaking changes for our customers if the upstream project doesn't resolve them. |
|
This is now released under 3.3.0 version! |
Why is this needed?
According to the official AWS documentation, the AWS Lambda Python 3.13 runtime will be released in November 2024, and considering that Python 3.13 has had some changes in this release, we need to start working to detect and fix any issues and be ready when this runtime is released.
*This date is indicative only and subject to change.
Which area does this relate to?
No response
Solution
Use this playbook to add support for Python 3.13.
Steps
1. Prerequisites
2. Testing locally
make pr
3. Adding the new supported runtime in the layer construct
On the CDK Layer constructor, do:
poetry run pytest tests
4. Updating workflows and templates
.github
directory to include the new runtime version. This includes the e2e workflow5. Layer
package.json
and runningnpm install
pyproject.toml
and runningpoetry lock
.6. SAR
layer_v3/sar/template.txt
7. Change the PyPi metadata
pyproject.toml
and update the poetry classifiers to include the new runtime.8. Open a PR and run E2E tests
9. Examples
10. Merge and release
Acknowledgment
The text was updated successfully, but these errors were encountered: