Description
Use case
I saw that there was support coming for Pydantic v2 in lambda powertools:
- feat(layers): add support for publishing v2 layer #1558
- feat(parser): add support for Pydantic v2 #2733
but it seems like it is only support, not incorporation into the library dependencies (i.e. the library is not bumping to v2). This conflicts with the desired workflow of using new versions of the layer in combination with up to date Pydantic models.
Solution/User Experience
Will you consider publishing managed layers with v2 of Pydantic as the dependency?
This seems in line with the linked 'Tenet' of adopting best practices:
Eases the adoption of best practices. The main priority of the utilities is to facilitate best practices adoption, as defined in the AWS Well-Architected Serverless Lens; all other functionality is optional.
It could also be done in a backward compatible way if it was published with a separate ARN
We strive for backwards compatibility. New features and changes should keep backwards compatibility. If a breaking change cannot be avoided, the deprecation and migration process should be clearly defined.
It also relates to 'following language idioms and community common practices':
Progressive. Utilities are designed to be incrementally adoptable for customers at any stage of their Serverless journey. They follow language idioms and their community’s common practices.
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status