summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Revert "Moves supported python runtimes from version 3.8 to 3.10""HEADmasterZuul2023-05-051-1/+2
|\
| * Revert "Moves supported python runtimes from version 3.8 to 3.10"Ghanshyam2023-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9ffd4e59d715d3577e221d093cdcf97a806c0182. Keeping Python 3.10 in setup.cfg classifier. Reason for revert: Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175 TC has been discussing about re-adding the python 3.8 testing in current master 2023.2 release testing. - https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191 - https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html While governance changes are under review, TC agreed to add py3.8 testing so that we do not see more project/lib dropping python 3.8 and make them uninstalable on python 3.8 - https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17 - https://review.opendev.org/c/openstack/governance/+/882165 Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175 Change-Id: I091d2f7d2d936523374639796c6adad854f7f712
* | Merge "Implement zoneinfo support to drop dependency to pytz"Zuul2023-04-174-13/+21
|\ \ | |/ |/|
| * Implement zoneinfo support to drop dependency to pytzHervé Beraud2023-03-234-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zoneinfo was introduced within python 3.9. The support of pytz will be removed within RHEL 10 [1]. 2023.2 (bobcat) will move our testing runtime to py3.9 and py3.10 so we want to see pytz removed within this series. tzdata is required at runtime in our gates, because, by default, zoneinfo uses the system’s time zone data if available; if no system time zone data is available, the library will fall back to using the first-party tzdata package available on PyPI. Apparently our gates have no time zone data available nor tzdata installed by default because we get the following error without tzdata installed [3]: `ModuleNotFoundError: No module named 'tzdata' So I prefer to add tzdata in our requirements to avoid runtime failure related to time zone and ensure that time zone are always available. [1] https://issues.redhat.com/browse/RHEL-219 [2] https://review.opendev.org/c/openstack/governance/+/872232 [3] https://zuul.opendev.org/t/openstack/build/0a1576775e894b09bc31269fea00ba03/log/job-output.txt#1445` Depends-on: https://review.opendev.org/c/openstack/requirements/+/875854 Change-Id: I8d87d54f6f5ded8caee6cb780bacb39afea0fea1
* | Moves supported python runtimes from version 3.8 to 3.10Hervé Beraud2023-04-101-2/+2
| | | | | | | | | | | | | | | | | | Within 2023.2 python version 3.9 and 3.10 are the supported python runtimes [1]. [1] https: //review.opendev.org/c/openstack/governance/+/872232 Change-Id: Ia5239c63e4e0710d9350cc24e563851dc8f58b35
* | Merge "Use the new openstack-python3-jobs template"Zuul2023-03-281-1/+1
|\ \ | |/
| * Use the new openstack-python3-jobs templateHervé Beraud2023-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | release repository did not change to use the latest template for unit test jobs. This patch removes the versioned template and replaces it with the unversioned one (that was introduced with patch [1]). [1] https://review.opendev.org/856903 Change-Id: Ifcc10a162baeb8b9e5e7ea00199759b664bb0ce7
* | Update master for stable/2023.1OpenStack Release Bot2023-02-242-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/2023.1. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/2023.1. Sem-Ver: feature Change-Id: I87250b8fc8630e415b9ff3c42e4d8f8f761342c0
* | Fix issues related to tox45.1.1Hervé Beraud2023-02-171-5/+9
|/ | | | | | Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: Ie97378271aeb3f98195fbe8433723ea556e9cf9e
* Add Python3 antelope unit tests5.1.0OpenStack Release Bot2022-09-091-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ia7f44e48c07e76cce676ef22b3c53286adf7b882
* Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: Icbfda3a00eb3a309c51d710614981977b3fa0b03
* Drop python3.6/3.7 support in testing runtime5.0.0Hervé Beraud2022-05-051-3/+2
| | | | | | | | | | | | 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 Also indicates that we support python 3.9. Change-Id: I909c1da508e66ceafcb9f08717dad0a7cea9d50d
* Remove unnecessary unicode prefixessongwenping2022-04-195-48/+48
| | | | Change-Id: I0910f62e7feaf928fe0afe4721c5b271d4748449
* Add Python3 zed unit testsOpenStack Release Bot2022-03-041-1/+1
| | | | | | | | | | | 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: Ia2521e30dd07f468635d2425d0f9eb39de2eb639
* Update master for stable/yogaOpenStack Release Bot2022-03-042-0/+7
| | | | | | | | | | | | 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: Ief6dc07dff0687763b615eca8e7e651c007f2557
* Merge "setup.cfg: Replace dashes with underscores"4.3.0Zuul2021-10-050-0/+0
|\
| * setup.cfg: Replace dashes with underscoresjiangzhilin2021-05-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ib5e331ca851474bc4db8287d6a8abaafe75724cd
* | Add Python3 yoga unit testsOpenStack Release Bot2021-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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: If8b4db1b56ae3920ad0cb2e4123194eef56d577e
* | Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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: Ie261273e3d9330041dd8e978ed146f6c15947c8a
* | setup.cfg: Replace dashes with underscoresxena-em4.2.0yangyawei2021-05-141-4/+4
|/ | | | | | | | | | | | | | | | 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
* Merge "Add Python3 xena unit tests"Zuul2021-04-161-1/+1
|\
| * Add Python3 xena unit testsOpenStack Release Bot2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Remove lower-constraints remnants"Zuul2021-04-162-41/+0
|\ \
| * | Remove lower-constraints remnantswu.shiming2021-02-192-41/+0
| | | | | | | | | | | | | | | | | | These were missed in change: Ie53b809ab031525958b58730a12cb37d0bdf5c82 Change-Id: I2c9051126b4a42706bdce025b07706e4689a09ae
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-161-2/+2
|\ \ \
| * | | Use TOX_CONSTRAINTS_FILEHervé Beraud2021-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Drop use of deprecated collections classes"Zuul2021-04-161-2/+3
|\ \ \ \
| * | | | Drop use of deprecated collections classesStephen Finucane2021-02-011-2/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "Update master for stable/wallaby"Zuul2021-04-152-0/+7
|\ \ \ \ | | |_|/ | |/| |
| * | | Update master for stable/wallabyOpenStack Release Bot2021-03-182-0/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Move flake8 as a pre-commit local target.Daniel Bengtsson2021-03-231-3/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix json to_primitive when using IO OBjects"4.1.0Zuul2021-01-193-1/+17
|\ \
| * | Fix json to_primitive when using IO OBjectsSofia Enriquez2021-01-183-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix hacking min version to 3.0.1"Zuul2021-01-191-1/+1
|\ \ \
| * | | Fix hacking min version to 3.0.1zhoulinhui2020-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Use py3 as the default runtime for tox"Zuul2021-01-191-1/+1
|\ \ \ \
| * | | | Use py3 as the default runtime for toxHervé Beraud2020-11-041-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Dropping lower constraints testingHervé Beraud2020-12-181-1/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "ignore reno generated artifacts"Zuul2020-11-051-0/+2
|\ \ \ | |/ / |/| |
| * | ignore reno generated artifactsHervé Beraud2020-09-081-0/+2
| | | | | | | | | | | | Change-Id: I81068c9d9c3aa542684c6f9f8bbb5113ddbfe05a
* | | Merge "Adding pre-commit"Zuul2020-09-225-5/+42
|\ \ \ | |_|/ |/| |
| * | Adding pre-commitHervé Beraud2020-09-085-5/+42
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I8c993d6ffaf869f67713bbbde8632a0143ed0c72 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Update master for stable/victoriaOpenStack Release Bot2020-09-112-0/+7
|/ | | | | | | | | | | | 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
* Bump bandit version4.0.1Moisés Guimarães de Medeiros2020-07-241-1/+1
| | | | | | | | 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>
* Merge "Align contributing doc with oslo's policy"Zuul2020-06-301-0/+5
|\
| * Align contributing doc with oslo's policyHervé Beraud2020-05-041-0/+5
| | | | | | | | | | | | | | | | 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
* | Update openstackdocstheme.Daniel Bengtsson2020-06-091-1/+1
| | | | | | | | | | | | Update to the latest version. Change-Id: Iea34ae991caf21d02632e31ec8624170c3d1b771
* | Merge "Fix pygments style"4.0.0Zuul2020-06-082-3/+2
|\ \
| * | Fix pygments stylemelissaml2020-06-042-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ic49f4d682e35ca74443b2b288fbcde24bfdb7b42