[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

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