Drop SQLALCHEMY_WARN_20
This environment was used by SQLAlchemy 1.4 and is no longer necessary since SQLAlchemy was bumped to 2.0 . Change-Id: I93e9bb8724f247701f241404e07a498cdddbec77 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -15,8 +15,6 @@ setenv =
|
|||||||
# part of its test clean-up. Think of setting this environment variable as a
|
# part of its test clean-up. Think of setting this environment variable as a
|
||||||
# clue for oslo.db to use file-based database.
|
# clue for oslo.db to use file-based database.
|
||||||
OS_TEST_DBAPI_ADMIN_CONNECTION=sqlite:////tmp/placeholder-never-created-nor-used.db
|
OS_TEST_DBAPI_ADMIN_CONNECTION=sqlite:////tmp/placeholder-never-created-nor-used.db
|
||||||
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
|
|
||||||
SQLALCHEMY_WARN_20=1
|
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
install_command = python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
@@ -34,8 +32,6 @@ passenv =
|
|||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH = ./glance/tests/functional
|
OS_TEST_PATH = ./glance/tests/functional
|
||||||
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
|
|
||||||
SQLALCHEMY_WARN_20=1
|
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
|
|
||||||
[testenv:functional-py{310,311,312,313}]
|
[testenv:functional-py{310,311,312,313}]
|
||||||
|
Reference in New Issue
Block a user