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 2a3c81225f31d607dfa4227c8b2ae89f817813e2. 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: I0387859a84a058c2266c59cd6688fd5abc9fc867
* 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: Ic3df6f4d8243ed317679fe5472ecc482067351a8
* 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: I364035fd13eff22195931896a699962887901e12
* Fix the docs job5.1.1Hervé Beraud2023-02-171-4/+2
| | | | | | Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: I2981285fe29790737431b1083979388c02938a67
* 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: Ic4b46988421240b5ffcb7aa5cf989afec84e94b3
* 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: I69e0200f7e4f4a32b078b53f95e33f87767502b7
* Cleanup py27 supportniuke2022-08-131-8/+0
| | | | | | | | This repo is now testing only with Python 3, so let's make a few cleanups: - Remove python 2.7 stanza from setup.py Change-Id: I49a8b75ee2696632d105abc23d8a467e8c157179
* 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: I9a9e88dc6d0f2ae169c583215372097f808f34b2
* Remove unnecessary unicode prefixessongwenping2022-04-192-11/+11
| | | | Change-Id: Id6bb6fb85f9989746066ac042661cd4782f153c4
* 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: I20476524c984d9fbee07f544bafadcd33dbc46a0
* 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: I38ed8e46d582f471e105b80ee4f497e32e1592c1
* Integrate mypy4.1.0Stephen Finucane2022-01-256-94/+121
| | | | | | | | | oslo.context is pretty small and therefore easy to introduce mypy for. Minimal type hints are added, along with tox targets to validate things. We can build on these in the future if we'd like to. Change-Id: Ie5ab9eedfc89654ac3aa635f4a3ad24409ad23b6 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Don't test with setuptools local distutils.4.0.0Daniel Bengtsson2022-01-211-0/+7
| | | | | | | | | | | | | | We noticed some aberrations in log level/threshold handling as of Setuptools 60.0.0, and the only substantive change for that release[1] toggles the default selection for its internal ("local") distutils replacement vs the "stdlib" one. For now, toggle the SETUPTOOLS_USE_DISTUTILS envvar in our testing back to the old value. This should be revisited once logging is handled better in Setuptools. [1] https://github.com/pypa/setuptools/issues/3038 Change-Id: I2eacb9756d9eb9c5d606599f16cdb412007f5854
* Remove the deprecated argument tenant from RequestContextHervé Beraud2021-10-293-30/+29
| | | | | | | | | The tenant argument of RequestContext have been deprecated long time ago it is now removed by these changes. Sem-Ver: api-break Closes-Bug: 1505827 Change-Id: I2fded6f3476df1fb8c4e042ef28ed8ccb7ab0737
* Merge "Fix context from_dict() for system_scope"3.4.0Zuul2021-10-043-1/+8
|\
| * Fix context from_dict() for system_scopeMichael Johnson2021-08-123-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | A previous patch[1] added "system_scope" to the context for to_dict() but the from_dict() method was not updated. This caused the system_scope to always be None. This patch corrects that by adding "system_scope" to the list of values that may need to be extracted from the context dict. [1] https://review.opendev.org/c/openstack/oslo.context/+/530509 Change-Id: Ica23d5c4183a692de3cb65a7ad72b19f47988ca6
* | 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: Ic8dd9ba6e5868c573ac8f0b340447f8addd8b6b7
* | 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: Id065fcdf7b292ebba9fe5944d3051eca99f361d1
* Merge "Ussuri+ is python3 only and update python to python3"3.3.1Zuul2021-05-263-3/+3
|\
| * Ussuri+ is python3 only and update python to python3dengzhaosen2021-05-063-3/+3
| | | | | | | | Change-Id: I504494cac13fb8b887df16fe6b93bf587ba35630
* | setup.cfg: Replace dashes with underscores3.3.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: I4400fcf1bdcdedfa8dccf806f99ded36660e276e
* Merge "Fix formatting of release list"Zuul2021-04-211-13/+13
|\
| * Fix formatting of release listPierre Riteau2021-04-161-13/+13
| | | | | | | | Change-Id: Iae6d7115baf6ff0a99d7d3149b28ccd19541fae1
* | Merge "Use py3 as the default runtime for tox"Zuul2021-04-161-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: Iebd65c5ae0b3478d7e313e6cf947c746f50dd4a0
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-161-2/+2
|\ \ \ | |_|/ |/| |
| * | Use TOX_CONSTRAINTS_FILEHervé Beraud2020-11-041-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: I6e159fccb36d1c68beb2b20357311b618106bc3e
* | Merge "Drop use of deprecated collections classes"Zuul2021-04-160-0/+0
|\ \
| * | Drop use of deprecated collections classesStephen Finucane2021-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | These were moved in Python 3.3 and the aliases will be dropped in 3.10. Change-Id: I5b289c21f752e3135af86c4180feead8b997f61d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | 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: I14bcd7aa56501fb7fc0d620c0ed896ab057bfa5f
* | | | 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: I345b4b257a3fdfee2c122147443bb3d918e8f16e
* | | | Merge "Remove lower-constraints remnants"Zuul2021-03-292-35/+0
|\ \ \ \
| * | | | Remove lower-constraints remnantswu.shiming2021-02-192-35/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | These were missed in change: If2a9cf05f382ae28846b95e5bb29669ee57f9bcd Change-Id: I364eea549d42e75471288c597bd9dd8094d87c64
* | | | 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: I668a7489b215adb89f301de65159ad442cdb7718
* | | Switch to collections.abc.MutableMapping3.2.0Ben Nemec2021-01-291-2/+2
|/ / | | | | | | | | | | | | collections.MutableMapping has been deprecated since Python 3.3 and is removed in Python 3.10. The functionality should be identical. Change-Id: Ic9b2f8a89a92ac3a5fa5f49bb19f13e547d12eda
* | 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: If2a9cf05f382ae28846b95e5bb29669ee57f9bcd
* 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: I4473e5e96419e4da9c8922d5832249da23c61acd 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: I268381b54fdecefd856f724793112b2de39cd3ef
* | 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: Ic5bf0a3d63047020ab1872b2e7164d0974f4427c Sem-Ver: feature
* Merge "drop mock from lower-constraints"3.1.1Zuul2020-08-171-1/+0
|\
| * drop mock from lower-constraintsHervé Beraud2020-06-091-1/+0
| | | | | | | | | | | | | | | | | | | | The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we don't need it in lower-constraints. These changes will help us to drop `mock` from openstack/requirements Change-Id: I6896e1ca4c8f20aa56cf444a8e29a7bbced95427
* | Bump bandit versionMoisés Guimarães de Medeiros2020-07-252-2/+2
| | | | | | | | | | | | | | | | 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: I2e498fd13356f571acb905384206b4c97e6c5d92 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: I613d0ea9423e75ca8f0f5cfca9fd82115c782f94
* | Fix pygments stylemelissaml2020-06-042-6/+2
| | | | | | | | | | | | | | | | New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I69a051117890860e3dc524a6361f5acb21820a02
* | Merge "Fix hacking min version to 3.0.1"3.1.0Zuul2020-05-261-1/+1
|\ \
| * | Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | | | | | | | | | Change-Id: Icc7d4b4016e44edfc4750ab3be0f180d6fb55d52