- 13 Jan, 2022 1 commit
-
-
David Vallee Delisle authored
The current logic prevents from using a full path as argument. We can't just compare basename to basename as it would allow passing bogus paths. We need to make sure that passing a full path will compare to the config's full path. Closes-Bug: #1956606 Change-Id: I76094065de5b37f59a2500fbce7f500ada9915da
-
- 05 May, 2021 1 commit
-
-
YuehuiLei 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: I8fc4f3b027aaacaf023e54fe0b138bdddaef0c3f
-
- 16 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: Ic1f66792b786d05d06c52c86e08c933cf594baac
-
- 19 Feb, 2021 1 commit
-
-
wu.shiming authored
These were missed in change: Iae7ce24bfd718a9a2102ce64e8dd2ad08d2b4dd6 Change-Id: I03f47af49cda61e18b0eaa96770a174b867fe2bc
-
- 22 Jan, 2021 1 commit
-
-
Zuul authored
-
- 14 Jan, 2021 1 commit
-
-
Zuul authored
-
- 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: Iae7ce24bfd718a9a2102ce64e8dd2ad08d2b4dd6
-
- 04 Nov, 2020 2 commits
-
-
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: Ice53705bba857835e4c99ff526ff359f55a319af
-
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: Ic211834cf66fd2f9e4fc4ce97f839b2362cc1f70
-
- 09 Oct, 2020 1 commit
-
-
wangzihao authored
Replace the following items with Python 3 style code. - six.moves - six.StringIO Change-Id: Ie06dc3b6cc5a3d88defa4fdfd071ed2c9dcfb1d0
-
- 30 Sep, 2020 1 commit
-
-
wangzihao authored
The Python 2.7 Support has been dropped since Ussuri. So remove hacking rules for compatibility between python 2 and 3. Change-Id: Idd6a1efd1857a70fc7d960b365bfc58d6cbe00d3
-
- 22 Sep, 2020 1 commit
-
-
Zuul authored
-
- 14 Sep, 2020 2 commits
- 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: I9ea9f73fd06d03589ff59a616a915a2d61d4706c
-
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: I0ea459ca6fa98573d52188dc634c86225fb588f9 Sem-Ver: feature
-
- 03 Sep, 2020 2 commits
-
-
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: I04e73b8a70d32fec3e6131526e0bed0be8599c28 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
Hervé Beraud authored
Change-Id: Iefca629ae61b1da28bddba67525f5c9df164ab14
-
- 06 Aug, 2020 1 commit
-
-
Zuul authored
-
- 04 Aug, 2020 1 commit
-
-
Ghanshyam Mann authored
As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40207 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: I6f4947668b5372eace7fb1eb32ab221ac88f4b4f
-
- 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: Ic61bffb3845a53df14765194482f6264417d0ac7 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 30 Jun, 2020 1 commit
-
-
Zuul authored
-
- 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: I79f231823939e421a04377ca19e2e65b12d9b26a
-
- 26 May, 2020 2 commits
- 22 May, 2020 2 commits
- 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 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: Ie162c8e72f4edec345c20de4517304cc14f7fe0d
-
- 15 May, 2020 1 commit
-
-
jacky06 authored
Change-Id: I1b517c44bd3e9bbb613ea90f692bd1c9736c058a
-
- 13 May, 2020 1 commit
-
-
Rodolfo Alonso Hernandez authored
When the client stops, sends a shutdown command to the root daemon. If the socket is still in use, it will return a RuntimeError and stop the code execution. Instead of this, this exception is now captured and the shutdown command re-executed up to 3 times. In case of not succeeding, the process will continue the client shutdown. Change-Id: I0302b49e38523d6170be407d4563928cfcc3c1a3 Closes-Bug: #1878222
-
- 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: Iad188728b89a0a9f2fee06d47420cf0300690941
-
- 27 Apr, 2020 1 commit
-
-
Zuul authored
-
- 24 Apr, 2020 2 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: Ie4a88297493182929b6620dd42d2e2b9d85dc637 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: I27acd7a90e439a7e7f7529001afa73f7b9d055ce Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
- 16 Apr, 2020 1 commit
-
-
Hervé Beraud authored
Change-Id: I25f156177ccabfb6fe99f808c3b5868affabafce
-
- 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: I21a1bd80a3b0ec47598d0f512aef196d3efd9a21
-
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: Ic438f26fede03ff077cfcf251da486520c0c0a9f 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: If75153300f07e6d1c5bf433af35a0dd4d98e6c7f
-