- 15 Apr, 2021 3 commits
-
-
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: I574fc05aa6db53e10920d2594f7f6c9b679236fd
-
OpenStack Release Bot authored
Change-Id: I821eb3367fc395c210a513815b92ecdeae776f9f
-
Daniel Bengtsson authored
The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Change-Id: I27da03673da0663c77948d9193e74fc0e906632e (cherry picked from commit c587b7ea)
-
- 19 Jan, 2021 3 commits
- 18 Jan, 2021 1 commit
-
-
Sofia Enriquez authored
Currently, using Cinder's backup service with RBD the backup-create operation gets stuck when logging ('use_json=True' must be set in the config file). The oslo.log JSONFormatter gets stuck when passing an RBDVolumeIOWrapper from os-brick. This happens via os-brick's utils.trace() method which passes a connector containing {'path': RBDVolumeIOWrapper}. The oslo.log JSONFormatter format() method calls oslo_serialization's jsonutils.to_primitive and passes in this RBDVolumeIOWrapper object. Therefore the to_primitive method eventually calls RBDVolumeIOWrapper.read(). In order to fix this the current path avoids mapping io.IOBase objects and fallback the wrapper RBD volume object. Co-authored-by:Eric Harney <eharney@redhat.com> Closes-Bug: #1908607 Change-Id: I3c416e855cb5f0dc32d14b2749ba92aba8964574
-
- 18 Dec, 2020 1 commit
-
-
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 Change-Id: Ie53b809ab031525958b58730a12cb37d0bdf5c82
-
- 05 Nov, 2020 1 commit
-
-
Zuul authored
-
- 04 Nov, 2020 1 commit
-
-
Hervé Beraud authored
Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Wallaby support officially the following runtimes [1]: - Python 3.6 - Python 3.8 During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported. [1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: Iaa02d12b545597a3b064f320ee33253300a5de1b
-
- 22 Sep, 2020 1 commit
-
-
Zuul authored
-
- 17 Sep, 2020 1 commit
-
-
zhoulinhui authored
flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: Idc5d70e753953aeb006caeb3ba8f78f5ceeafdf3
-
- 11 Sep, 2020 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Idc70da67ee74c4ac873dba25472f682f4311f38c
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: Ib07c45377a60fce27ccf91c503fbc9691d0022b8 Sem-Ver: feature
-
- 08 Sep, 2020 2 commits
-
-
Hervé Beraud authored
Change-Id: I81068c9d9c3aa542684c6f9f8bbb5113ddbfe05a
-
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: I8c993d6ffa...
-
- 24 Jul, 2020 1 commit
-
-
Moisés Guimarães de Medeiros authored
This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: Ibde98a5e7e021e250b2a35008b677afa658ed47e Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 30 Jun, 2020 1 commit
-
-
Zuul authored
-
- 09 Jun, 2020 1 commit
-
-
Daniel Bengtsson authored
Update to the latest version. Change-Id: Iea34ae991caf21d02632e31ec8624170c3d1b771
-
- 08 Jun, 2020 3 commits
-
-
Zuul authored
-
Zuul authored
-
Daniel Bengtsson authored
The pyyaml is now safe by default: https://github.com/yaml/pyyaml/pull/74/files https://access.redhat.com/security/cve/CVE-2017-18342 https://github.com/search?q=oslo.serialization+yamlutils+user%3Aopenstack+language%3APython&type=Code So the yamlutils is now useless. No project in OpenStack used this module. We can remove it. Sem-Ver: api-break Change-Id: If0a98f1e15d83131cb309e02f892372f353fa5da
-
- 04 Jun, 2020 1 commit
-
-
melissaml authored
New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ic49f4d682e35ca74443b2b288fbcde24bfdb7b42
-
- 03 Jun, 2020 1 commit
-
-
Zuul authored
-
- 02 Jun, 2020 1 commit
-
-
Hervé Beraud authored
The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I973fc9523a32651fa016a6e09fdffc4540aacd87
-
- 26 May, 2020 1 commit
-
-
Zuul authored
-
- 22 May, 2020 1 commit
-
-
Zuul authored
-
- 18 May, 2020 1 commit
-
-
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. 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_auto_name to use 'project' as name. Depends-On: https://review.opendev.org/728938 Change-Id: If90af1920749efd1b314884a4b366d6d2c939521
-
- 15 May, 2020 2 commits
- 04 May, 2020 1 commit
-
-
Hervé Beraud authored
Related to: - https://review.opendev.org/#/c/723044/ - https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Change-Id: I63b04667a3bf6371e27e3b66b7f2e83910527cc4
-
- 27 Apr, 2020 1 commit
-
-
Zuul authored
-
- 24 Apr, 2020 3 commits
-
-
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: I72444ae863915b98182a6badeef94ea9109036ab Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
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: I3dea2c56eae81c42173cbcdfb349172b2ad720d9 Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
Hervé Beraud authored
Also uniformize titles to match a common format used on oslo's projects. Change-Id: I687c647f5b978d87e3a9aa3d788d59d7bce26a21
-
- 14 Apr, 2020 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ia59456ec6e5f1302222b85b34c30da676f54015b
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: I99e8ee2472cc5823605caae10ec36bcb15a978f0 Sem-Ver: feature
-
- 02 Apr, 2020 1 commit
-
-
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: I94aabb5b1ef43e8f0a5850620afce91ae0755e97
-
- 24 Mar, 2020 1 commit
-
-
Zuul authored
-
- 23 Mar, 2020 1 commit
-
-
Zuul authored
-