Skip to content

Commit e0e47a3

Browse files
Drop unused pydantic[email] extra from palace-opds (#3246)
## Description `palace-opds`'s `pyproject.toml` declared `pydantic[email]` but nothing in the package uses `EmailStr` / `email_validator` — the only email field (the LCP license owner email in `palace.opds.lcp.license`) is a plain `str`. Drop the extra so anyone installing `palace-opds` standalone doesn't pull in `email-validator` and its transitive deps. ## How Has This Been Tested? - `uv lock` — only the palace-opds edge changed; no other resolution churn. - `mypy` passes. - `pytest tests/palace_opds` — 174 tests pass. ## Checklist - [x] I have updated the documentation accordingly. - [x] All new and existing tests passed.
1 parent 11171c1 commit e0e47a3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/palace-opds/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [{name = "The Palace Project", email = "info@thepalaceproject.org"}]
77
dependencies = [
88
"palace-util",
99
"pycountry>=26.2.16,<27",
10-
"pydantic[email]>=2.12,<3",
10+
"pydantic>=2.12,<3",
1111
"uritemplate==4.2.0",
1212
]
1313
description = "Pydantic models for OPDS 2.0, RWPM, ODL, LCP, and Palace Project extensions."

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)