mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 15:32:43 +00:00
[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:
@@ -13,7 +13,7 @@ python = "^3.7"
|
||||
|
||||
urllib3 = ">= 1.25.3"
|
||||
python-dateutil = ">=2.8.2"
|
||||
pydantic = ">= 1.10.5"
|
||||
pydantic = "^1.10.5"
|
||||
aenum = ">=3.1.11"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
python_dateutil >= 2.5.3
|
||||
setuptools >= 21.0.0
|
||||
urllib3 >= 1.25.3
|
||||
pydantic >= 1.10.2
|
||||
pydantic >= 1.10.5, < 2
|
||||
aenum >= 3.1.11
|
||||
|
||||
@@ -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