Skip to content

Maintenance: Remove email-validator dependency for v2 #1607

Closed
@rubenfonseca

Description

@rubenfonseca

Summary

We should remove the email-validator dependency from the v2 Lambda Layer and SAR.

Why is this needed?

As we try to reduce the size of our v2 layer, we noticed that the email-validator is only needed if you use the pydantic's EmailStr validator.

Currently, adding email-validator adds ~400KB to our compressed layer size.

Which area does this relate to?

Validation

Solution

No response

Acknowledgment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions