Skip to content

Commit

Permalink
Update default pydantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Nov 26, 2024
1 parent 95aca92 commit 9b7ff86
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion diracx-cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"diracx-client",
"diracx-core",
"gitpython",
"pydantic",
"pydantic>=2.10",
"rich",
"typer",
"pyyaml",
Expand Down
2 changes: 1 addition & 1 deletion diracx-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"cachetools",
"email_validator",
"gitpython",
"pydantic >=2",
"pydantic >=2.10",
"pydantic-settings",
"pyyaml",
]
Expand Down
1 change: 1 addition & 0 deletions diracx-core/src/diracx/core/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def _apply_default_scheme(value: str) -> str:


class AnyUrlWithoutHost(AnyUrl):

_constraints = UrlConstraints(host_required=False)


Expand Down
2 changes: 1 addition & 1 deletion diracx-db/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"diracx-core",
"fastapi",
"opensearch-py[async]",
"pydantic >=2.4",
"pydantic >=2.10",
"sqlalchemy[aiomysql,aiosqlite] >= 2",
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion diracx-routers/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"python-multipart",
"fastapi",
"httpx",
"pydantic >=2.4",
"pydantic >=2.10",
"uvicorn",
"sqlalchemy",
"opentelemetry-api",
Expand Down

0 comments on commit 9b7ff86

Please sign in to comment.