summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Moves supported python runtimes from version 3.8 to 3.10"HEADmasterGhanshyam2023-05-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 32d554906c56e5bd522b5affe19d54c8c4131a07. Keeping Python 3.10 in setup.cfg classifier and zuul.yaml changes. 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: I9becb9a67b07f260741c5fcc8bdb6c96cbbbe1d7
* Moves supported python runtimes from version 3.8 to 3.10Hervé Beraud2023-04-102-3/+3
| | | | | | | | 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: Ibd9c332ea54bc225887ceb60e77622432793726f
* 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: I709b3871b07a1b5eeb711916d4af75dcbe06b78e
* Fix issues related to tox49.1.1Hervé Beraud2023-02-171-6/+3
| | | | Change-Id: I7be9a22796f484df79f0f509a2cf4f47e3a00128
* Make tests backward compat with cliff' older versions9.1.0Hervé Beraud2022-09-291-8/+8
| | | | | | | | Change the assertion kind to support all versions of cliff. The previous related fix 78098e6b18026ff9ef03a948b57348f02d42e13b was only compatible with cliff>3.4.0. Change-Id: I7ac27919b0d58929b4c975ebb308f33124a6060f
* 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: I032790c6e4a19bd5e0ef32e0f6f5d0372f43640a
* 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: I82608453f5edf65bbd8ab42ef1e5106f536142eb
* Disable a config test if ran under the root userHervé Beraud2022-08-031-0/+3
| | | | | | | | | | | | | | | | The `test_conf_file_permission_denied` is designed to test if a config file can't be read due to missing file permissions. However if we run unit tests with the root user we will beneficiat from the root privileges and so this test will fails. This can be reproduced by running `tox` with `sudo`. These changes propose to skip this test if root privileges are detected. Closes-bug: #1983358 Change-Id: Idd124082265032c30f83242b612d002d7093aa61
* fix CLI mismatch in unit testsHervé Beraud2022-08-031-15/+14
| | | | | | | | | | | | Since cliff > 3.4.0 we can see mismatch errors with unit tests, this patch fix this error. Also this patch fix some issues with deprecation messages. All these issues needs to be fixed together to unlock our gates. Closes-bug: #1908934 Change-Id: I8396b4f3ba74a9ea023bff2e3027710f16a74af4
* Drop python3.6/3.7 support in testing runtime9.0.0Hervé 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: I18f643d5a7b6283b72c0cd3caeadf0d14f6ed713
* 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: Ia9a793cf2f8eed8afc231aa32f7a0f12b3b2cec7
* 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: I64f5023e8f9f4c49d4d7d08b4ea339af4ac9a7a8
* Update python testing classifier8.8.0dengzhaosen2021-12-211-0/+1
| | | | | | | | | | | | | | 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: Ia1cd4536ecf6a0b0e86796dffb5ca04197bd5abe
* 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: I178e86fe8646c0c91b982670c5fd12264c1ee05d
* 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: I31fff76861e961754fef2d65a6938e6a028d702b
* setup.cfg: Replace dashes with underscoreslikui2021-09-021-1/+1
| | | | | | | | | | | | | | | | | | 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: Iceaa69d80eef75db5bac67463a59fd615ae0e895
* Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable"Zuul2021-08-201-1/+1
|\
| * Replace deprecated UPPER_CONSTRAINTS_FILE variablelikui2021-06-031-1/+1
| | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: Ie7971577aeba299aaf9406fc97793d946342eaeb
* | Fix tests for Python3.Cyril Roelandt2021-08-191-2/+8
|/ | | | Change-Id: Ifbf6f52a312929ac07154db8eeee976b0ab0d46a
* Merge "config-generator yaml format doesn't work with i18n fields"xena-em8.7.1Zuul2021-06-021-0/+14
|\
| * config-generator yaml format doesn't work with i18n fieldsDavid Vallee Delisle2021-05-161-0/+14
| | | | | | | | | | | | | | | | | | | | | | This is because there's no yaml representer for i18n Messages object. This patch aims to add this representer and allow the generation of configurations using oslo.i18n strings. One example of this is cinder. Closes-bug: #1928582 Change-Id: I70ab87c9bed093cad883b6301b8a09753fc470d9
* | Merge "Ussuri+ is python3 only"Zuul2021-06-011-1/+1
|\ \
| * | Ussuri+ is python3 onlydengzhaosen2021-05-051-1/+1
| | | | | | | | | | | | | | | | | | update python to python3 Change-Id: I83c8c9897678f8a0628987a071adda68062ac515
* | | Merge "setup.cfg: Replace dashes with underscores"Zuul2021-05-271-3/+3
|\ \ \ | |_|/ |/| |
| * | setup.cfg: Replace dashes with underscoressongwenping2021-04-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Icc9b9a3af1c8cf58b3a2b9626065cb2fcd074a42
* | | Merge "Add the version parameter."8.7.0Zuul2021-05-051-1/+1
|\ \ \ | |_|/ |/| |
| * | Add the version parameter.Daniel Bengtsson2021-05-041-1/+1
| |/ | | | | | | | | | | Call the parent with the version parameter. Change-Id: I20016e299077a7b678ecabceacb21cc0c7d306c8
* | Merge "Remove references to 'sys.version_info'"Zuul2021-05-041-6/+1
|\ \ | |/ |/|
| * Remove references to 'sys.version_info'dengzhaosen2021-04-251-6/+1
| | | | | | | | | | | | We support Python 3.6 as a minimum now, making these checks no-ops. Change-Id: I668c1bddba29a5e823734b1cad5116ba2fdb5f75
* | Merge "Adding the missing HostDomain config option"8.6.0Zuul2021-04-264-0/+61
|\ \ | |/ |/|
| * Adding the missing HostDomain config optionHervé Beraud2021-04-224-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ``HostDomain`` config type have been added few months ago [1] however the config option have been forgotten and this new type isn't importable. When we try to import this type without defining a new related cfg option we get the following issue: ``` AttributeError: module 'oslo_config.cfg' has no attribute 'HostDomain' ``` These changes allow us to import this new type and allow us to use it in our configs: ``` >>> from oslo_config import cfg >>> foo = cfg.HostDomain('foo') >>> foo.type.__call__("1") ... During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "~/oslo.config/oslo_config/types.py", line 893, in __call__ raise ValueError( ValueError: 1 is not a valid host address >>> foo.type.__call__("host_name") 'host_name' ``` Also properly initialize HostDomain because The HostDomain class wasn't calling super in it's __init__() method, which resulted in the type_name not being set properly for instances of that class. [1] https://opendev.org/openstack/oslo.config/commit/6480356928c9ae6169ea1e5a5b5f1df3d6e0dc75 Change-Id: Ie947803f61ba0ef080018e0447de894a400d7975 Closes-Bug: 1924283
* | Merge "tests: Add test for config file priority order"Zuul2021-04-211-6/+39
|\ \
| * | tests: Add test for config file priority orderStephen Finucane2021-04-141-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | This was documented in the docstring but we had nothing to assert it in tests. Correct that gap. Change-Id: I4002e7fe18c43eb5f9ba2eae16022d7da87f790d Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Fix formatting of release listPierre Riteau2021-04-161-15/+15
| | | | | | | | | | | | Change-Id: Id0b62cae0e8d738ae379ff63b379b770278e65f2
* | | Merge "remove unicode from code"Zuul2021-04-164-11/+9
|\ \ \
| * | | remove unicode from codexuanyandong2021-04-164-11/+9
| |/ / | | | | | | | | | Change-Id: I062829a44a62014e88f285a82b6800e37f00ff28
* | | Merge "Add Python3 xena unit tests"Zuul2021-04-151-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: I2e13ad1b86ad303d07f446985e3bb159667c2c0c
* | | | 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: Ieef544f34d5291ed300a14801d73e2419f9db0cf
* | Merge "update doc url"Zuul2021-04-121-1/+1
|\ \
| * | update doc urllikui2020-10-301-1/+1
| | | | | | | | | | | | Change-Id: I227172cb51ea357a2c807fa080b0eaf7fd312e78
* | | 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: I383111df27815708b60bf93ab565e402bb42d230
* | Bump minimum version for PyYAML to 5.18.5.0Ben Nemec2021-02-181-1/+1
| | | | | | | | | | | | | | | | | | This addresses CVE-2017-18342. I doubt anyone is actually using an old version of PyYAML with oslo.config at this point, but that means it shouldn't hurt to bump the minimum either. Change-Id: I4f440eb9511333ce70db4184857dcbcdd0ed1b97 Closes-Bug: 1839398
* | remove lower-constraints.txtlikui2021-01-162-86/+0
| | | | | | | | | | | | [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: I407b2c9bc6e9c1cd5b070a1cdca7c0eabe19b0ca
* | Merge "Remove Babel from lower-constraints.txt"Zuul2021-01-161-1/+0
|\ \
| * | Remove Babel from lower-constraints.txtlikui2020-09-031-1/+0
| | | | | | | | | | | | Change-Id: I2012d7ceada837461b02a6041eb099d87306ed21
* | | Merge "Move zuul config file to root folder"Zuul2021-01-141-0/+0
|\ \ \
| * | | Move zuul config file to root folderMoisés Guimarães de Medeiros2021-01-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving .zuul.d/project.yaml to .zuul.yaml as it is the only file in that folder and to look similar to other oslo repos. Change-Id: I787f57e57e5dd83d08dfaecca2405bf064c9f924
* | | | inherit from object is not required for py3Moisés Guimarães de Medeiros2021-01-1210-16/+16
|/ / / | | | | | | | | | | | | Change-Id: I3f3b1dca78e2e9b2515231ccc6600b64f31039fb Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>