[Python] adjust multi-constraint dependency syntax to comply with PEP 508 (#20458)

Co-authored-by: Pascal Bachor <bachorp@users.noreply.github.com>
This commit is contained in:
Pascal Bachor 2025-01-14 05:44:46 +01:00 committed by GitHub
parent 78ea8afa84
commit 61bdc6bf84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -12,14 +12,14 @@ include = ["{{packageName}}/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3 < 3.0.0" urllib3 = ">= 1.25.3, < 3.0.0"
python-dateutil = ">= 2.8.2" python-dateutil = ">= 2.8.2"
{{#asyncio}} {{#asyncio}}
aiohttp = ">= 3.8.4" aiohttp = ">= 3.8.4"
aiohttp-retry = ">= 2.8.3" aiohttp-retry = ">= 2.8.3"
{{/asyncio}} {{/asyncio}}
{{#tornado}} {{#tornado}}
tornado = ">=4.2 <5" tornado = ">=4.2, <5"
{{/tornado}} {{/tornado}}
{{#hasHttpSignatureMethods}} {{#hasHttpSignatureMethods}}
pem = ">= 19.3.0" pem = ">= 19.3.0"

View File

@ -12,7 +12,7 @@ include = ["openapi_client/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3 < 3.0.0" urllib3 = ">= 1.25.3, < 3.0.0"
python-dateutil = ">= 2.8.2" python-dateutil = ">= 2.8.2"
pydantic = ">= 2" pydantic = ">= 2"
typing-extensions = ">= 4.7.1" typing-extensions = ">= 4.7.1"

View File

@ -12,7 +12,7 @@ include = ["openapi_client/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3 < 3.0.0" urllib3 = ">= 1.25.3, < 3.0.0"
python-dateutil = ">= 2.8.2" python-dateutil = ">= 2.8.2"
pydantic = ">= 2" pydantic = ">= 2"
typing-extensions = ">= 4.7.1" typing-extensions = ">= 4.7.1"

View File

@ -12,7 +12,7 @@ include = ["petstore_api/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3 < 3.0.0" urllib3 = ">= 1.25.3, < 3.0.0"
python-dateutil = ">= 2.8.2" python-dateutil = ">= 2.8.2"
aiohttp = ">= 3.8.4" aiohttp = ">= 3.8.4"
aiohttp-retry = ">= 2.8.3" aiohttp-retry = ">= 2.8.3"

View File

@ -12,7 +12,7 @@ include = ["petstore_api/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3 < 3.0.0" urllib3 = ">= 1.25.3, < 3.0.0"
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"