1. 07 Jun, 2021 1 commit
  2. 12 May, 2021 1 commit
    • wu.shiming's avatar
      setup.cfg: Replace dashes with underscores · df3f3542
      wu.shiming authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      
      Change-Id: I53a24ff7f9984997a16f436d9e6c62605e90d9e5
      df3f3542
  3. 16 Apr, 2021 4 commits
  4. 18 Mar, 2021 2 commits
  5. 11 Feb, 2021 3 commits
  6. 21 Jan, 2021 1 commit
  7. 14 Jan, 2021 1 commit
  8. 18 Dec, 2020 1 commit
  9. 12 Dec, 2020 1 commit
    • Riccardo Pittau's avatar
      Remove six dependency · fed5f897
      Riccardo Pittau authored
      We run on Python 3 only, time to remove six dependency
      
      Also fix l-c for new pip-resolver and move pep8 deps
      in tox.ini to avoid conflicts.
      
      And since we're here, update pre-commit config to support correct
      hacking version.
      
      Change-Id: Ibbe733c4be37d1a9dd9149d491591ef2e50dad6a
      fed5f897
  10. 04 Nov, 2020 2 commits
  11. 05 Oct, 2020 1 commit
  12. 15 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · 7d0648f8
      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: I1e4625d34ed08218dd7069402a1eff1418f4ec35
      Signed-off-by: default avatarMoisés Guimarães de Medeiros <moguimar@redhat.com>
      7d0648f8
  13. 11 Sep, 2020 2 commits
  14. 08 Jun, 2020 2 commits
    • Sean McGinnis's avatar
      Update lower-constraints list · a30803c5
      Sean McGinnis authored
      
      
      This updates the lower constraints packages with only things that are
      currently pulled in with the latest necessary requirements. It also
      removes linters that are part of the blacklist in global requirements as
      those are not needed for tracking.
      
      Change-Id: Iffa3a1caaa14b7367991e24eb2cfaf9332736701
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      a30803c5
    • Hervé Beraud's avatar
      drop mock from lower-constraints · 3370750b
      Hervé Beraud authored
      The mock third party library was needed for mock support in py2
      runtimes. Since we now only support py36 and later, we don't need it
      in lower-constraints.
      
      These changes will help us to drop `mock` from openstack/requirements
      
      Change-Id: Ide97d869c5e56e56e2a522f198f0973504972697
      3370750b
  15. 03 Jun, 2020 1 commit
  16. 02 Jun, 2020 1 commit
  17. 26 May, 2020 2 commits
    • Andreas Jaeger's avatar
      Small cleanup · b4ab301a
      Andreas Jaeger authored
      Remove unused babel.cfg file.
      Remove python 2.7 support from setup.py.
      
      Change-Id: I6d12374ca3f68c313e3bcca2587393c000214181
      b4ab301a
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · 5ad67482
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.1 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.
      
      Disable openstackdocs_auto_name to use 'project' variable as name.
      
      Change pygments_style to 'native' since old theme version always used
      'native' and the theme now respects the setting and using 'sphinx' can
      lead to some strange rendering.
      
      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.
      
      See also
      http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
      
      Change-Id: I3adc259f89f9093fbe9cce1353f5d6f0828271b9
      5ad67482
  18. 27 Apr, 2020 1 commit
  19. 24 Apr, 2020 2 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · 53330501
      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: I803395e1448dae744707853387af5b01ec037b62
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      53330501
    • Sean McGinnis's avatar
      Add py38 package metadata · 76a8bdc1
      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: I915e0220a7f5354724445450d1828823c8461ce2
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      76a8bdc1
  20. 14 Apr, 2020 2 commits
  21. 30 Mar, 2020 1 commit
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 8f1e4366
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Change-Id: I13b9eeb19236eaf02a5b166026c285ff78d754bb
      8f1e4366
  22. 04 Feb, 2020 2 commits
  23. 03 Feb, 2020 1 commit
  24. 18 Dec, 2019 2 commits
  25. 23 Oct, 2019 1 commit
  26. 09 Oct, 2019 1 commit