Reduce test and optional requirements to global requirements
Currently SQLAlchemy 0.9 and pyMySQL are not available on OpenStack PyPi mirror, which means we can't run tests with them at gating. Related-bug: 1280008 Change-Id: I23a8b7ab31d7fb9f6ae7454c242a2ba854484cea
This commit is contained in:
@@ -9,9 +9,12 @@ SQLAlchemy<=0.7.99,<=0.9.99
|
||||
alembic>=0.4.1
|
||||
|
||||
# Database (sqlalchemy) persistence with MySQL:
|
||||
pyMySQL
|
||||
MySQL-python
|
||||
|
||||
# NOTE(imelnikov): pyMySQL should be here, but for now it's commented out
|
||||
# because of https://bugs.launchpad.net/openstack-ci/+bug/1280008
|
||||
# pyMySQL
|
||||
|
||||
# Database (sqlalchemy) persistence with PostgreSQL:
|
||||
psycopg2
|
||||
|
||||
|
||||
12
tox-tmpl.ini
12
tox-tmpl.ini
@@ -58,10 +58,11 @@ deps = -r{toxinidir}/requirements.txt
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
deps = {[testenv:py33-sa9-pymysql]deps}
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
|
||||
[axes]
|
||||
python = py26,py27,py33
|
||||
python = py26,py27
|
||||
sqlalchemy = sa7,sa8,sa9
|
||||
mysql = mysql,pymysql
|
||||
eventlet = ev,*
|
||||
@@ -74,15 +75,9 @@ deps = {[testenv]deps}
|
||||
basepython = python2.7
|
||||
deps = {[testenv]deps}
|
||||
|
||||
[axis:python:py33]
|
||||
basepython = python3.3
|
||||
deps = {[testenv]deps}
|
||||
|
||||
[axis:eventlet:ev]
|
||||
deps =
|
||||
eventlet>=0.13.0
|
||||
constraints =
|
||||
!python:py33
|
||||
|
||||
[axis:sqlalchemy:sa7]
|
||||
deps =
|
||||
@@ -99,7 +94,6 @@ deps =
|
||||
[axis:mysql:mysql]
|
||||
deps =
|
||||
MySQL-python
|
||||
constraints = !python:py33
|
||||
|
||||
[axis:mysql:pymysql]
|
||||
deps =
|
||||
|
||||
24
tox.ini
24
tox.ini
@@ -32,9 +32,6 @@ envlist = cover,
|
||||
py27-sa9-pymysql,
|
||||
py27-sa9-pymysql-ev,
|
||||
py33,
|
||||
py33-sa7-pymysql,
|
||||
py33-sa8-pymysql,
|
||||
py33-sa9-pymysql,
|
||||
pylint
|
||||
|
||||
[testenv]
|
||||
@@ -84,7 +81,8 @@ deps = -r{toxinidir}/requirements.txt
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
deps = {[testenv:py33-sa9-pymysql]deps}
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
|
||||
[testenv:py26-sa7-mysql-ev]
|
||||
deps = {[testenv]deps}
|
||||
@@ -242,21 +240,3 @@ deps = {[testenv]deps}
|
||||
pyMySQL
|
||||
basepython = python2.7
|
||||
|
||||
[testenv:py33-sa7-pymysql]
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy<=0.7.99
|
||||
pyMySQL
|
||||
basepython = python3.3
|
||||
|
||||
[testenv:py33-sa8-pymysql]
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.8,<=0.8.99
|
||||
pyMySQL
|
||||
basepython = python3.3
|
||||
|
||||
[testenv:py33-sa9-pymysql]
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.9,<=0.9.99
|
||||
pyMySQL
|
||||
basepython = python3.3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user