Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 8a11dbe

Browse files
committed
Updates requiremnts
1 parent d3f89b7 commit 8a11dbe

File tree

9 files changed

+58
-52
lines changed

9 files changed

+58
-52
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{#if asyncio}}
2+
{{#if quoted}}"{{/if}}aiohttp ~= 3.0.0{{#if quoted}}",{{/if}}
3+
{{/if}}
4+
{{#if quoted}}"{{/if}}certifi ~= 14.5.14{{#if quoted}}",{{/if}}
5+
{{#if quoted}}"{{/if}}frozendict ~= 2.3.4{{#if quoted}}",{{/if}}
6+
{{#if hasHttpSignatureMethods}}
7+
{{#if quoted}}"{{/if}}pem ~= 19.3.0{{#if quoted}}",{{/if}}
8+
{{#if quoted}}"{{/if}}pycryptodome ~= 3.9.0{{#if quoted}}",{{/if}}
9+
{{/if}}
10+
{{#if quoted}}"{{/if}}python-dateutil ~= 2.7.0{{#if quoted}}",{{/if}}
11+
{{#if quoted}}"{{/if}}setuptools ~= 21.0.0{{#if quoted}}",{{/if}}
12+
{{#if tornado}}
13+
{{#if quoted}}"{{/if}}tornado ~= 4.2{{#if quoted}}",{{/if}}
14+
{{/if}}
15+
{{#if quoted}}"{{/if}}typing_extensions ~= 4.3.0{{#if quoted}}",{{/if}}
16+
{{#if quoted}}"{{/if}}urllib3 ~= 1.26.12{{#if quoted}}",{{/if}}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
certifi >= 14.05.14
2-
frozendict >= 2.0.3
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.15.1
1+
{{> required_libraries quoted=false }}

modules/openapi-json-schema-generator/src/main/resources/python/setup.handlebars

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,7 @@ VERSION = "{{packageVersion}}"
1515
# http://pypi.python.org/pypi/setuptools
1616

1717
REQUIRES = [
18-
"urllib3 >= 1.15",
19-
"certifi",
20-
"python-dateutil",
21-
"frozendict >= 2.0.3",
22-
{{#if asyncio}}
23-
"aiohttp >= 3.0.0",
24-
{{/if}}
25-
{{#if tornado}}
26-
"tornado>=4.2,<5",
27-
{{/if}}
28-
{{#if hasHttpSignatureMethods}}
29-
"pem>=19.3.0",
30-
"pycryptodome>=3.9.0",
31-
{{/if}}
32-
"typing_extensions",
18+
{{> required_libraries quoted=true }}
3319
]
3420

3521
setup(
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
certifi >= 14.05.14
2-
frozendict >= 2.0.3
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.15.1
1+
certifi ~= 14.5.14
2+
frozendict ~= 2.3.4
3+
python-dateutil ~= 2.7.0
4+
setuptools ~= 21.0.0
5+
typing_extensions ~= 4.3.0
6+
urllib3 ~= 1.26.12

samples/openapi3/client/3_0_3_unit_test/python/setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
# http://pypi.python.org/pypi/setuptools
2222

2323
REQUIRES = [
24-
"urllib3 >= 1.15",
25-
"certifi",
26-
"python-dateutil",
27-
"frozendict >= 2.0.3",
28-
"typing_extensions",
24+
"certifi ~= 14.5.14",
25+
"frozendict ~= 2.3.4",
26+
"python-dateutil ~= 2.7.0",
27+
"setuptools ~= 21.0.0",
28+
"typing_extensions ~= 4.3.0",
29+
"urllib3 ~= 1.26.12",
2930
]
3031

3132
setup(
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
certifi >= 14.05.14
2-
frozendict >= 2.0.3
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.15.1
1+
certifi ~= 14.5.14
2+
frozendict ~= 2.3.4
3+
python-dateutil ~= 2.7.0
4+
setuptools ~= 21.0.0
5+
typing_extensions ~= 4.3.0
6+
urllib3 ~= 1.26.12

samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
# http://pypi.python.org/pypi/setuptools
2222

2323
REQUIRES = [
24-
"urllib3 >= 1.15",
25-
"certifi",
26-
"python-dateutil",
27-
"frozendict >= 2.0.3",
28-
"typing_extensions",
24+
"certifi ~= 14.5.14",
25+
"frozendict ~= 2.3.4",
26+
"python-dateutil ~= 2.7.0",
27+
"setuptools ~= 21.0.0",
28+
"typing_extensions ~= 4.3.0",
29+
"urllib3 ~= 1.26.12",
2930
]
3031

3132
setup(
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
certifi >= 14.05.14
2-
frozendict >= 2.0.3
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.15.1
1+
certifi ~= 14.5.14
2+
frozendict ~= 2.3.4
3+
pem ~= 19.3.0
4+
pycryptodome ~= 3.9.0
5+
python-dateutil ~= 2.7.0
6+
setuptools ~= 21.0.0
7+
typing_extensions ~= 4.3.0
8+
urllib3 ~= 1.26.12

samples/openapi3/client/petstore/python/setup.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
# http://pypi.python.org/pypi/setuptools
2222

2323
REQUIRES = [
24-
"urllib3 >= 1.15",
25-
"certifi",
26-
"python-dateutil",
27-
"frozendict >= 2.0.3",
28-
"pem>=19.3.0",
29-
"pycryptodome>=3.9.0",
30-
"typing_extensions",
24+
"certifi ~= 14.5.14",
25+
"frozendict ~= 2.3.4",
26+
"pem ~= 19.3.0",
27+
"pycryptodome ~= 3.9.0",
28+
"python-dateutil ~= 2.7.0",
29+
"setuptools ~= 21.0.0",
30+
"typing_extensions ~= 4.3.0",
31+
"urllib3 ~= 1.26.12",
3132
]
3233

3334
setup(

0 commit comments

Comments
 (0)