Skip to content

Commit 45b8c30

Browse files
committed
Make test run again on python 2.6
1 parent 498dbdf commit 45b8c30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
TESTS_REQUIRE.append('cryptography')
4242

4343
if not sys.platform.startswith('java') and not sys.platform == 'cli':
44-
TESTS_REQUIRE.extend(['SQLALchemy', 'pymongo', 'redis'])
44+
if py_version == (2, 6):
45+
TESTS_REQUIRE.append('sqlalchemy < 1.2')
46+
else:
47+
TESTS_REQUIRE.append('sqlalchemy')
48+
TESTS_REQUIRE.extend(['pymongo', 'redis'])
4549
try:
4650
import sqlite3
4751
except ImportError:

0 commit comments

Comments
 (0)