Skip to content

Commit 33028bb

Browse files
authored
feat(python): Relax strict urllib3 version pin #SCD-642 (#1048)
1 parent 29eb761 commit 33028bb

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

openapi-generator/templates/python/README_onlypackage.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This python library package is generated without supporting files like setup.py
2424

2525
To be able to use it, you will need these dependencies in your own package that uses this library:
2626

27-
* urllib3 >= 1.15, < 2.6
27+
* urllib3 >= 1.15.1, < 3, != 2.6.0
2828
* six >= 1.10
2929
* certifi
3030
* python-dateutil

openapi-generator/templates/python/python-experimental/README_onlypackage.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This python library package is generated without supporting files like setup.py
2525

2626
To be able to use it, you will need these dependencies in your own package that uses this library:
2727

28-
* urllib3 >= 1.15, < 2.6
28+
* urllib3 >= 1.15.1, < 3, != 2.6.0
2929
* six >= 1.10
3030
* certifi
3131
* python-dateutil

openapi-generator/templates/python/python-experimental/requirements.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ future; python_version<="2.7"
44
six >= 1.10
55
python_dateutil >= 2.5.3
66
setuptools >= 21.0.0
7-
urllib3 >= 1.15.1, < 2.6
7+
urllib3 >= 1.15.1, < 3, != 2.6.0

openapi-generator/templates/python/python-experimental/setup.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ VERSION = "{{packageVersion}}"
1717
# http://pypi.python.org/pypi/setuptools
1818

1919
REQUIRES = [
20-
"urllib3>=1.15,<2.6",
20+
"urllib3 >= 1.15.1, < 3, != 2.6.0",
2121
"six >= 1.10",
2222
"certifi",
2323
"python-dateutil",

openapi-generator/templates/python/requirements.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ future; python_version<="2.7"
33
six >= 1.10
44
python_dateutil >= 2.5.3
55
setuptools >= 21.0.0
6-
urllib3 >= 1.15.1, < 2.6
6+
urllib3 >= 1.15.1, < 3, != 2.6.0

openapi-generator/templates/python/setup.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ VERSION = "{{packageVersion}}"
1616
# prerequisite: setuptools
1717
# http://pypi.python.org/pypi/setuptools
1818

19-
REQUIRES = ["urllib3>=1.15,<2.6", "six >= 1.10", "certifi", "python-dateutil"]
19+
REQUIRES = ["urllib3 >= 1.15.1, < 3, != 2.6.0", "six >= 1.10", "certifi", "python-dateutil"]
2020
{{#asyncio}}
2121
REQUIRES.append("aiohttp >= 3.0.0")
2222
{{/asyncio}}

0 commit comments

Comments
 (0)