1. 15 Apr, 2021 3 commits
  2. 22 Sep, 2020 1 commit
  3. 11 Sep, 2020 2 commits
  4. 08 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · d7f6ddc5
      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: Ic88cf026a74e9da4acaf9e00c50fddd2c8a48fbe
      Signed-off-by: default avatarMoisés Guimarães de Medeiros <moguimar@redhat.com>
      d7f6ddc5
  5. 06 Aug, 2020 1 commit
  6. 04 Aug, 2020 1 commit
  7. 24 Jul, 2020 1 commit
  8. 15 Jul, 2020 1 commit
  9. 30 Jun, 2020 1 commit
  10. 11 Jun, 2020 1 commit
  11. 04 Jun, 2020 1 commit
  12. 26 May, 2020 4 commits
  13. 22 May, 2020 1 commit
  14. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · c9cc4281
      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
      Update Sphinx version as well.
      
      Remove docs requirements from lower-constraints, they are not needed
      during install or test but only for docs building.
      
      openstackdocstheme renames some variables, so follow the renames
      before the next release removes them. A couple of variables are also
      not needed anymore, remove them.
      
      Depends-On: https://review.opendev.org/728938
      Change-Id: I5511824a7ebba08c330efaf5118f130630aa52ae
      c9cc4281
  15. 15 May, 2020 2 commits
  16. 04 May, 2020 1 commit
  17. 27 Apr, 2020 1 commit
  18. 24 Apr, 2020 2 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · 186ed27a
      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: If96ca50b1836f444a2a6842a589ae60f436b7eaf
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      186ed27a
    • Sean McGinnis's avatar
      Add py38 package metadata · e9da6436
      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: I764f814c47425b7923c75552d998d0759d86896f
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      e9da6436
  19. 16 Apr, 2020 1 commit
  20. 14 Apr, 2020 2 commits
  21. 06 Apr, 2020 1 commit
  22. 02 Apr, 2020 1 commit
    • Andreas Jaeger's avatar
      Update hacking for Python3 · bbae96ea
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found.
      
      Remove hacking and friends from lower-constraints, they are not needed
      for installation.
      
      Change-Id: I9a2a7c6cd9a0dfd02c6193ceca5653431eed3753
      bbae96ea
  23. 31 Mar, 2020 1 commit
  24. 21 Mar, 2020 3 commits
  25. 18 Mar, 2020 2 commits
    • Ben Nemec's avatar
      Make compatible with msgpack 1.0.0 · f19765c6
      Ben Nemec authored
      There are a couple of things that changed in msgpack 1.0.0 that were
      breaking oslo.privsep:
      
      1) The encoding parameter to Unpacker was removed. This has been
         deprecated for a while in favor of the `raw` parameter[0], so this
         change switches to using raw.
      
      2) The strict_map_key parameter default was changed from False to
         True.[1] I haven't found an explanation of why this was done, but
         we can explicitly set it False to maintain the previous behavior.
      
      Change-Id: Ia97ecf965d807f12524d5b6602446934b5813ce6
      Closes-Bug: 1855914
      Closes-Bug: 1864811
      0: https://msgpack-python.readthedocs.io/en/latest/api.html#msgpack.Unpacker
      1: https://github.com/msgpack/msgpack-python/pull/392/commits/6e1d12c0a2072572890cbb124b94cb08b582dd2d
      f19765c6
    • Ben Nemec's avatar
      Bring sanity to lower-constraints · d18643ad
      Ben Nemec authored
      This is all necessary to bump the lower-constraint on msgpack so we
      can support msgpack 1.0 without version-specific logic in our code.
      
      The reasons for the changes are as follows:
      
      * greenlet and PyYAML bumped because the previous lower-constraints
        for those didn't install on python 3.7, which is a supported Python
        version.
      * msgpack-python is removed. It was replaced by msgpack and there is
        no new enough release of it to satisfy the needed minimum version bump.
      * oslo.serialization is bumped because the old version was pulling in
        msgpack-python, which overwrote our new needed version of msgpack.
      * I went ahead and included the msgpack bump to 0.6.0 so we can move
        forward in the subsequent patch with supporting msgpack 1.0.0.
      
      It could be argued that this should be included in the msgpack 1.0.0
      change, but it ended up being complex enough that I thought it was
      worth it to split it out.
      
      Change-Id: I69dae65d3e0a40bb2304d74de078ab84fc778d58
      d18643ad
  26. 17 Mar, 2020 1 commit
  27. 13 Mar, 2020 1 commit
    • Darragh O'Reilly's avatar
      Add lock around channel creation · bbe24aa6
      Darragh O'Reilly authored
      When a neutron agent starts up, it processes different resources
      in separate eventlet threads. These can race creating the channel
      which results in redundant privsep-helper processes. This patch
      fixes that by adding a lock around channel creation.
      
      Change-Id: I5de22b72059133b05d64be47f4c1d3f566b46a6e
      Closes-Bug: #1864664
      bbe24aa6
  28. 07 Mar, 2020 1 commit