Skip to content
Snippets Groups Projects
  1. Jun 23, 2020
  2. Jun 06, 2020
    • jacky06's avatar
      Switch to newer openstackdocstheme and reno versions · c4cee865
      jacky06 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
      
      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.
      
      Set openstackdocs_pdf_link to link to PDF file. Note that
      the link to the published document only works on docs.openstack.org
      where the PDF file is placed in the top-level html directory. The
      site-preview places the PDF in a pdf directory.
      
      Set openstackdocs_auto_name to use 'project' as name.
      
      Co-Authored-By: default avatarAndreas Jaeger <aj@suse.com>
      Change-Id: If23546ac4cc2c19626e05b460651b61d5e82d948
      c4cee865
  3. May 11, 2020
    • Will Szumski's avatar
      Stop mocking ansible modules globally · 4fcbdd77
      Will Szumski authored
      This causes non-local side effects that are hard to track down. E.g:
      
      --- import errors ---
      Failed to import test module: tests.test_merge_yaml
      Traceback (most recent call last):
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
          module = self._get_module_from_name(name)
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
          __import__(name)
        File "/home/will/code/kolla-ansible/tests/test_merge_yaml.py", line 19, in <module>
          from ansible.errors import AnsibleModuleError
      ModuleNotFoundError: No module named 'ansible.errors'; 'ansible' is not a package
      
      This `'ansible' is not a package` message occurs because ansible is a Mock.
      
      Depends-On: https://review.opendev.org/#/c/726768/
      Change-Id: Iddbdd3d855daadbf12536cc990559e6b8e123051
      4fcbdd77
  4. Apr 26, 2020
    • Radosław Piliszek's avatar
      Cleanup py27 support · 234272eb
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Separates test-requirements.
      
      Makes lower-constraints pass outside of CI (MarkupSafe).
      
      Adds FIXMEs about some hacky Mocks that may misbehave.
      
      Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
      234272eb
  5. Apr 04, 2020
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 45448976
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found by updated hacking version.
      
      Remove hacking and friends from lower-constraints, they are not needed
      during installation.
      
      Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
      45448976
  6. Apr 02, 2020
    • Radosław Piliszek's avatar
      Use unittest.mock instead of PyPI mock · 5648ad6e
      Radosław Piliszek authored
      Now that py2 is gone, oslotest dropped dependency on mock and will
      soon affect Ussuri CI [1], let's use unittest.mock built in py3.
      
      This also fixes py38 jobs and proactively prevents py36 and py37
      failing due to [1]. This is because we never included mock in
      test-requirements (but in lower-constraints where it does not
      really belong at all) and instead relied on oslotest to bring
      it in.
      
      [1] https://review.opendev.org/716322
      
      Change-Id: I30e82e2d87418272a71c7ee089a8acdaf8872158
      5648ad6e
  7. Oct 24, 2019
  8. Oct 23, 2019
  9. Sep 17, 2019
  10. Feb 04, 2019
  11. Jan 22, 2019
  12. Jan 04, 2019
  13. Jul 24, 2018
  14. Jun 25, 2018
    • caoyuan's avatar
      Drop python-cinderclient usage · 1842ce98
      caoyuan authored
      We've switched everything to python-openstackclient and therefore
      the usage of python-cinderclient is no longer necessary.
      
      Change-Id: I27d1b675f422aeb07ffdf41ea945a83121f562cf
      1842ce98
  15. Apr 12, 2018
  16. Mar 22, 2018
Loading