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 8c63440f34ad7912ae07ca722a2fc3f76a4d30f2. 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: I23797010c517205f71105fafb625379f071672b4
* | Merge "Implement zoneinfo support to drop dependency to pytz"Zuul2023-04-173-4/+10
|\ \ | |/ |/|
| * Implement zoneinfo support to drop dependency to pytzHervé Beraud2023-03-233-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I1f88bdadc68bfa726eac1da1c5824c1ed352ad98
* | 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: Iff1d2cd5ff16b1e6855bec95fdc9aca2911914d0
* | 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: I9420c82793ccab5c8fd522c2dda547d6ce439195
* | 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: Ic971c4dc343681e8016361a23ab88dc08621d8dd
* [imageutils] Fix __str__ for QemuImgInfo6.1.0Brian Rosmaita2022-11-112-1/+4
| | | | | | | Code is calling 'appened' on a list; correct this to 'append'. Closes-bug: #1996426 Change-Id: I8729cf180f92f43519c942e22f3b285377a5612f
* Imported Translations from ZanataOpenStack Proposal Bot2022-09-101-4/+4
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ifc167609013d83f7140efd1ad912ae83e75af773
* Add Python3 antelope unit testsOpenStack 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: Ida38facc856fd53162da9cd6e59eab1c10ab889f
* 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: I9fc3a12e0596370e9d602e178ba40ba7f5e6a098
* Imported Translations from Zanata6.0.1OpenStack Proposal Bot2022-06-271-2/+21
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I2834d2d5427efca3ab83cd04fd603efc02aab19a
* Imported Translations from ZanataOpenStack Proposal Bot2022-06-211-2/+178
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ib718d3ebd82a9fa81528775569c779e389bb8fdd
* Merge "Remove deprecated helpers from oslo_utils.timeutils"6.0.0Zuul2022-06-133-135/+10
|\
| * Remove deprecated helpers from oslo_utils.timeutilsStephen Finucane2022-05-263-135/+10
| | | | | | | | | | | | | | | | Remove the 'isotime', 'strtime' and 'iso8601_from_timestamp' helpers from 'oslo_utils.timeutils'. These are all available in the stdlib now. Change-Id: If4afb9242b14c48cc70e409463865b7b644a919f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Remove oslo_utils.fnmatch"Zuul2022-06-132-30/+5
|\ \ | |/
| * Remove oslo_utils.fnmatchStephen Finucane2022-05-182-30/+5
| | | | | | | | | | | | | | | | This has been deprecated for a long time. No need to keep it around any longer. Change-Id: I8273e164243e014a658b725a375e5632af211945 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "requirements: Remove explicit pbr dependency"Zuul2022-06-131-5/+0
|\ \ | |/
| * requirements: Remove explicit pbr dependencyStephen Finucane2022-05-181-5/+0
| | | | | | | | | | | | | | We don't use this at runtime. No need to install it. Change-Id: I5d7d526beebc39de2fa0ff8c6b1d2458c6a3d0bb Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "strutils: Defer import of pyparsing"5.0.0Zuul2022-05-311-4/+7
|\ \ | |/
| * strutils: Defer import of pyparsingStephen Finucane2022-05-181-4/+7
| | | | | | | | | | | | | | | | | | | | This is a slow import and the single user of it, the 'split_by_commas' helper, does not appear to have any users outside of python-glareclient (which is a dead project). We might want to remove the user at some point, but for now simply defer loading of the library. Change-Id: I91d0c6eec5333a660f995a9d1436e4b068693900 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "bindep: Use Python 3 devel packages"Zuul2022-05-301-3/+1
|\ \
| * | bindep: Use Python 3 devel packagesStephen Finucane2022-05-261-3/+1
| |/ | | | | | | | | Change-Id: I6dbb8650b0bc3448143ed88570ce33820710b156 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Remove unnecessary unicode prefixes"Zuul2022-05-267-50/+47
|\ \ | |/ |/|
| * Remove unnecessary unicode prefixessongwenping2022-04-227-50/+47
| | | | | | | | Change-Id: Iaae10962581b84b4ae2af1a064dd27d78c05dd4d
* | Drop python3.6/3.7 support in testing runtimeHervé Beraud2022-05-051-3/+1
|/ | | | | | | | | | 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: I0f9f23514867820fcf1d6397d08cde0dd15f29c8
* fix strutils password regex4.13.0Hervé Beraud2022-03-103-0/+18
| | | | | | | | | | | | | Those regexes will fix Object style representation output. See the payload used in tests for details. This kind of output can be obtained by using the command: ``` $ openstack --debug ``` Co-Authored-By: Daniel Bengtsson <dbengt@redhat.com> Change-Id: I9024be93b109d1b64ca736546c0f69db7a5e06d0
* 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: I21bd17a734cfbc893169ffb42931c36d864be1d8
* 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: If66133112990e5bcffa302b8802ded88f60a0116
* Fix formatting of release list4.12.2Pierre Riteau2022-02-071-14/+14
| | | | Change-Id: I678d0d3d9506709404d534dc1c68ed6f75445558
* Fix regex used to mask password4.12.1Hervé Beraud2022-01-113-1/+35
| | | | | | | | | | | | | Some use cases are poorly handled by the regex used to mask password. Indeed when the password contains quotes or double quotes in the middle such as `pass"word`, the mask_password method will return `***"word`. For more details please see https://bugs.launchpad.net/oslo.utils/+bug/1949623 Closes-Bug: #1949623 Change-Id: I941750b4d49d2d75f0831b24d6dd17f4040f70a2
* Merge "Update python testing classifier"Zuul2021-12-211-0/+2
|\
| * Update python testing classifierdengzhaosen2021-12-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I3a74a608fec5cc9f562c8a1cc99d3d35fc8d505a
* | Use LOG.warning instead of deprecated LOG.warnTakashi Kajinami2021-11-292-7/+7
|/ | | | | | | | | The LOG.warn method is deprecated[1] and the LOG.warning method should be used instead. [1] https://docs.python.org/3/library/logging.html#logging.warning Change-Id: If352bbb14a1a44fb2229e633d15e1bf1099fa425
* Add backing file format to the output4.12.0Dmitriy Rabotyagov2021-11-112-2/+19
| | | | | | | | | | | Since libvirt 6, it might be important to understand the format of the backing image [1] and verify it before operations. So we adding backing file format to the output of the QemuImgInfo [1] https://libvirt.org/kbase/backing_chains.html Change-Id: If83289882e79a973bc77f332408f8f7317351f6f
* Merge "QemuImgInfo: Fix inconsistent value format of encrypted"4.11.0Zuul2021-10-133-2/+11
|\
| * QemuImgInfo: Fix inconsistent value format of encryptedTakashi Kajinami2021-09-053-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | The qemu-img info command shows the encrpyed field in different formats according to the output format. When the default human format is used the field can be 'yes' or None while when json format is used the same field can be True or False. This change ensures the corresponding attribute has the consistent format regardless of the output format used. Closes-Bug: #1942682 Change-Id: I949f07582a708114fdfba76f1a05aa3a3e5c4f40
* | Merge "Changed minversion in tox to 3.18.0"Zuul2021-10-051-3/+3
|\ \
| * | Changed minversion in tox to 3.18.0wangzihao2021-08-121-3/+3
| |/ | | | | | | | | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I475fe7eac69350e5438cda7310eddd1cb6db813e
* | 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: Id181512a0c4d479d57497a8b22432a32ba561309
* | 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: Ia84d6f887003f1368757c604d828e7badfc1ba66
* | setup.cfg: Replace dashes with underscoreswangzihao2021-08-201-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: I000dcc5db4e19e24f824a271c78e24529a8dd61a
* Modify UUID sentinel to support keystone-like UUIDs4.10.0Alexey Stupnikov2021-08-033-3/+25
| | | | | | | | | | | | | | Keystone User IDs and Project IDs are used in unit tests, but _UUIDSentinels() class doesn't generate UUIDs without hyphens. This patch makes backward compatible modifications to _UUIDSentinels() class and introduces keystoneidsentinel global that could be used in the same way as existing uuidsentinel. Original "UUID sentinel" change: I214ff21b461fa1ca4b83476e1d0a763efe986217 Related-Bug: #1746747 Change-Id: Idb3e893cc03d64ad0522b5e4cedfa30c4f4a2a2f
* QemuImgInfo: Skip deprecation warning when output is not passed4.9.2Takashi Kajinami2021-07-061-5/+6
| | | | | | | | | | | | | | | | | | | | | | Change 73eb0673f627aad382e08a816191b637af436465 deprecated usage of the human format and introduced a deprecatipon warning message which is shown unless format is explicitly set to 'json'. To avoid the deprecation warning, all usage of QemuImgInfo requires explicit definition of format='json'. This means that we should add the format parameter to all existing usage of QemuImgInfo even if output is blank as is described in the following example. QemuImgInfo() QemuImgInfo(output=None) However later we should revert these implementations again when we deprecated or remove the format parameter. These steps are very redundant. This change suppresses the warning message when output is blank so that we can avoid deprecation warnings without redundant update and revert. Change-Id: If1ec42dae757fa3d74c740a52c346701ea19f1c9
* Drop warnings enable filteryatinkarel2021-07-011-2/+0
| | | | | | | | | | | | [1] Enabled warnings without specifying category, leading to all sort of warnings enabled, this patch drops it and let it to consumers to enable warnings types which they are interested in. [1] https://review.opendev.org/c/openstack/oslo.utils/+/790429 Closes-Bug: #1934098 Change-Id: I822138c18e0932e8f7e3dc62267f167876c962ae
* Remove references to 'sys.version_info'4.9.1dengzhaosen2021-06-012-107/+6
| | | | | | We support Python 3.6 as a minimum now, making these checks no-ops. Change-Id: Ia183dc2f19bf08635fb830d603f2bed888765ef6
* Merge "Ussuri+ is python3 only and update python to python3"Zuul2021-05-261-1/+1
|\
| * Ussuri+ is python3 only and update python to python3dengzhaosen2021-05-061-1/+1
| | | | | | | | Change-Id: If3f844ee6bfebc16f15263dc03653cb2aba27bf2
* | Merge "Deprecate the fnmatch module."Zuul2021-05-262-0/+14
|\ \