Skip to content

Commit

Permalink
fix: freeze pydantic to <2 (#321)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Jul 3, 2023
1 parent cfa91b5 commit 6a5f72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "spectree"
version = "1.1.4"
version = "1.1.5"
dynamic = []
description = "generate OpenAPI document and validate request&response with Python annotations."
readme = "README.md"
Expand All @@ -22,7 +22,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pydantic>=1.9.1",
"pydantic>=1.2,<2",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name="spectree",
install_requires=[
"pydantic>=1.2",
"pydantic>=1.2,<2",
],
extras_require={
"email": ["pydantic[email]>=1.2,<2"],
Expand Down

0 comments on commit 6a5f72c

Please sign in to comment.