chore: remove unused Pydantic email extra#824
Conversation
Drop the unused email validation extra and refresh the lockfile, removing email-validator and dnspython from the dependency graph. Closes #823 Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com>
|
Thanks for putting this together, @nabinchha — nice tidy-up of the dependency graph. SummaryThis PR drops the FindingsI verified the core claim and the blast radius rather than just reading the diff:
No Critical, Warning, or Suggestion findings. What Looks Good
VerdictShip it — verified that no product code depends on the email extra, the lockfile closure is consistent, the one referencing test is a self-contained fixture, and there's no stale license exception to remove. Ready to merge as-is. This review was generated by an AI assistant. |
johnnygreco
left a comment
There was a problem hiding this comment.
Thanks for putting this together, @nabinchha!
Summary
This removes the unused Pydantic email extra from data-designer-config and refreshes the lockfile so email-validator and dnspython leave the runtime dependency graph. The implementation matches the PR description and linked issue without changing product behavior.
Findings
No findings.
What Looks Good
- The change is tightly scoped to the dependency declaration and its generated lockfile consequences.
- Repository-wide searches confirm production code does not use Pydantic's email types or either removed package.
- The lockfile is current and internally consistent, and both the targeted dependency-audit tests and the full CI matrix pass.
Verdict
Ship it — No findings. Ready to merge as-is.
This review was generated by an AI assistant.
Remove the reviewed exception after PR #824 dropped email-validator from the locked runtime dependency graph. Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com>
* ci: check dependency licenses Add a locked runtime dependency license scan with an explicit permissive allowlist and package-specific reviewed exceptions. Fail on unknown licenses, exception drift, and stale exceptions. Closes #822 Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com> * fix: handle dependency license expressions Preserve SPDX OR, AND, and WITH semantics during policy evaluation. Cover malformed and delimited metadata, recognize the alternate MIT heading, and declare the Python 3.10 TOML fallback. Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com> * fix: validate all license lock slices Scan isolated runtime environments across every supported Python version. Require exact version and license exception reports, preserve SPDX WITH terms, and accept only complete canonical MIT text. Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com> * chore: remove email-validator license exception Remove the reviewed exception after PR #824 dropped email-validator from the locked runtime dependency graph. Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com> * fix: declare license checker fallback Move the Python 3.10 tomli fallback into a dedicated dependency group and request it explicitly from the isolated license-check target. Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com> --------- Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com>
📋 Summary
Remove the unused Pydantic email extra from data-designer-config. Data Designer does not use Pydantic email validation APIs, so this removes email-validator and dnspython from the runtime dependency graph without changing product behavior.
🔗 Related Issue
Closes #823
🔄 Changes
🧪 Testing
✅ Checklist