diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-06-29 21:16:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-06-29 21:16:51 +0000 |
commit | 8856fb2983bf1e65e983440132fe2132880d5c83 (patch) | |
tree | f141e8eb9b1d8c475c63d26ea7bd57c21ac13f1b | |
parent | b99cfc7cdc36a7452eb15f4b20989d1679bad11a (diff) | |
parent | 897cd1766d1fabb2368d07a6958496815abe4589 (diff) | |
download | sqlalchemy-8856fb2983bf1e65e983440132fe2132880d5c83.tar.gz |
Merge "Use python version in extras_require; integrate with tox"
-rw-r--r-- | setup.cfg | 8 | ||||
-rw-r--r-- | tox.ini | 18 |
2 files changed, 11 insertions, 15 deletions
@@ -39,8 +39,12 @@ package_dir = mssql = pyodbc mssql_pymssql = pymssql mssql_pyodbc = pyodbc -mysql = mysqlclient -oracle = cx_oracle +mysql = + mysqlclient>=1.4.0,<2;python_version<"3" + mysqlclient>=1.4.0;python_version>="3" +oracle = + cx_oracle>=7,<8;python_version<"3" + cx_oracle>=7;python_version>="3" postgresql = psycopg2>=2.7 postgresql_pg8000 = pg8000 postgresql_psycopg2binary = psycopg2-binary @@ -19,19 +19,11 @@ deps=pytest!=3.9.1,!=3.9.2 pytest-xdist mock; python_version < '3.3' - postgresql: psycopg2>=2.7 - - # mysqlclient minimum 1.4.0 needed only for correct profiling results - py3{,5,6,7,8,9,10,11}-mysql: mysqlclient>=1.4.0 - py2{,7}-mysql: mysqlclient>=1.4.0,<2 - - mysql: pymysql - mysql: mysql-connector-python - - py3{,5,6,7,8,9,10,11}-oracle: cx_oracle>=7.0 - py2{,7}-oracle: cx_oracle>=7.0,<8 - - mssql: pyodbc + postgresql: .[postgresql] + mysql: .[mysql] + mysql: .[pymysql] + oracle: .[oracle] + mssql: .[mssql] cov: pytest-cov |