Skip to content

Commit 18e6b5d

Browse files
committed
Merge branch 'fix-issue-22436' of https://github.com/saschakr/openapi-generator into saschakr-fix-issue-22436
2 parents 41c54e8 + 087fb0e commit 18e6b5d

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

modules/openapi-generator/src/main/resources/python/pyproject.mustache

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ include = ["{{packageName}}/py.typed"]
3333

3434
[tool.poetry.dependencies]
3535
python = "^3.9"
36+
{{^async}}
3637
urllib3 = ">= 2.1.0, < 3.0.0"
38+
{{/async}}
3739
python-dateutil = ">= 2.8.2"
3840
{{#asyncio}}
3941
aiohttp = ">= 3.8.4"
@@ -59,7 +61,9 @@ lazy-imports = ">= 1, < 2"
5961
requires-python = ">=3.9"
6062

6163
dependencies = [
64+
{{^async}}
6265
"urllib3 (>=2.1.0,<3.0.0)",
66+
{{/async}}
6367
"python-dateutil (>=2.8.2)",
6468
{{#httpx}}
6569
"httpx (>=0.28.1)",

modules/openapi-generator/src/main/resources/python/requirements.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
{{^async}}
12
urllib3 >= 2.1.0, < 3.0.0
3+
{{/async}}
24
python_dateutil >= 2.8.2
35
{{#asyncio}}
46
aiohttp >= 3.8.4

modules/openapi-generator/src/main/resources/python/setup.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ NAME = "{{{projectName}}}"
1515
VERSION = "{{packageVersion}}"
1616
PYTHON_REQUIRES = ">= 3.9"
1717
REQUIRES = [
18+
{{^async}}
1819
"urllib3 >= 2.1.0, < 3.0.0",
20+
{{/async}}
1921
"python-dateutil >= 2.8.2",
2022
{{#asyncio}}
2123
"aiohttp >= 3.8.4",

0 commit comments

Comments
 (0)