1. 29 Sep, 2021 1 commit
  2. 23 Aug, 2021 3 commits
    • Thomas Goirand's avatar
      Updated (build-)depends for this release. · 6de42b82
      Thomas Goirand authored
      6de42b82
    • Thomas Goirand's avatar
      Now packaging 11.0.0 (Xena). · c3832605
      Thomas Goirand authored
      c3832605
    • Thomas Goirand's avatar
      Merge tag '11.0.0' into debian/xena · b7b37a0e
      Thomas Goirand authored
      oslo.db 11.0.0 release
      
      meta:version: 11.0.0
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Hervé Beraud <hberaud@redhat.com>
      meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
      meta:release:Change-Id: Icc048cb736d1e73737b98f6134e955d22bf46cf7
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      b7b37a0e
  3. 20 Aug, 2021 2 commits
    • Michal Arbet's avatar
      Release to unstable · f83220fd
      Michal Arbet authored
      f83220fd
    • Michal Arbet's avatar
      Merge tag '8.5.1' into debian/wallaby · 9ccd8d8c
      Michal Arbet authored
      oslo.db 8.5.1 release
      
      meta:version: 8.5.1
      meta:diff-start: -
      meta:series: wallaby
      meta:release-type: release
      meta:pypi: yes
      meta:first: no
      meta:release:Author: Stephen Finucane <sfinucan@redhat.com>
      meta:release:Commit: Stephen Finucane <sfinucan@redhat.com>
      meta:release:Change-Id: I333a89a2990861b75ee28539839c7134a3f809ab
      meta:release:Code-Review+1: Brin Zhang <zhangbailin@inspur.com>
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
      9ccd8d8c
  4. 19 Aug, 2021 1 commit
  5. 16 Aug, 2021 2 commits
  6. 10 Aug, 2021 10 commits
  7. 09 Aug, 2021 1 commit
  8. 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
  9. 28 Jul, 2021 4 commits
  10. 19 Jul, 2021 1 commit
  11. 16 Jul, 2021 1 commit
  12. 07 Jul, 2021 2 commits
  13. 30 Jun, 2021 1 commit
    • Kamlesh Chauvhan's avatar
      Added handler for mysql 8.0.19 duplicate key error update · b32b643a
      Kamlesh Chauvhan authored
      In mysql 8.0.19 , Duplicate key error information is extended to
      include the table name of the key.Previously, duplicate key error
      information included only the key value and key name.
      
      Unit tests are provided for updated changes.
      
      Change-Id: Ic78059b625e73cece355541cb4d89e641abc1103
      Closes-Bug: #1896916
      (cherry picked from commit 2c2e6d48)
      b32b643a
  14. 25 Jun, 2021 3 commits
    • Stephen Finucane's avatar
      tests: Remove 'ModelsMigrationsSync.check_foreign_keys' · 4f9df083
      Stephen Finucane authored
      
      
      The 'check_foreign_key' method was removed in oslo.db 1.4.0 [1] and
      re-added but marked as deprecated in 1.4.1 [2] to allow for a
      deprecation period. That was over 6 years ago so we can now remove it.
      Meanwhile, the private '_walk_versions', '_migrate_down' and
      '_migrate_up' methods have been marked as deprecated since oslo.db 0.5.0
      (!!!) [3]. We can definitely remove these now. codesearch.o.o reveals no
      users of any of these methods.
      
      [1] I77a2bba2de08125b5a601de03c1d2d5c73fa33ee
      [2] Id892567bd60d6b4b88765bbfe3cd5c5e75910b25
      [3] Ic9358445e60a0dd43a5900e8bda7b12f2bebf679
      
      Change-Id: Idb9596284df3e5d038c939d27fe14fe2cc2f4318
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      4f9df083
    • Stephen Finucane's avatar
      concurrency: Deprecate 'TpoolDbapiWrapper' · 74c6bf26
      Stephen Finucane authored
      
      
      This has been marked as experimented since before oslo.db was split out
      of nova. We've no test coverage and no idea of whether it even works
      nowadays. It's time to plan for its eventual removal.
      
      Change-Id: Ib7a5a6e1124c44a742b003442f815022a866bcbb
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      74c6bf26
    • Stephen Finucane's avatar
      sqlalchemy: Remove checks for older deps · a778f2d8
      Stephen Finucane authored
      
      
      We already state a minimum in our requirements.txt files to prevent use
      of this package with older alembic and sqlalchemy releases, making these
      checks simply noise. Remove them.
      
      Change-Id: Ie3fbc54aa0c791e6e8ca3164c95051039e82b0e3
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      a778f2d8