Compare commits

...
Author SHA1 Message Date
praisonai-triage-agent[bot]andMervin Praison eb75038361 fix: move email-validator to main dependencies
- email-validator is required at runtime for EmailStr validation in production schemas
- RegisterRequest and LoginRequest use EmailStr in auth routes
- Removing redundant httpx from test extras (already in main deps)

Fixes critical dependency issue identified in #1605 review

Co-authored-by: Mervin Praison <[email protected]>
2026-05-04 05:01:23 +00:00
老憨 2ad4b8ad3f fix: add email-validator to praisonai-platform test extras
The [test] optional dependency was missing email-validator, causing
ImportError during pytest collection in clean environments.

Fixes #1584
2026-05-04 12:49:06 +08:00
+1 -1
View File
@@ -22,6 +22,7 @@ dependencies = [
"uvicorn>=0.34.0",
"httpx>=0.27.0",
"pydantic>=2.10.0",
"email-validator>=2.0",
]
[project.optional-dependencies]
@@ -33,7 +34,6 @@ postgres = [
test = [
"pytest>=8.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.27.0",
]
[tool.setuptools.packages.find]