[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions

View File

@ -23,7 +23,7 @@ tornado = ">=4.2,<5"
pem = ">= 19.3.0" pem = ">= 19.3.0"
pycryptodome = ">= 3.9.0" pycryptodome = ">= 3.9.0"
{{/hasHttpSignatureMethods}} {{/hasHttpSignatureMethods}}
pydantic = ">= 1.10.5" pydantic = "^1.10.5"
aenum = ">=3.1.11" aenum = ">=3.1.11"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]

View File

@ -1,7 +1,7 @@
python_dateutil >= 2.5.3 python_dateutil >= 2.5.3
setuptools >= 21.0.0 setuptools >= 21.0.0
urllib3 >= 1.25.3 urllib3 >= 1.25.3
pydantic >= 1.10.2 pydantic >= 1.10.5, < 2
aenum >= 3.1.11 aenum >= 3.1.11
{{#asyncio}} {{#asyncio}}
aiohttp >= 3.0.0 aiohttp >= 3.0.0

View File

@ -29,7 +29,7 @@ REQUIRES = [
"pem>=19.3.0", "pem>=19.3.0",
"pycryptodome>=3.9.0", "pycryptodome>=3.9.0",
{{/hasHttpSignatureMethods}} {{/hasHttpSignatureMethods}}
"pydantic", "pydantic >= 1.10.5, < 2",
"aenum" "aenum"
] ]

View File

@ -13,7 +13,7 @@ python = "^3.7"
urllib3 = ">= 1.25.3" urllib3 = ">= 1.25.3"
python-dateutil = ">=2.8.2" python-dateutil = ">=2.8.2"
pydantic = ">= 1.10.5" pydantic = "^1.10.5"
aenum = ">=3.1.11" aenum = ">=3.1.11"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]

View File

@ -1,5 +1,5 @@
python_dateutil >= 2.5.3 python_dateutil >= 2.5.3
setuptools >= 21.0.0 setuptools >= 21.0.0
urllib3 >= 1.25.3 urllib3 >= 1.25.3
pydantic >= 1.10.2 pydantic >= 1.10.5, < 2
aenum >= 3.1.11 aenum >= 3.1.11

View File

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

View File

@ -16,7 +16,7 @@ python-dateutil = ">=2.8.2"
aiohttp = ">= 3.8.4" aiohttp = ">= 3.8.4"
pem = ">= 19.3.0" pem = ">= 19.3.0"
pycryptodome = ">= 3.9.0" pycryptodome = ">= 3.9.0"
pydantic = ">= 1.10.5" pydantic = "^1.10.5"
aenum = ">=3.1.11" aenum = ">=3.1.11"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]

View File

@ -1,6 +1,6 @@
python_dateutil >= 2.5.3 python_dateutil >= 2.5.3
setuptools >= 21.0.0 setuptools >= 21.0.0
urllib3 >= 1.25.3 urllib3 >= 1.25.3
pydantic >= 1.10.2 pydantic >= 1.10.5, < 2
aenum >= 3.1.11 aenum >= 3.1.11
aiohttp >= 3.0.0 aiohttp >= 3.0.0

View File

@ -29,7 +29,7 @@ REQUIRES = [
"aiohttp >= 3.0.0", "aiohttp >= 3.0.0",
"pem>=19.3.0", "pem>=19.3.0",
"pycryptodome>=3.9.0", "pycryptodome>=3.9.0",
"pydantic", "pydantic >= 1.10.5, < 2",
"aenum" "aenum"
] ]

View File

@ -15,7 +15,7 @@ urllib3 = ">= 1.25.3"
python-dateutil = ">=2.8.2" python-dateutil = ">=2.8.2"
pem = ">= 19.3.0" pem = ">= 19.3.0"
pycryptodome = ">= 3.9.0" pycryptodome = ">= 3.9.0"
pydantic = ">= 1.10.5" pydantic = "^1.10.5"
aenum = ">=3.1.11" aenum = ">=3.1.11"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]

View File

@ -1,5 +1,5 @@
python_dateutil >= 2.5.3 python_dateutil >= 2.5.3
setuptools >= 21.0.0 setuptools >= 21.0.0
urllib3 >= 1.25.3 urllib3 >= 1.25.3
pydantic >= 1.10.2 pydantic >= 1.10.5, < 2
aenum >= 3.1.11 aenum >= 3.1.11

View File

@ -28,7 +28,7 @@ REQUIRES = [
"python-dateutil", "python-dateutil",
"pem>=19.3.0", "pem>=19.3.0",
"pycryptodome>=3.9.0", "pycryptodome>=3.9.0",
"pydantic", "pydantic >= 1.10.5, < 2",
"aenum" "aenum"
] ]