Merge "Drop SQLALCHEMY_WARN_20"

This commit is contained in:
Zuul 2025-02-27 23:57:04 +00:00 committed by Gerrit Code Review
commit 69ad4aa168
2 changed files with 1 additions and 5 deletions

View File

@ -91,9 +91,7 @@ class WarningsFixture(fixtures.Fixture):
'error',
category=sqla_exc.SAWarning)
# Configure SQLAlchemy 2.0 warnings
# TODO(stephenfin): Remove once we're using sqlalchemy 2.0 which should
# remove these deprecated features entirely
# Configure SQLAlchemy warnings
warnings.filterwarnings(
'ignore',
category=sqla_exc.SADeprecationWarning)

View File

@ -17,8 +17,6 @@ setenv =
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=160
PYTHONDONTWRITEBYTECODE=1
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
SQLALCHEMY_WARN_20=1
deps = -r{toxinidir}/test-requirements.txt
# For a venv that doesn't use stestr commands must be overridden.
commands =