Browse Source

Merge "Remove fixed sqlalchemy-migrate deprecation warning filters"

changes/17/694717/1
Zuul 3 weeks ago
parent
commit
aa8c4de19e
3 changed files with 2 additions and 17 deletions
  1. +1
    -1
      lower-constraints.txt
  2. +0
    -15
      nova/tests/fixtures.py
  3. +1
    -1
      requirements.txt

+ 1
- 1
lower-constraints.txt View File

@@ -146,7 +146,7 @@ six==1.10.0
smmap2==2.0.3
sortedcontainers==2.1.0
SQLAlchemy==1.2.19
sqlalchemy-migrate==0.11.0
sqlalchemy-migrate==0.13.0
sqlparse==0.2.4
statsd==3.2.2
stestr==1.0.0

+ 0
- 15
nova/tests/fixtures.py View File

@@ -882,21 +882,6 @@ class WarningsFixture(fixtures.Fixture):
'ignore', message=".* 'VIFPortProfileOVSRepresentor' .* "
"is deprecated", category=PendingDeprecationWarning)

# TODO(mriedem): Change (or remove) this DeprecationWarning once
# https://bugs.launchpad.net/sqlalchemy-migrate/+bug/1814288 is fixed.
warnings.filterwarnings(
'ignore', message=r'inspect.getargspec\(\) is deprecated',
category=DeprecationWarning,
module='migrate.versioning.script.py')

# TODO(stephenfin): Remove once we bump our sqlalchemy-migrate version
# to whatever is released early in Ussuri and includes change
# I319785d7dd83ffe2c6e651a2494b073becc84684
warnings.filterwarnings(
'ignore', message='The Engine.contextual_connect.*',
category=sqla_exc.SADeprecationWarning,
module='migrate.changeset.databases.visitor')

self.addCleanup(warnings.resetwarnings)



+ 1
- 1
requirements.txt View File

@@ -18,7 +18,7 @@ greenlet>=0.4.10,!=0.4.14 # MIT
PasteDeploy>=1.5.0 # MIT
Paste>=2.0.2 # MIT
PrettyTable<0.8,>=0.7.1 # BSD
sqlalchemy-migrate>=0.11.0 # Apache-2.0
sqlalchemy-migrate>=0.13.0 # Apache-2.0
netaddr>=0.7.18 # BSD
netifaces>=0.10.4 # MIT
paramiko>=2.0.0 # LGPLv2.1+

Loading…
Cancel
Save