[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:
Robert Schweizer
2023-04-12 05:08:28 +02:00
committed by GitHub
parent f8cb5fde97
commit 448cbfd018
12 changed files with 12 additions and 12 deletions

View File

@@ -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]

View File

@@ -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

View File

@@ -27,7 +27,7 @@ PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3",
"python-dateutil",
"pydantic",
"pydantic >= 1.10.5, < 2",
"aenum"
]