AWS powertools medium security documentation change
Summary
Updated Python version requirements from 3.9 to 3.10 for Annotated type usage
Security assessment
Requiring Python 3.10+ ensures users have security-supported Python versions. Older versions like 3.9 have known vulnerabilities and lack security updates.
Diff
diff --git a/powertools/python/latest/core/event_handler/api_gateway.md b/powertools/python/latest/core/event_handler/api_gateway.md index 460536249..a34bdca67 100644 --- a//powertools/python/latest/core/event_handler/api_gateway.md +++ b//powertools/python/latest/core/event_handler/api_gateway.md @@ -30,0 +31 @@ Homepage + * [ Installation ](../../../getting-started/install/) @@ -2685 +2686 @@ Event Handler will take the return (`todo.json`), and validate each list item ag -With the addition of the [`Annotated` type starting in Python 3.9](https://docs.python.org/3/library/typing.html#typing.Annotated), types can contain additional metadata, allowing us to represent anything we want. +With the addition of the [`Annotated` type starting in Python 3.10](https://docs.python.org/3/library/typing.html#typing.Annotated), types can contain additional metadata, allowing us to represent anything we want. @@ -3459 +3460 @@ validating_query_strings.pyskip_validating_query_strings.pyworking_with_multi_qu - 1. If you're not using Python 3.9 or higher, you can install and use [`typing_extensions`](https://pypi.org/project/typing-extensions/) to the same effect + 1. If you're not using Python 10 or higher, you can install and use [`typing_extensions`](https://pypi.org/project/typing-extensions/) to the same effect @@ -3929 +3930 @@ validating_headers.pyworking_with_headers_multi_value.pyvalidating_headers_with_ - 1. If you're not using Python 3.9 or higher, you can install and use [`typing_extensions`](https://pypi.org/project/typing-extensions/) to the same effect + 1. If you're not using Python 3.10 or higher, you can install and use [`typing_extensions`](https://pypi.org/project/typing-extensions/) to the same effect @@ -9684 +9685 @@ That said, [Chalice has native integration with Lambda Powertools](https://aws.g -2025-11-06 +2025-12-16