1. 16 Apr, 2021 3 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/wallaby · 9561ecb1
      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: I63a4efdef370f03790ef0d372c13ec3c1214cdce
      9561ecb1
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/wallaby · f49b0730
      OpenStack Release Bot authored
      Change-Id: Idbcb694d5575e876273946a43c6926efea587955
      f49b0730
    • Hervé Beraud's avatar
      Dropping lower constraints testing · 92e82727
      Hervé Beraud authored
      We facing errors related to the new pip resolver, this
      topic was discussed on the ML and QA team proposed to
      to test lower-constraints [1].
      
      I propose to drop this test because the complexity and recurring pain needed
      to maintain that now exceeds the benefits provided by this mechanismes.
      
      [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html
      
      NOTE(stephenfin): This change also includes change
      I996bcc6952a80aaccf50bb8ade579ebd960f4292 ("Move flake8 as a pre-commit
      local target.") which is also necessary to get requirements tests
      passing.
      
      Change-Id: I3eafc92ba7c7305b1a73d3f96c427ed12c96dbf7
      (cherry picked from commit a962943b)
      92e82727
  2. 07 Dec, 2020 2 commits
    • Ghanshyam Mann's avatar
      Register oslo policy opts explicitly for check_policy_json · 9f95a6e1
      Ghanshyam Mann authored
      check_policy_json() common check need [oslo_policy].policy_file
      config value and it is better to register those options explicitly
      in check_policy_json() in case they are not register by services.
      
      Currently it work as oslo.policy opts are registered via some import
      in service side code path for upgradechecks which are not so safe
      when these code import path change.
      
      Change-Id: I16fcce119698c7375e4b58558fdce89e78a79a9b
      9f95a6e1
    • Ghanshyam Mann's avatar
      Fix lower-constraints job · 9d3bb03f
      Ghanshyam Mann authored
      oslotest 1.5.1 is restricted to pbr <1.0 which conflict
      with other deps lower constarint for pbr.
      
      Error:
      The conflict is caused by:
          oslo-i18n 3.15.3 depends on pbr!=2.1.0 and >=2.0.0
          oslo-serialization 2.21.1 depends on pbr!=2.1.0 and >=2.0.0
          oslo-utils 4.5.0 depends on pbr!=2.1.0 and >=2.0.0
          oslotest 1.5.1 depends on pbr!=0.7, <1.0 and >=0.6
      
      https: //zuul.opendev.org/t/openstack/build/cb2bce3b4e004601958b764dfd0737b8
      Change-Id: I513262b85a57ce9f81a63bd778fdd7f7be27e485
      9d3bb03f
  3. 21 Nov, 2020 1 commit
    • Ghanshyam Mann's avatar
      Add common checks for json to yaml policy file migration · c7050672
      Ghanshyam Mann authored
      As part of community goal[1] for migrating the policy file
      from JSON format to YAML we need to add upgrade check to
      detect any JSON formatted file. That check needs to be
      done in each service side which are deprecating the JSON
      format. So to avoid duplicate code, this commit add that
      check in oslo_upgradechecks and that can be enabled from
      service side during they migrate to YAML format.
      
      Service will enable it like below:
      
          _upgrade_checks = (
              (_('Policy File JSON to YAML Migration'),
                  (common_checks.check_policy_json, {'conf': CONF})),
          )
      
      Also modify the check() method to accept the **kwargs for checks.
      
      [1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
      
      Change-Id: Ifa71c20879c964f794a40b981744d95db4ab1602
      c7050672
  4. 22 Sep, 2020 1 commit
  5. 11 Sep, 2020 2 commits
  6. 03 Sep, 2020 1 commit
    • Hervé Beraud's avatar
      Adding pre-commit · 85abe442
      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: I8d5290d62b12a78...
      85abe442
  7. 30 Jun, 2020 1 commit
  8. 03 Jun, 2020 1 commit
  9. 18 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · 9a1b0cec
      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.
      
      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: Iec4e4b3ed18e36d8ee1942e45e290ce292e7f881
      9a1b0cec
  10. 04 May, 2020 1 commit
  11. 27 Apr, 2020 1 commit
  12. 24 Apr, 2020 2 commits
    • Sean McGinnis's avatar
      Bump default tox env from py37 to py38 · 87d2e490
      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: I9513860cc02287ab987d22f3403bb19bd07c28a9
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      87d2e490
    • Sean McGinnis's avatar
      Add py38 package metadata · 6d20f413
      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: I2347b02a274ea901705010dbf4139fc6db2557bb
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      6d20f413
  13. 17 Apr, 2020 1 commit
  14. 16 Apr, 2020 1 commit
  15. 14 Apr, 2020 2 commits
  16. 30 Mar, 2020 1 commit
    • Andreas Jaeger's avatar
      Update hacking for Python3 · b93610d0
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Ignore W504 line break after binary operator
      
      Change-Id: Ice5627d714bad308bcf2e467a553d2d2297ea337
      b93610d0
  17. 13 Mar, 2020 1 commit
  18. 11 Feb, 2020 1 commit
  19. 06 Feb, 2020 1 commit
  20. 30 Jan, 2020 4 commits
  21. 09 Jan, 2020 1 commit
  22. 02 Dec, 2019 1 commit
  23. 25 Oct, 2019 1 commit
    • caoyuan's avatar
      tox: Keeping going with docs · 9e70fdad
      caoyuan authored
      Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
      suggests, keeps the build running when it encounters non-fatal errors.
      This is exceptionally useful in avoiding a continuous edit-build loop
      when undertaking large doc reworks where multiple errors may be
      introduced.
      
      [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
      
      Change-Id: I2831ab17d943638062b709882c7a1cc481e46476
      9e70fdad
  24. 24 Oct, 2019 1 commit
  25. 12 Oct, 2019 1 commit
    • pengyuesheng's avatar
      Bump the openstackdocstheme extension to 1.20 · 6eb5a871
      pengyuesheng authored
      Some options are now automatically configured by the version 1.20:
      - project
      - html_last_updated_fmt
      - latex_engine
      - latex_elements
      - version
      - release.
      
      Change-Id: Ic626d2dc2974ac6ac7b6a816963995915e723ec7
      6eb5a871
  26. 10 Oct, 2019 1 commit
  27. 25 Sep, 2019 1 commit
  28. 20 Sep, 2019 1 commit
    • OpenStack Release Bot's avatar
      Update master for stable/train · e0e99ea8
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/train.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/train.
      
      Change-Id: I8ff0ce893c9bc2bc758fdee083be8666b6e23164
      Sem-Ver: feature
      e0e99ea8
  29. 12 Aug, 2019 1 commit
  30. 19 Jul, 2019 1 commit
  31. 08 Jul, 2019 1 commit