Skip to content
Snippets Groups Projects
  1. Sep 09, 2022
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/zed · 8e7453fa
      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/zed branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I2d523716b74e177d7b7474e405172013cdc3d373
      zed-eom
      8e7453fa
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/zed · 09c41853
      OpenStack Release Bot authored
      Change-Id: I86d2437ea8bbeec8113accf157e533b2b8bc9452
      09c41853
  2. Aug 04, 2022
  3. Jul 18, 2022
  4. Jul 15, 2022
    • Stephen Finucane's avatar
      Remove final use of pkg_resources · 86061ad8
      Stephen Finucane authored
      
      'pkg_resources' is slow, while 'importlib.metadata' is the new shiny and
      is *much* faster. Recent version of 'importlib.metadata' - namely those
      found in Python 3.10 or provided by the 4.4 'importlib-metadata'
      backport - now provide the last bit of functionality we were missing to
      remove 'pkg_resources' entirely, namely the ability to map package names
      to modules. This is used for generating epilogs.
      
      The benefits of this are huge, yielding a near 40% decrease in runtime
      for the cliffdemo app (100mS after compared to 160mS) before.
      
      Change-Id: I934d8a196d76622671781643f36bdb8a07d2f319
      Signed-off-by: default avatarStephen Finucane <sfinucan@redhat.com>
      86061ad8
  5. Jul 14, 2022
  6. May 27, 2022
  7. May 25, 2022
  8. May 24, 2022
    • Takashi Kajinami's avatar
      Migrate Python 3.6/7 jobs to Python 3.8 · 5df8c37e
      Takashi Kajinami authored
      Support for Python 3.6 and 3.7 is being removed globally. The current
      latest release of python-novaclient (18.0.0) does not support these two
      versions. The next python-neutronclient release does not, either.
      
      This migrates Python 3.6/7 jobs to Python 3.8 because 3.8 is now
      the minimum supported version.
      
      This also replaces Python3 yoga unit tests by zena unit tests.
      
      Depends-on: https://review.opendev.org/843115
      Change-Id: I03957cf4bd0a96cb1d07e80727c184854b869fc3
      5df8c37e
  9. Mar 04, 2022
  10. Nov 19, 2021
    • Jiri Podivin's avatar
      Removing modindex link from docs · a04a48f4
      Jiri Podivin authored
      
      The global module documentation is no longer being generated
      and the link points to a non-existent document.
      
      The purpose of global module documentation is now fulfilled by
      the automatically generated class, and function level reference
      documents which are linked properly.
      
      As such there is no need to keep the link around, or to
      reestablish module level documentation.
      
      Signed-off-by: default avatarJiri Podivin <jpodivin@redhat.com>
      Change-Id: I05e5144a36f33aa5feb996964d1a098b1716cf6a
      3.10.1
      a04a48f4
  11. Sep 20, 2021
  12. Sep 10, 2021
  13. Aug 06, 2021
  14. Jul 20, 2021
  15. Jul 13, 2021
    • Zane Bitter's avatar
      Automatically page interactive root help output · 4e7c882c
      Zane Bitter authored
      The previous commit already ensures that the interactive help for
      individual commands is sent to a pager. This does the same for the
      'help' command with no arguments.
      
      Change-Id: If5e38421d21e09f88a572dbb508b1997381bdb87
      4e7c882c
    • Zane Bitter's avatar
      Colourise and automatically page help output · 8fa916e9
      Zane Bitter authored
      Using the autopage library we can automatically send the help output to
      a pager (less, by default), git-style. The pager is configured to not
      reset the terminal on exit, avoiding the problem when piping to less
      manually that the help text you want to refer to disappears off the
      screen when you go to use it. The pager is only invoked when the output
      is to the terminal.
      
      Since we invoke the pager, we can ensure that it is correctly set up to
      interpret ANSI escape codes, so it is safe to use colour to make the
      output easier to read. The autopage library provides light styling of
      the default argparse help output, and some additional colour
      highlighting is added here for the command list (which is generated by
      cliff, not using argparse's formatting code).
      
      Change-Id: If9e1aa5166da32c58cc0fa617f4f81eaa9b2c470
      Depends-On: https://review.opendev.org/c/openstack/requirements/+/799343
      8fa916e9
  16. Jun 15, 2021
  17. Jun 07, 2021
    • Zane Bitter's avatar
      Handle SIGPIPE exit gracefully · 392f3b2e
      Zane Bitter authored
      If we are piping output to a command that exits before the entire
      output is written (e.g. "head") then we will receive a BrokenPipeError.
      This is expected and we should react by exiting gracefully, setting an
      appropriate return code (128 + SIGPIPE).
      
      Change-Id: I0d60e44450da1f48dbd8f459549da80fda69aad5
      392f3b2e
  18. Jun 04, 2021
    • matbu's avatar
      Add conflict_handler parameter as attribut in Command class · 452fff3a
      matbu authored
      Adding conflict_handler as attribut in the Command class in order to be
      able to take control of this parameter and change to different behavior
      that argparse is handling: error / resolve / ignore.
      
      Callers will be able to override it and get a proper Parser object.
      
      Change-Id: I327ece99a04bc8b2ebfa554dea643b1f2a456336
      452fff3a
  19. May 14, 2021
  20. May 13, 2021
  21. Apr 26, 2021
    • Yandong Xuan's avatar
      setup.cfg: Replace dashes with underscores · fbff6de9
      Yandong Xuan authored
      Resolves warnings like the following:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      Change-Id: I328d2e7843e3ba62a6de4ef221c4f8564a64f234
      fbff6de9
  22. Apr 20, 2021
  23. Mar 19, 2021
  24. Feb 11, 2021
  25. Feb 10, 2021
Loading