Skip to content

Commit c37c427

Browse files
committed
Only install futures if below python3
1 parent 9dc3c60 commit c37c427

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

aws_lambda/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Version information."""
22

33
# The following line *must* be the last in the module, exactly as formatted:
4-
__version__ = "0.11.0"
4+
__version__ = "0.11.1"

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ botocore==1.10.42
22
boto3==1.7.42
33
click==6.6
44
docutils==0.14
5-
futures==3.0.5
65
jmespath==0.9.4
76
pyaml==15.8.2
87
python-dateutil==2.8.0

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
requirements = f.read().splitlines()
1212
pip_requirements = [r.strip() for r in requirements]
1313

14+
# Only install futures package if using a Python version <= 2.7
15+
if sys.version_info < (3, 0):
16+
pip_requirements.append('futures==3.0.5')
17+
1418
pkg_version = open("aws_lambda/_version.py").readlines()[-1].split()[-1].strip("\"'")
1519

1620
test_requirements = [

0 commit comments

Comments
 (0)