diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2023-02-06 15:26:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-02-06 15:26:54 +0000 |
| commit | a7434ecb339554ba095ddddf1978f8606633299c (patch) | |
| tree | 0541cc59c977f91e228013db8b4cd84bb9de6893 | |
| parent | 44da56e573a1404dae48e6025b6fdb042bfc231c (diff) | |
| parent | 9c0fe584ea77ec985e8ea5f71e35f0ccfd6de013 (diff) | |
| download | sqlalchemy-a7434ecb339554ba095ddddf1978f8606633299c.tar.gz | |
Merge "use tox extras" into main
| -rw-r--r-- | tox.ini | 43 |
1 files changed, 22 insertions, 21 deletions
@@ -5,35 +5,36 @@ envlist = py [testenv] cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --exclude-tag memory-intensive --exclude-tag timing-intensive -k "not aaa_profiling" -# new opt as of tox 4.4.0 was set to True causing it to dump the -# deps below into a constraints file, while requirements of the -# form ".[aiosqlite]" are not valid constraints, those are requirements -constrain_package_deps=false +# this needs to be set as of tox 4.4.0 *if* we have extras (e.g. .[aiosqlite]) +# inside of deps. But we put them in extras now. +# see https://github.com/tox-dev/tox/issues/2898 +# constrain_package_deps=false usedevelop= cov: True -deps= - pytest>=7.0.0rc1,<8 - pytest-xdist +extras= + sqlite: aiosqlite + sqlite_file: aiosqlite + sqlite_file: sqlcipher; python_version < '3.10' + postgresql: postgresql + postgresql: postgresql_asyncpg + postgresql: postgresql_pg8000 + postgresql: postgresql_psycopg - sqlite: .[aiosqlite] - sqlite_file: .[aiosqlite] - sqlite_file: .[sqlcipher]; python_version < '3.10' - postgresql: .[postgresql] - postgresql: .[postgresql_asyncpg] - postgresql: .[postgresql_pg8000] - postgresql: .[postgresql_psycopg] + mysql: mysql + mysql: pymysql + mysql: asyncmy - mysql: .[mysql] - mysql: .[pymysql] - mysql: .[asyncmy] +# mysql: mariadb_connector -# mysql: .[mariadb_connector] + oracle: oracle + oracle: oracle_oracledb + mssql: mssql - oracle: .[oracle] - oracle: .[oracle_oracledb] - mssql: .[mssql] +deps= + pytest>=7.0.0rc1,<8 + pytest-xdist dbapimain-sqlite: git+https://github.com/omnilib/aiosqlite.git#egg=aiosqlite dbapimain-sqlite: git+https://github.com/coleifer/sqlcipher3.git#egg=sqlcipher3 |
