- 05 May, 2022 1 commit
-
-
Hervé Beraud authored
In Zed cycle testing runtime, we are targetting to drop the python 3.6/3.7 support, project started adding python 3.8 as minimum, example nova: - https://github.com/openstack/nova/blob/56b5aed08c6a3ed81b78dc216f0165ebfe3c3350/setup.cfg#L13 Change-Id: Ia82c3c5e8d16fa9d111430a57588e49ab512775a
-
- 22 Mar, 2022 1 commit
-
-
Pierre Riteau authored
Change-Id: Ia5e029dbbc2416e212da611f9c7a28db7d76a6cd
-
- 04 Mar, 2022 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 zed. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ic937ee0baf0a1d2c6cb7a8a42ce0eec0191a1661
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: Ib011e6b4377fdfbd1e74fcd28ef3d57298dd4463
-
- 21 Dec, 2021 1 commit
-
-
dengzhaosen authored
Yoga testing runtime[1] has been updated to add py39 testing as voting. Unit tests update are handled by the job template change in openstack-zuul-job - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 this commit updates the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I073da11fd075685aa57f95b8eead893dee79143c
-
- 26 Oct, 2021 1 commit
-
-
Zuul authored
-
- 25 Oct, 2021 2 commits
-
-
Zuul authored
-
Takashi Kajinami authored
... so that the middleware can be loaded using the python egg instead of the direct path. Closes-Bug: #1940738 Change-Id: I57408766c120d2c9784f3886457e91ee7d30de1b
-
- 10 Sep, 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 yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I05945c971c59dce71a733de6e58c416a278c615c
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: I3b7528dd3718acb5a9dbee8e65316c562e437844
-
- 21 Aug, 2021 1 commit
-
-
Takashi Kajinami authored
... so that its options can be rendered by oslo-config-generator by adding the entry point. This change also updates the base oslo.middleware entry point to include options of the middleware because the base entry point is supposed to include all options in the oslo.middleware library. Closes-Bug: #1940747 Change-Id: Ic9d79d9c46fc1dc78aa4d089e36219b2a34f4099
-
- 03 Aug, 2021 1 commit
-
-
ramishra authored
This adds a middleware that can be used as an alternative to noauth in standalone environments. This middleware uses a password file which supports the Apache htpasswd syntax. This file is read for every request, so no service restart is required when changes are made. The only password digest supported is bcrypt, and the ``bcrypt`` python library is used for password checks since it supports ``$2y$`` prefixed bcrypt passwords as generated by the Apache htpasswd utility. Adapted from I874783b8ece0eedf27a94dfed5163d0c82f8b9de. Change-Id: I3d80d86afd063af9fa2f411885dbd0dc65a7bbc7
-
- 26 May, 2021 1 commit
-
-
Zuul authored
-
- 18 May, 2021 1 commit
-
-
wu.shiming authored
[1] https://github.com/pre-commit/pre-commit-hooks/commit/9136088a246768144165fcc3ecc3d31bb686920a Change-Id: If753ad2d234798bb94d184b4390de6cc16c2e051
-
- 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: Ic9487a052e549a91fcf09b94e5fae525548f8d68
-
- 21 Apr, 2021 2 commits
-
-
Zuul authored
-
Thomas Goirand authored
Add a warning in the doc to explain '/healthcheck' doesn't provide any sort of check if the API actually works. Change-Id: Ib4a065f31140f885d3de53e2423e7b4a6635f345
-
- 16 Apr, 2021 4 commits
- 15 Apr, 2021 4 commits
-
-
Zuul authored
-
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: If0a6bed65fdbed4d44c265265fe7186a9bacb5b0
-
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: I29d90fbf1a417053b1a50b0f70a6f61804346eb1
-
Zuul authored
-
- 12 Apr, 2021 1 commit
-
-
Daniel Bengtsson authored
This patch is the merge of 2 current fixes that need to be solved in the same time. Indeed each issue lock our gates independently. Dropping lower constraints testing 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 Move flake8 as a pre-commit local target. 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 Co-authored-by:
Hervé Beraud <hberaud@redhat.com> (cherry picked from commit 5c806d49) Change-Id: Ic94f064f073755bee09495ced4f7627484bf8337
-
- 25 Mar, 2021 1 commit
-
-
Daniel Bengtsson authored
This patch is the merge of 2 current fixes that need to be solved in the same time. Indeed each issue lock our gates independently. Dropping lower constraints testing 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 Move flake8 as a pre-commit local target. 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 Co-authored-by:
Hervé Beraud <hberaud@redhat.com> Change-Id: I2f41e05df1cc978821bf7cb6d9a95bf543c7fba3
-
- 03 Jan, 2021 1 commit
-
-
xuanyandong authored
Change-Id: I5efbe90ec103fbf25412b2dc2cc6d85ccbb90f83
-
- 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: I086b5173b45ef5f4ce6691ad33af7903b0fd78e0
-
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: Ife0711d33bba3fcde65a98be57da462cf8b06625
-
- 05 Oct, 2020 1 commit
-
-
Zuul authored
-
- 22 Sep, 2020 2 commits
-
-
Hervé Beraud authored
Change-Id: Ic85d9ddc9c1272c81143eeef62fd0ce5a1e6909f
-
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: Ifc5ee35d399c628604ec1644eb447936803c45f5 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 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: I84116991e71e5d01d28fee6ddc5d8014a6d212a2
-
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: I4a6c70c8fad5c120b4382fd34e4b281012e6f3a0 Sem-Ver: feature
-
- 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: I0b8b5a8899b22744cfd65b5e889a6283aec9ddfe Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 30 Jun, 2020 1 commit
-
-
Zuul authored
-
- 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: Ieaa8a37dbd07ec0312fee1cefd85973140fd9503
-
- 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: I4bc9301f5045848545182ef98e47f343a95904c3
-
- 28 May, 2020 1 commit
-
-
Zuul authored
-