Skip to content

Commit

Permalink
Fix pydantic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Dec 9, 2024
1 parent 8d74a71 commit e29d9f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies = [
"jinja2>=3.1.2,<4.0.0",
"lilya>=0.11.6",
"loguru>=0.7.0,<0.8.0",
"pydantic>=2.9.1,<3.0.0",
"pydantic>=2.10,<3.0.0",
"pydantic-settings>=2.0.0,<3.0.0",
"python-multipart>=0.0.7",
"python-slugify>=8.0.4,<10.0.0",
Expand Down Expand Up @@ -103,7 +103,7 @@ testing = [
"ujson>=5.7.0,<6",
"anyio[trio]>=3.6.2,<5.0.0",
"brotli>=1.0.9,<2.0.0",
"edgy[postgres]>=0.21.0",
"edgy[postgres]>=0.23.3",
"databasez>=0.9.7",
"flask>=1.1.2,<4.0.0",
"freezegun>=1.2.2,<2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/routing/test_syntax_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from esmerald import Gateway, JSONResponse, get
from esmerald.testclient import create_client

pydantic_version = __version__
pydantic_version = ".".join(__version__.split(".")[:2])


class ItemType(str, Enum):
Expand Down
2 changes: 1 addition & 1 deletion tests/security/oauth/test_security_oauth2_optional_desc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from esmerald.security.oauth2 import OAuth2, OAuth2PasswordRequestFormStrict
from esmerald.testclient import create_client

pydantic_version = __version__
pydantic_version = ".".join(__version__.split(".")[:2])

reusable_oauth2 = OAuth2(
flows={
Expand Down

0 comments on commit e29d9f4

Please sign in to comment.