- 14 May, 2021 1 commit
-
-
yangyawei 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: Ieac40473f778b971873ce2e5e2c95011a7aa7665
-
- 16 Apr, 2021 4 commits
- 15 Apr, 2021 1 commit
-
-
Zuul authored
-
- 23 Mar, 2021 1 commit
-
-
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
-
- 18 Mar, 2021 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 xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ifb90a8ac5c35f6f6bfa7df9ccb6e1816fad59dde
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I4d751a40d903b0a9be9b5518b13bfc293100ff94
-
- 19 Feb, 2021 1 commit
-
-
wu.shiming authored
These were missed in change: Ie53b809ab031525958b58730a12cb37d0bdf5c82 Change-Id: I2c9051126b4a42706bdce025b07706e4689a09ae
-
- 01 Feb, 2021 1 commit
-
-
Stephen Finucane authored
These were moved in Python 3.3 and the aliases will be removed in 3.10. Change-Id: If31797f8fc758468d153c364700db47452edf3dd Signed-off-by:Stephen Finucane <sfinucan@redhat.com>
-
- 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
-
- 14 Jan, 2021 1 commit
-
-
Hervé Beraud authored
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: If7d6b78ce39b9d629095ed461f0cb154ed6ed9bf
-
- 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
-