From 37c68c9db258af9f749cb1ce2b0f0e6f40c9fb73 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 16 Sep 2024 15:14:52 +0900 Subject: [PATCH] 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 --- tox.ini | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tox.ini b/tox.ini index 2e84da5ba6..aadbffb8e7 100644 --- a/tox.ini +++ b/tox.ini @@ -15,8 +15,6 @@ setenv = # part of its test clean-up. Think of setting this environment variable as a # clue for oslo.db to use file-based database. 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 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 @@ -34,8 +32,6 @@ passenv = [testenv:functional] setenv = 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} [testenv:functional-py{310,311,312,313}]