1. 15 Nov, 2021 2 commits
  2. 12 Nov, 2021 6 commits
  3. 24 Sep, 2021 1 commit
  4. 10 Sep, 2021 2 commits
  5. 19 Aug, 2021 1 commit
  6. 16 Aug, 2021 1 commit
    • Stephen Finucane's avatar
      requirements: Bump sqlalchemy lower constraint · ad4729d6
      Stephen Finucane authored
      
      
      We've started using sqlalchemy features that were introduced in 1.4,
      which means we need to bump our lower constraint. Do this now.
      
      At some point, we probably want to dump all lower-constraint information
      from these files since it's no longer maintainable without the
      equivalent job. That's a task left to later, however.
      
      Change-Id: I8629225eeb51d95264d8a3e4b719268bb1597f4f
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      ad4729d6
  7. 10 Aug, 2021 16 commits
  8. 09 Aug, 2021 1 commit
  9. 29 Jul, 2021 8 commits
    • Stephen Finucane's avatar
      Remove legacy calling style of select() · 8d760726
      Stephen Finucane authored
      
      
      Resolve the following SADeprecationWarning warning:
      
        The legacy calling style of select() is deprecated and will be removed
        in SQLAlchemy 2.0.  Please use the new calling style described at
        select().
      
      Change-Id: Ic5f7240e790425d2689c6870483748650a49bc3d
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      8d760726
    • Stephen Finucane's avatar
      tests: Enable SQLAlchemy 2.0 deprecation warnings · 4c1eb966
      Stephen Finucane authored
      
      
      Well, sort of. We enable them but immediately filter out the ones we're
      actually seeing, the rationale being that we can address these in a
      piecemeal fashion without the risk of introducing new issues.
      
      Change-Id: I32cad5fd9ddbfd2ff6b62e5e2f87fad6ece7a4c1
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      4c1eb966
    • Stephen Finucane's avatar
      utils: Deprecate sqlalchemy-migrate-related functions · da002a82
      Stephen Finucane authored
      
      
      These are using private APIs of SQLAlchemy but, more importantly, are
      not necessary in an alembic-only world. Mark them deprecated for
      removal.
      
      Change-Id: I6efb6e1d35542cd8df922c86e134fe1e0b8c2e52
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      da002a82
    • Stephen Finucane's avatar
      tests: Enable SADeprecationWarning warnings · 40bce5a2
      Stephen Finucane authored
      
      
      Highlight use of deprecated SQLAlchemy APIs to ensure we keep on top of
      things. This requires resolving the following SADeprecationWarning
      warnings:
      
        The from_engine() method on Inspector is deprecated and will be
        removed in a future release.  Please use the sqlalchemy.inspect()
        function on an Engine or Connection in order to acquire an Inspector.
      
        The Column.copy() method is deprecated and will be removed in a future
        release.
      
        The ColumnCollectionConstraint.copy() method is deprecated and will be
        removed in a future release.
      
      There are more warnings to be resolved related to SQLAlchemy 2.0, but
      those require a special environment option (SQLALCHEMY_WARN_20) to
      trigger and a lot of work to resolve. We'll address those in a series of
      follow-ups.
      
      Change-Id: I34b395e6d50f4e4151178c327d94308e6f5d5b6e
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      40bce5a2
    • Stephen Finucane's avatar
      tests: Use common base class · a6007a98
      Stephen Finucane authored
      
      
      The final step in cleaning up our many base classes. This will allow us
      to do things consistently across the test suite in future changes.
      
      Change-Id: I0bf663fdfd3c8be93e5658493e221d0a7db78832
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      a6007a98
    • Stephen Finucane's avatar
      tests: Enfeeble 'oslo_db.tests.utils.BaseTestCase' · 538e0a23
      Stephen Finucane authored
      
      
      We have quite a few base test classes in use. Start fixing these by
      removing the logic from one of these. We will remove the class entirely
      in a future change.
      
      Change-Id: I6dae26aeb4b2a5cc4f39ed637807a27e44d40025
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      538e0a23
    • Stephen Finucane's avatar
      tests: Clean up base test · 73e376d2
      Stephen Finucane authored
      
      
      This base test isn't actually used by anything but we're going to change
      that shortly. Before we do, address a longstanding TODO and make it
      subclass 'oslotest.BaseTestCase'. Because 'oslotest.BaseTestCase'
      already configures all of the fixtures we're currently using, our own
      base test class ends up being a simple wrapper. This will also change in
      the future.
      
      Change-Id: I110392586fb032507d122ae9a412a6bba7c5ff2d
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      73e376d2
    • Zuul's avatar
      Merge "Drop checks for IBM DB2" · 1b48a34b
      Zuul authored
      1b48a34b
  10. 28 Jul, 2021 2 commits