-
Notifications
You must be signed in to change notification settings - Fork 471
Feature request: Pydantic v2 managed layer #2939
Copy link
Copy link
Closed
Labels
feature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionv3Features that will be included in Powertools v3.Features that will be included in Powertools v3.
Milestone
Metadata
Metadata
Assignees
Labels
feature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionv3Features that will be included in Powertools v3.Features that will be included in Powertools v3.
Type
Projects
Status
Shipped
Use case
I saw that there was support coming for Pydantic v2 in lambda powertools:
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:
It could also be done in a backward compatible way if it was published with a separate ARN
It also relates to 'following language idioms and community common practices':
Alternative solutions
No response
Acknowledgment