Closed
Description
Why is this needed?
This library, as of v2.19.0, causes Python to emit a warning:
DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
The sole use of distutils
appears to be in utilities.streaming.compat
: https://github.com/aws-powertools/powertools-lambda-python/blob/v2.19.0/aws_lambda_powertools/utilities/streaming/compat.py#L27
Which area does this relate to?
Streaming
Suggestion
The new approach is to depend on packaging
and use packaging.version
instead of distutils
.
Acknowledgment
- This 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
Shipped