Skip to content

Commit 04177c5

Browse files
authored
fix(python): pin urllib3 version to <2.6 #SCD-642 (#979)
1 parent 5519e1b commit 04177c5

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

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
27+
* urllib3 >= 1.15, < 2.6
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
28+
* urllib3 >= 1.15, < 2.6
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
7+
urllib3 >= 1.15.1, < 2.6

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",
20+
"urllib3>=1.15,<2.6",
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
6+
urllib3 >= 1.15.1, < 2.6

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", "six >= 1.10", "certifi", "python-dateutil"]
19+
REQUIRES = ["urllib3>=1.15,<2.6", "six >= 1.10", "certifi", "python-dateutil"]
2020
{{#asyncio}}
2121
REQUIRES.append("aiohttp >= 3.0.0")
2222
{{/asyncio}}

0 commit comments

Comments
 (0)