summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Moves supported python runtimes from version 3.8 to 3.10"HEADmasterGhanshyam2023-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1f04434c62115a590ae269d0b04974a35be0dc81. 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: I5fe3a79a7521025c214968adc20e40e388db2a7b
* 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: I4f60aa523fc7d2b284086a28c1cdb1ff85a1860f
* 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: Ie233ab07100e84c97995468a75f82e932831328f
* Fix formatting of release listHervé Beraud2022-05-271-11/+11
| | | | Change-Id: Iad538c1cee69eb0b07f58ab6fd39ec68eb345a39
* Drop python3.6/3.7 support in testing runtimeHervé 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: If6fe6ac606052aad42ee5648efa9dcc4a482d09f
* Remove unnecessary unicode prefixessongwenping2022-04-194-14/+14
| | | | Change-Id: I554dee8e91468f8ea2dbcb99a925a2e9057ac378
* Update CI to use unversioned jobs templateStephen Finucane2022-03-151-1/+1
| | | | | | | | | | | | | As part of the migration of this project to the independent release model, we failed to notice that the job template was still tied to a specific release. We've now introduced a new unversioned job template, 'openstack-python3-jobs' [1], which was can and should use. Do this. [1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/ Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/ Change-Id: If5322168fca2e6b045c9fe81b764a587cd3b30e1 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* setup.cfg: Replace dashes with underscores4.5.0YuehuiLei2021-05-041-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: Id0c81ac91849d1d8dc661df73fe96d16d28b783a
* Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-210-0/+0
|\
| * Use TOX_CONSTRAINTS_FILEzhangboye2021-04-210-0/+0
| | | | | | | | | | | | | | | | 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>. Change-Id: I842b17f6bf705071d93902ca40250bc79ae66d6d
* | Merge "Document unit of measure for OS_TEST_TIMEOUT"Zuul2021-04-211-1/+1
|\ \
| * | Document unit of measure for OS_TEST_TIMEOUTSorin Sbarnea2021-04-011-1/+1
| |/ | | | | | | Change-Id: Ie4b80481de69d0c9c376a1c21309ddeff9b5cef6
* | Merge "Remove lower-constraints remnants"Zuul2021-04-212-46/+0
|\ \ | |/ |/|
| * Remove lower-constraints remnantswu.shiming2021-02-202-46/+0
| | | | | | | | | | | | These were missed in change: I63153d3258e10d232f86f7a8b652eb7028aab4c6 Change-Id: I47388f13483d2938208ba385be4c94731e79e3ae
* | 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: Ice225c7a1a731991175487c44f70348349911149
* Merge "Use py3 as the default runtime for tox"Zuul2021-01-211-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: I06b805afb6c3c936b55a9e322cf406e424aeb8bc
* | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-01-141-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: I9b345814296b5c6269d2634fc42b947f95cad389
* | 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: I63153d3258e10d232f86f7a8b652eb7028aab4c6
* Merge "Adding pre-commit"Zuul2020-09-225-4/+43
|\
| * Adding pre-commitHervé Beraud2020-09-155-4/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Icd2a9bded756b2bcba1fb7da6abe48503fd9b2d6 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: Ibb0e762ac3d81001c2bc763c668296eca0ae172a
* | 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: I28b32d2a00289e883851ba636cec8b5838d94d17 Sem-Ver: feature
* Merge "Align contributing doc with oslo's policy"victoria-em4.4.1Zuul2020-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: Icd9bc152910712e1ecb571e5801bd5c9038af5dd
* | Merge "Revert "Revert "Switch to unittest.mock from mock"""4.4.0Zuul2020-06-089-25/+31
|\ \
| * | Revert "Revert "Switch to unittest.mock from mock""Ben Nemec2020-04-039-25/+31
| | | | | | | | | | | | | | | | | | This reverts commit c743e68f72af45b24f783a271368aa07923c00d9. Change-Id: Ia5a87ec7a65703692cba2edf8aa01202dab68173
* | | Stop to use the __future__ module.4.3.0Hervé Beraud2020-06-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ia9cdcfb75cc91dc5f93f02d07ad389c8c7d622fe
* | | Merge "Add release notes links to doc index"Zuul2020-05-261-0/+9
|\ \ \
| * | | Add release notes links to doc indexHervé Beraud2020-04-161-0/+9
| | | | | | | | | | | | | | | | Change-Id: If1faca1d9914177c555c86b882047be32718d114
* | | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-186-23/+20
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering Update Sphinx version as well. Create doc/requirements.txt file and use it, remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. Set openstackdocs_auto_name to use 'project' as name. Depends-On: https://review.opendev.org/728938 Change-Id: Ic3503a8b38e67e50669428b36f6581cb980d687f
* | | Merge "Add py38 package metadata"Zuul2020-04-271-0/+1
|\ \ \
| * | | Add py38 package metadataSean McGinnis2020-04-241-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: Ia72c3b021f57798a22a0b8b947eb192e045890a5 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: I0675da8241f60e8699f2aa80b13773d9284cc3ae Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Add Python3 victoria unit testsOpenStack Release Bot2020-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ic8717c57ec2063701c89e7f3974201b779ba9f15
* | Update master for stable/ussuriOpenStack Release Bot2020-04-142-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: Ie92dd5f0d5f0a958429572c5772f91a07ae8a8b7 Sem-Ver: feature
* Revert "Switch to unittest.mock from mock"ussuri-em4.2.0Ben Nemec2020-04-039-31/+25
| | | | | | | | | | | This reverts commit ffdf6f10be50bf8c2debd23e076077668b2e9fb6. Switching oslotest to unittest.mock has broken a bunch of other projects because they were (incorrectly) relying on oslotest to pull in third-party mock for them. Until we get everyone migrated, let's hold off on doing this for oslotest. Change-Id: I0bdca39686f3653a56f9e4a554662727e2dbaafd
* Switch to unittest.mock from mock4.1.0Monty Taylor2020-03-299-25/+31
| | | | | | | In python3 mock is in the unittest package and doesn't need to install mock directly. Change-Id: I195ac9739936372042b5d7d3c0c3f3bd82b04107
* Remove os-client-config and debtcollectorMonty Taylor2020-03-292-4/+0
| | | | | | Neither are used by oslotest anymore as of the 4.0 release. Change-Id: I43897837b20c59f04617e9f707ca838980e32fec
* Remove 'oslotest.functional'4.0.0Stephen Finucane2020-02-262-65/+5
| | | | | | | | Another one that should be removed now that we're releasing a major version bump. Change-Id: I3754a7fe607bcd093e5c87a8b0592301b353e416 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Remove 'oslotest.moxstubout' moduleStephen Finucane2020-02-255-69/+6
| | | | | | | | | This has been deprecated for some time and codesearch.o.o suggests there are only three or so 'openstack/xxx' projects still using this, all of which should drop the usage shortly. Time to drop this module. Change-Id: I315254ede8353a0cd88828f520c596b1f02a56a7 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Merge "tools: Default to Python 3"Zuul2020-02-242-2/+2
|\
| * tools: Default to Python 3Stephen Finucane2019-12-182-2/+2
| | | | | | | | | | | | | | It's nearly 2020. This should be the default now. Change-Id: Ia43fb5bf3c7eede7a8f1cf254cd6de8dace25bd8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | remove outdated headerHervé Beraud2020-02-101-1/+0
| | | | | | | | Change-Id: I145154677616be69cbc65e53db796dce591cbf88
* | gitignore: Ignore reno artefactsStephen Finucane2020-02-101-0/+2
| | | | | | | | | | Change-Id: I90d3644e5427e1f4aa42cbfe4591668e9e8ded24 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | [ussuri][goal] Drop python 2.7 support and testingAndreas Jaeger2020-02-038-33/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Update docs building to use modern sphinx-build. Update to use apidoc for newer sphinx. Remove cruft from setup.cfg and doc/source.conf.py Change-Id: I6a0643fcf8e28e09b1c69cda98dc53c71e6c508d
* | Merge "Remove stestr from requirements.txt"Zuul2020-01-211-1/+0
|\ \
| * | Remove stestr from requirements.txtwanghui2018-11-061-1/+0
| | | | | | | | | | | | | | | | | | The stestr requirement has been added to test-requirements.txt Change-Id: I6bc6036699bebb8a6aff2714d5b082126f5c6423
* | | trivial: Cleanup of doc config fileStephen Finucane2019-12-192-253/+9
| | | | | | | | | | | | | | | Change-Id: Ie5f147cff6e92ce64c32b50a01e65c042dbc0b74 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>