Harmonize python client dependency versions (#19694)

Co-authored-by: Pascal Bachor <bachorp@users.noreply.github.com>
This commit is contained in:
Pascal Bachor 2024-10-03 08:09:39 +02:00 committed by GitHub
parent 0371799857
commit 619e4d9653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
31 changed files with 119 additions and 112 deletions

View File

@ -26,15 +26,21 @@ This python library package is generated without supporting files like setup.py
To be able to use it, you will need these dependencies in your own package that uses this library: To be able to use it, you will need these dependencies in your own package that uses this library:
* urllib3 >= 1.25.3 * urllib3 >= 1.25.3, < 3.0.0
* python-dateutil * python-dateutil >= 2.8.2
{{#asyncio}} {{#asyncio}}
* aiohttp * aiohttp >= 3.8.4
* aiohttp-retry >= 2.8.3
{{/asyncio}} {{/asyncio}}
{{#tornado}} {{#tornado}}
* tornado>=4.2,<5 * tornado >= 4.2, < 5
{{/tornado}} {{/tornado}}
* pydantic {{#hasHttpSignatureMethods}}
* pem >= 19.3.0
* pycryptodome >= 3.9.0
{{/hasHttpSignatureMethods}}
* pydantic >= 2
* typing-extensions >= 4.7.1
## Getting Started ## Getting Started

View File

@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pytest --cov={{{packageName}}} - pytest --cov={{{packageName}}}
pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8: pytest-3.8:
extends: .pytest extends: .pytest
image: python:3.8-alpine image: python:3.8-alpine
@ -29,3 +26,6 @@ pytest-3.10:
pytest-3.11: pytest-3.11:
extends: .pytest extends: .pytest
image: python:3.11-alpine image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine

View File

@ -12,21 +12,21 @@ include = ["{{packageName}}/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3" 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"
pycryptodome = ">= 3.9.0" pycryptodome = ">= 3.9.0"
{{/hasHttpSignatureMethods}} {{/hasHttpSignatureMethods}}
pydantic = ">=2" pydantic = ">= 2"
typing-extensions = ">=4.7.1" typing-extensions = ">= 4.7.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = ">=7.2.1" pytest = ">=7.2.1"

View File

@ -1,12 +1,15 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 3.0.0 urllib3 >= 1.25.3, < 3.0.0
pydantic >= 2 python_dateutil >= 2.8.2
typing-extensions >= 4.7.1
{{#asyncio}} {{#asyncio}}
aiohttp >= 3.0.0 aiohttp >= 3.8.4
aiohttp-retry >= 2.8.3 aiohttp-retry >= 2.8.3
{{/asyncio}} {{/asyncio}}
{{#tornado}}
tornado = ">= 4.2, < 5"
{{/tornado}}
{{#hasHttpSignatureMethods}} {{#hasHttpSignatureMethods}}
pem >= 19.3.0
pycryptodome >= 3.9.0 pycryptodome >= 3.9.0
{{/hasHttpSignatureMethods}} {{/hasHttpSignatureMethods}}
pydantic >= 2
typing-extensions >= 4.7.1

View File

@ -12,23 +12,23 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools # http://pypi.python.org/pypi/setuptools
NAME = "{{{projectName}}}" NAME = "{{{projectName}}}"
VERSION = "{{packageVersion}}" VERSION = "{{packageVersion}}"
PYTHON_REQUIRES = ">=3.7" PYTHON_REQUIRES = ">= 3.8"
{{#apiInfo}} {{#apiInfo}}
{{#apis}} {{#apis}}
{{#-last}} {{#-last}}
REQUIRES = [ REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0", "urllib3 >= 1.25.3, < 3.0.0",
"python-dateutil", "python-dateutil >= 2.8.2",
{{#asyncio}} {{#asyncio}}
"aiohttp >= 3.0.0", "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",
"pycryptodome>=3.9.0", "pycryptodome >= 3.9.0",
{{/hasHttpSignatureMethods}} {{/hasHttpSignatureMethods}}
"pydantic >= 2", "pydantic >= 2",
"typing-extensions >= 4.7.1", "typing-extensions >= 4.7.1",

View File

@ -1,5 +1,5 @@
pytest~=7.1.3 pytest >= 7.2.1
pytest-cov>=2.8.1 tox >= 3.9.0
pytest-randomly>=3.12.0 flake8 >= 4.0.0
mypy>=1.4.1 types-python-dateutil >= 2.8.19.14
types-python-dateutil>=2.8.19 mypy >= 1.5

View File

@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python # ref: https://docs.travis-ci.com/user/languages/python
language: python language: python
python: python:
- "3.7"
- "3.8" - "3.8"
- "3.9" - "3.9"
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12"
# uncomment the following if needed # uncomment the following if needed
#- "3.11-dev" # 3.11 development branch #- "3.12-dev" # 3.12 development branch
#- "nightly" # nightly build #- "nightly" # nightly build
# command to install dependencies # command to install dependencies
install: install:

View File

@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pytest --cov=openapi_client - pytest --cov=openapi_client
pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8: pytest-3.8:
extends: .pytest extends: .pytest
image: python:3.8-alpine image: python:3.8-alpine
@ -29,3 +26,6 @@ pytest-3.10:
pytest-3.11: pytest-3.11:
extends: .pytest extends: .pytest
image: python:3.11-alpine image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine

View File

@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python # ref: https://docs.travis-ci.com/user/languages/python
language: python language: python
python: python:
- "3.7"
- "3.8" - "3.8"
- "3.9" - "3.9"
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12"
# uncomment the following if needed # uncomment the following if needed
#- "3.11-dev" # 3.11 development branch #- "3.12-dev" # 3.12 development branch
#- "nightly" # nightly build #- "nightly" # nightly build
# command to install dependencies # command to install dependencies
install: install:

View File

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

View File

@ -1,5 +1,4 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 3.0.0 urllib3 >= 1.25.3, < 3.0.0
python_dateutil >= 2.8.2
pydantic >= 2 pydantic >= 2
typing-extensions >= 4.7.1 typing-extensions >= 4.7.1

View File

@ -23,10 +23,10 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools # http://pypi.python.org/pypi/setuptools
NAME = "openapi-client" NAME = "openapi-client"
VERSION = "1.0.0" VERSION = "1.0.0"
PYTHON_REQUIRES = ">=3.7" PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [ REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0", "urllib3 >= 1.25.3, < 3.0.0",
"python-dateutil", "python-dateutil >= 2.8.2",
"pydantic >= 2", "pydantic >= 2",
"typing-extensions >= 4.7.1", "typing-extensions >= 4.7.1",
] ]

View File

@ -1,5 +1,5 @@
pytest~=7.1.3 pytest >= 7.2.1
pytest-cov>=2.8.1 tox >= 3.9.0
pytest-randomly>=3.12.0 flake8 >= 4.0.0
mypy>=1.4.1 types-python-dateutil >= 2.8.19.14
types-python-dateutil>=2.8.19 mypy >= 1.5

View File

@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pytest --cov=openapi_client - pytest --cov=openapi_client
pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8: pytest-3.8:
extends: .pytest extends: .pytest
image: python:3.8-alpine image: python:3.8-alpine
@ -29,3 +26,6 @@ pytest-3.10:
pytest-3.11: pytest-3.11:
extends: .pytest extends: .pytest
image: python:3.11-alpine image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine

View File

@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python # ref: https://docs.travis-ci.com/user/languages/python
language: python language: python
python: python:
- "3.7"
- "3.8" - "3.8"
- "3.9" - "3.9"
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12"
# uncomment the following if needed # uncomment the following if needed
#- "3.11-dev" # 3.11 development branch #- "3.12-dev" # 3.12 development branch
#- "nightly" # nightly build #- "nightly" # nightly build
# command to install dependencies # command to install dependencies
install: install:

View File

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

View File

@ -1,5 +1,4 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 3.0.0 urllib3 >= 1.25.3, < 3.0.0
python_dateutil >= 2.8.2
pydantic >= 2 pydantic >= 2
typing-extensions >= 4.7.1 typing-extensions >= 4.7.1

View File

@ -23,10 +23,10 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools # http://pypi.python.org/pypi/setuptools
NAME = "openapi-client" NAME = "openapi-client"
VERSION = "1.0.0" VERSION = "1.0.0"
PYTHON_REQUIRES = ">=3.7" PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [ REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0", "urllib3 >= 1.25.3, < 3.0.0",
"python-dateutil", "python-dateutil >= 2.8.2",
"pydantic >= 2", "pydantic >= 2",
"typing-extensions >= 4.7.1", "typing-extensions >= 4.7.1",
] ]

View File

@ -1,5 +1,5 @@
pytest~=7.1.3 pytest >= 7.2.1
pytest-cov>=2.8.1 tox >= 3.9.0
pytest-randomly>=3.12.0 flake8 >= 4.0.0
mypy>=1.4.1 types-python-dateutil >= 2.8.19.14
types-python-dateutil>=2.8.19 mypy >= 1.5

View File

@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pytest --cov=petstore_api - pytest --cov=petstore_api
pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8: pytest-3.8:
extends: .pytest extends: .pytest
image: python:3.8-alpine image: python:3.8-alpine
@ -29,3 +26,6 @@ pytest-3.10:
pytest-3.11: pytest-3.11:
extends: .pytest extends: .pytest
image: python:3.11-alpine image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine

View File

@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python # ref: https://docs.travis-ci.com/user/languages/python
language: python language: python
python: python:
- "3.7"
- "3.8" - "3.8"
- "3.9" - "3.9"
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12"
# uncomment the following if needed # uncomment the following if needed
#- "3.11-dev" # 3.11 development branch #- "3.12-dev" # 3.12 development branch
#- "nightly" # nightly build #- "nightly" # nightly build
# command to install dependencies # command to install dependencies
install: install:

View File

@ -12,14 +12,14 @@ include = ["petstore_api/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3" 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"
pem = ">= 19.3.0" pem = ">= 19.3.0"
pycryptodome = ">= 3.9.0" pycryptodome = ">= 3.9.0"
pydantic = ">=2" pydantic = ">= 2"
typing-extensions = ">=4.7.1" typing-extensions = ">= 4.7.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = ">=7.2.1" pytest = ">=7.2.1"

View File

@ -1,8 +1,8 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 3.0.0 urllib3 >= 1.25.3, < 3.0.0
python_dateutil >= 2.8.2
aiohttp >= 3.8.4
aiohttp-retry >= 2.8.3
pem >= 19.3.0
pycryptodome >= 3.9.0
pydantic >= 2 pydantic >= 2
typing-extensions >= 4.7.1 typing-extensions >= 4.7.1
aiohttp >= 3.0.0
aiohttp-retry >= 2.8.3
pycryptodome >= 3.9.0

View File

@ -22,14 +22,14 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools # http://pypi.python.org/pypi/setuptools
NAME = "petstore-api" NAME = "petstore-api"
VERSION = "1.0.0" VERSION = "1.0.0"
PYTHON_REQUIRES = ">=3.7" PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [ REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0", "urllib3 >= 1.25.3, < 3.0.0",
"python-dateutil", "python-dateutil >= 2.8.2",
"aiohttp >= 3.0.0", "aiohttp >= 3.8.4",
"aiohttp-retry >= 2.8.3", "aiohttp-retry >= 2.8.3",
"pem>=19.3.0", "pem >= 19.3.0",
"pycryptodome>=3.9.0", "pycryptodome >= 3.9.0",
"pydantic >= 2", "pydantic >= 2",
"typing-extensions >= 4.7.1", "typing-extensions >= 4.7.1",
] ]

View File

@ -1,5 +1,5 @@
pytest~=7.1.3 pytest >= 7.2.1
pytest-cov>=2.8.1 tox >= 3.9.0
pytest-randomly>=3.12.0 flake8 >= 4.0.0
mypy>=1.4.1 types-python-dateutil >= 2.8.19.14
types-python-dateutil>=2.8.19 mypy >= 1.5

View File

@ -14,9 +14,6 @@ stages:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- pytest --cov=petstore_api - pytest --cov=petstore_api
pytest-3.7:
extends: .pytest
image: python:3.7-alpine
pytest-3.8: pytest-3.8:
extends: .pytest extends: .pytest
image: python:3.8-alpine image: python:3.8-alpine
@ -29,3 +26,6 @@ pytest-3.10:
pytest-3.11: pytest-3.11:
extends: .pytest extends: .pytest
image: python:3.11-alpine image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine

View File

@ -1,13 +1,13 @@
# ref: https://docs.travis-ci.com/user/languages/python # ref: https://docs.travis-ci.com/user/languages/python
language: python language: python
python: python:
- "3.7"
- "3.8" - "3.8"
- "3.9" - "3.9"
- "3.10" - "3.10"
- "3.11" - "3.11"
- "3.12"
# uncomment the following if needed # uncomment the following if needed
#- "3.11-dev" # 3.11 development branch #- "3.12-dev" # 3.12 development branch
#- "nightly" # nightly build #- "nightly" # nightly build
# command to install dependencies # command to install dependencies
install: install:

View File

@ -12,12 +12,12 @@ include = ["petstore_api/py.typed"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
urllib3 = ">= 1.25.3" 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"
pydantic = ">=2" pydantic = ">= 2"
typing-extensions = ">=4.7.1" typing-extensions = ">= 4.7.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
pytest = ">=7.2.1" pytest = ">=7.2.1"

View File

@ -1,6 +1,6 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.25.3, < 3.0.0 urllib3 >= 1.25.3, < 3.0.0
python_dateutil >= 2.8.2
pem >= 19.3.0
pycryptodome >= 3.9.0
pydantic >= 2 pydantic >= 2
typing-extensions >= 4.7.1 typing-extensions >= 4.7.1
pycryptodome >= 3.9.0

View File

@ -22,12 +22,12 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools # http://pypi.python.org/pypi/setuptools
NAME = "petstore-api" NAME = "petstore-api"
VERSION = "1.0.0" VERSION = "1.0.0"
PYTHON_REQUIRES = ">=3.7" PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [ REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0", "urllib3 >= 1.25.3, < 3.0.0",
"python-dateutil", "python-dateutil >= 2.8.2",
"pem>=19.3.0", "pem >= 19.3.0",
"pycryptodome>=3.9.0", "pycryptodome >= 3.9.0",
"pydantic >= 2", "pydantic >= 2",
"typing-extensions >= 4.7.1", "typing-extensions >= 4.7.1",
] ]

View File

@ -1,5 +1,5 @@
pytest~=7.1.3 pytest >= 7.2.1
pytest-cov>=2.8.1 tox >= 3.9.0
pytest-randomly>=3.12.0 flake8 >= 4.0.0
mypy>=1.4.1 types-python-dateutil >= 2.8.19.14
types-python-dateutil>=2.8.19 mypy >= 1.5