File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ boto3==1.4.4
22botocore == 1.5.62
33click == 6.6
44docutils == 0.12
5- futures == 3.0.5
65jmespath == 0.9.0
76pyaml == 15.8.2
87python-dateutil == 2.5.3
Original file line number Diff line number Diff line change 1313 'requirements.txt' , session = pip .download .PipSession (),
1414)
1515
16+ pip_requirements = [str (r .req ) for r in requirements ]
17+
1618# Only install futures package if using a Python version <= 2.7
17- if sys .version_info [0 ] == 2 :
18- pip_requirements = [str (r .req ) for r in requirements ]
19- else :
20- pip_requirements = [str (r .req )
21- for r in requirements if 'futures' not in str (r .req )]
19+ if sys .version_info < (3 , 0 ):
20+ pip_requirements .append ('futures' )
2221
2322test_requirements = [
2423 # TODO: put package test requirements here
You can’t perform that action at this time.
0 commit comments