diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-01 09:12:17 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-01 09:33:12 -0500 |
commit | 8c0990988d880e0e56a32403a912b9d590cde8d2 (patch) | |
tree | ac453755eeb2a6f9da514ed4d30c4eaeaf29da29 /tox.ini | |
parent | 52dee10f107a5d9295236fa62dc7094dc3f0b023 (diff) | |
download | alembic-8c0990988d880e0e56a32403a912b9d590cde8d2.tar.gz |
resolve for variant before testing for schema type
Fixed regression where usage of a ``with_variant()`` datatype in
conjunction with the ``existing_type`` option of ``op.alter_column()``
under batch mode would lead to an internal exception.
note this exception would only occur under 1.x, under 2.0
the new variant architecture would have prevented this problem,
however it is best here that the ultimate variant type is
unwrapped in the case that we have a plain type with a
schema type as a variant.
also sqla 1.3 needs pytest < 7 to run correctly
Change-Id: I0f5480f97f014e707b8bd4e70f8495d3bd27fd21
Fixes: #982
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ cov_args=--cov=alembic --cov-report term --cov-report xml deps=pytest>4.6 pytest-xdist + sqla13: pytest<7 sqla13: {[tox]SQLA_REPO}@rel_1_3#egg=sqlalchemy sqla14: {[tox]SQLA_REPO}@rel_1_4#egg=sqlalchemy sqlamain: {[tox]SQLA_REPO}#egg=sqlalchemy |