Merge "We can now use PyMySQL in py3.x tests"
This commit is contained in:
commit
45ba27ed1a
@ -19,6 +19,11 @@ kazoo>=1.3.1
|
||||
# NOTE(harlowja): SQLAlchemy isn't listed here currently but is
|
||||
# listed in our tox.ini files so that we can test multiple varying SQLAlchemy
|
||||
# versions to ensure a wider range of compatibility.
|
||||
#
|
||||
# Explict mysql drivers are also not listed here so that we can test against
|
||||
# PyMySQL or MySQL-python depending on the python version the tests are being
|
||||
# ran in (MySQL-python is currently preferred for 2.x environments, since
|
||||
# it has been used in openstack for the longest).
|
||||
alembic>=0.6.4
|
||||
psycopg2
|
||||
|
||||
|
2
tox.ini
2
tox.ini
@ -84,11 +84,13 @@ commands =
|
||||
deps = {[testenv]deps}
|
||||
-r{toxinidir}/requirements-py3.txt
|
||||
SQLAlchemy>=0.7.8,<=0.9.99
|
||||
PyMySQL>=0.6.2
|
||||
|
||||
[testenv:py34]
|
||||
deps = {[testenv]deps}
|
||||
-r{toxinidir}/requirements-py3.txt
|
||||
SQLAlchemy>=0.7.8,<=0.9.99
|
||||
PyMySQL>=0.6.2
|
||||
|
||||
[testenv:py26-sa7-mysql]
|
||||
basepython = python2.6
|
||||
|
Loading…
Reference in New Issue
Block a user