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:
parent
f8cb5fde97
commit
448cbfd018
@ -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]
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -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]
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -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]
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -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]
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user