forked from loafle/openapi-generator-original
[python-nextgen] Limit allowed pydantic version range (#15189)
Align the lower limits between pyproject.toml and setup.py. Set a common upper limit of <2, because version 2 brings breaking changes.
This commit is contained in:
@@ -27,7 +27,7 @@ PYTHON_REQUIRES = ">=3.7"
|
||||
REQUIRES = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil",
|
||||
"pydantic",
|
||||
"pydantic >= 1.10.5, < 2",
|
||||
"aenum"
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user