fix: #20826 Update urllib3 requirement for Python generator (#20845)

* fix: #20826 Update urllib3 requirement for Python generator

* Fix test to use localhost instead of petstore.swagger.io
This commit is contained in:
Robinsstudio
2025-03-17 11:26:57 +01:00
committed by GitHub
parent 995c6c5a88
commit 02307dbf0c
17 changed files with 22 additions and 17 deletions

View File

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

View File

@@ -1,4 +1,4 @@
urllib3 >= 1.25.3, < 3.0.0
urllib3 >= 2.1.0, < 3.0.0
python_dateutil >= 2.8.2
aiohttp >= 3.8.4
aiohttp-retry >= 2.8.3

View File

@@ -24,7 +24,7 @@ NAME = "petstore-api"
VERSION = "1.0.0"
PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0",
"urllib3 >= 2.1.0, < 3.0.0",
"python-dateutil >= 2.8.2",
"aiohttp >= 3.8.4",
"aiohttp-retry >= 2.8.3",