1. 05 Aug, 2022 1 commit
    • Mike Bayer's avatar
      Accommodate immutable URL api · 26fd6fbc
      Mike Bayer authored
      SQLAlchemy 1.4 has modified the URL object to be immutable.
      This patch makes the adjustments needed, using duck-typing
      to check if the URL object is of the new style.  When
      requirements reach SQLAlchemy 1.4 as the minimum required
      version, these conditionals should be removed in favor of
      the noted option in each.
      
      CentOS Stream 9 is shipping sqlalchemy 1.4.
      
      Change-Id: Id2f0663b13ed0f81e91a8d44f73d8541015bf844
      (cherry picked from commit f37269ae)
      26fd6fbc
  2. 20 Jul, 2022 1 commit
    • Mike Bayer's avatar
      Don't use private API to get query criteria · 308574e6
      Mike Bayer authored
      Another change for SQLAlchemy 1.4 is the mechanics
      of how the ``QueryContext`` object works.   Update the
      update_match extension such that it does not rely upon the
      ``QueryContext`` object and uses public APIs instead.
      
      Change-Id: I27e20e59bce8c98b5a507c617364652aa6eb33f5
      (cherry picked from commit f2a94b6f)
      308574e6
  3. 10 Aug, 2021 2 commits
  4. 19 Jul, 2021 1 commit
  5. 07 Jul, 2021 2 commits
  6. 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
  7. 16 Apr, 2021 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/wallaby · 02c42878
      OpenStack Release Bot authored
      Update the URL to the upper-constraints file to point to the redirect
      rule on releases.openstack.org so that anyone working on this branch
      will switch to the correct upper-constraints list automatically when
      the requirements repository branches.
      
      Until the requirements repository has as stable/wallaby branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: Ic41b1877414e57a13a311c2effc209a22f855c6a
      02c42878
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/wallaby · f5b3c68c
      OpenStack Release Bot authored
      Change-Id: I9583729a8603d76c33b248f67ccc0bf2b0bd6f61
      f5b3c68c
  8. 23 Mar, 2021 1 commit
    • Hervé Beraud's avatar
      Unblock wallaby gate · 8d1e1137
      Hervé Beraud authored
      This is a combination of 2 commits that both needed to unblock
      stable/wallaby gate:
      
      1. Remove contradictions in lower-constraints
      
      This will avoid the following issue seen recently on wallaby and on
      projects where lower-constraints tests haven't been yet dropped:
      
      ```
      ERROR: Could not find a version that satisfies the requirement
      bandit<1.7.0,>=1.6.0
      ERROR: No matching distribution found for bandit<1.7.0,>=1.6.0
      ```
      
      Also some other packages lower constraints has to bump to avoid
      further contradictions and slow run of the pip resolver.
      
      2. move flake8 as a pre-commit local target
      
      The goal here is to avoid conflicts between flake8 and hacking version each
      2 days.
      
      Inspired from nova's approach [1].
      
      The flake8 version to install will be determined by hacking and
      requirements will stay aligned instead of relying on different versions.
      
      [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35
      [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1
      
      Conflicts:
          pre-commit-config.yaml
      
      (NOTE) hberaud: Original commit was made on the top of intermediary
      changes on master.
      
      Change-Id: Iae20f13ba6293b94b5bd131941263e097eba0518
      (cherry picked from commit 7443bcd0)
      8d1e1137
  9. 30 Oct, 2020 4 commits
  10. 11 Oct, 2020 1 commit
  11. 22 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · 80190b39
      Hervé Beraud authored
      Introduced changes:
      - pre-commit config and rules
      - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit
      hooks.
      - Applying fixes for pre-commit compliance in all code.
      
      Also commit hash will be used instead of version tags in pre-commit to
      prevend arbitrary code from running in developer's machines.
      
      pre-commit will be used to:
      - trailing whitespace;
      - Replaces or checks mixed line ending (mixed-line-ending);
      - Forbid files which have a UTF-8 byte-order marker
      (check-byte-order-marker);
      - Checks that non-binary executables have a proper
        shebang (check-executables-have-shebangs);
      - Check for files that contain merge conflict strings
        (check-merge-conflict);
      - Check for debugger imports and py37+ breakpoint()
          calls in python source (debug-statements);
      - Attempts to load all yaml files to verify syntax (check-yaml);
      - Run flake8 checks (flake8) (local)
      
      For further details about tests please refer to:
      https://github.com/pre-commit/pre-commit-hooks
      
      Change-Id: Id03c1ea4752...
      80190b39
  12. 11 Sep, 2020 2 commits
  13. 06 Sep, 2020 1 commit
  14. 24 Jul, 2020 1 commit
  15. 10 Jul, 2020 1 commit
  16. 09 Jul, 2020 1 commit
  17. 30 Jun, 2020 2 commits
  18. 22 Jun, 2020 1 commit
  19. 04 Jun, 2020 1 commit
  20. 03 Jun, 2020 1 commit
  21. 26 May, 2020 3 commits
  22. 22 May, 2020 2 commits
  23. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · db6a84ac
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
      these versions will allow especially:
      * Linking from HTML to PDF document
      * Allow parallel building of documents
      * Fix some rendering problems
      
      Update Sphinx version as well.
      
      openstackdocstheme renames some variables, so follow the renames. A
      couple of variables are also not needed anymore, remove them.
      
      Depends-On: https://review.opendev.org/728938
      Change-Id: I072cf215486d672eacd3a57483cb2b311483c844
      db6a84ac
  24. 15 May, 2020 2 commits
  25. 04 May, 2020 1 commit
  26. 29 Apr, 2020 1 commit
  27. 24 Apr, 2020 2 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · 3db42484
      Sean McGinnis authored
      
      
      Python 3.8 is now our highest level supported python runtime.
      This updates the default tox target environments to swap out
      py37 for py38 to make sure local development testing is
      covering this version.
      
      This does not impact zuul jobs in any way, nor prevent local
      tests against py37. It just changes the default if none is
      explicitly provided.
      
      Change-Id: Id0107e9cdabbc1435c709641b93cb5c90cdf6907
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      3db42484
    • Sean McGinnis's avatar
      Add py38 package metadata · 706f299a
      Sean McGinnis authored
      
      
      Now that we are running the Victoria tests that include a
      voting py38, we can now add the Python 3.8 metadata to the
      package information to reflect that support.
      
      Change-Id: I2826ded6a4be7507fc61e68fe6d9204682382252
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      706f299a