From 3957a93a64b1586f66f3ea700f3b29cc53e8a8b4 Mon Sep 17 00:00:00 2001 From: Jay O'Conor Date: Fri, 18 Mar 2016 10:50:40 -0700 Subject: [PATCH] Moto requires boto >= 2.33.0 Moto imports a class in boto that did not exist before boto 2.33.0 Partial traceback showing ImportError with versions of boto < 2.33.0: File "/src/python/moto/moto/__init__.py", line 8, in from .autoscaling import mock_autoscaling # flake8: noqa File "/src/python/moto/moto/autoscaling/__init__.py", line 2, in from .models import autoscaling_backends File "/src/python/moto/moto/autoscaling/models.py", line 5, in from moto.elb import elb_backends File "/src/python/moto/moto/elb/__init__.py", line 2, in from .models import elb_backends File "/src/python/moto/moto/elb/models.py", line 4, in from boto.ec2.elb.attributes import ( ImportError: cannot import name ConnectionSettingAttribute --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 51368e592..2c87c70c6 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages install_requires = [ "Jinja2", - "boto>=2.26.0", + "boto>=2.33.0", "flask", "httpretty==0.8.10", "requests",