summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/yogastable/yogaOpenStack Release Bot2022-03-041-3/+3
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/yoga branch, tests will continue to use the upper-constraints list on master. Change-Id: I7cbe2648843ef3c55921692879b89f80acbef3e9
* Update .gitreview for stable/yogaOpenStack Release Bot2022-03-041-0/+1
| | | | Change-Id: Ifaaf2b351679c7b7275eb936346ba73bbd0cedc4
* setup.cfg: Replace dashes by underscores2.5.1Takashi Kajinami2022-02-071-4/+4
| | | | | | | | | | | | | | | | Since setuptools v54.1.0[1], the parmeters with dash have been deprecated in favor of the new parameters with underscore. This change updates the parameters accordingly to avoid the warnings like the example below. 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: I660fadc0b9798214719fe1a1aac0731584806503
* Update python testing classifier2.5.0dengzhaosen2021-12-242-1/+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: If01a4cb7dcb48698cea934309de36268ae92b7e1
* Merge "Replace deprecated import of ABCs from collections"Zuul2021-12-161-3/+3
|\
| * Replace deprecated import of ABCs from collectionsTakashi Kajinami2021-12-161-3/+3
| | | | | | | | | | | | | | | | ABCs in collections should be imported from collections.abc and direct import from collections is deprecated since Python 3.3. Closes-Bug: #1936667 Change-Id: Ie312cb884537ec541bf2111fe8a647e939b6519e
* | Merge "Add Python3 yoga unit tests"Zuul2021-12-161-1/+1
|\ \ | |/ |/|
| * 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: Icfc46e4f80c8877a688d1c898d380a4c18a13c7c
* | Fix test and lower constraintsrabi2021-12-162-5/+5
|/ | | | | | | This fixes failures for PyYAML new version and lower constraints. Change-Id: Iba863242365c4be63495600b741513c2ca0ea9b0
* 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: I05fbdf17cbde4f70aea3c3ff99330accd7b22c19
* Replace oslo_utils.fnmatch with fnmatch2.4.0Takashi Kajinami2021-07-061-2/+1
| | | | | | | | | | | The oslo_utils.fnmatch module was added to solve an issue in py2.7 but it is no longer required because py2.7 is no longer supported. The module was deprecated since oslo.utils 4.9.1[1] and the stdlib's fnmatch module should be used instead. [1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b Change-Id: I95535adeb45363500b3ed9729bb61cb4308d23b9
* Merge "Add Python3 xena unit tests"Zuul2021-06-181-1/+1
|\
| * Add Python3 xena unit testsOpenStack Release Bot2021-04-041-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 Depends-On: https://review.opendev.org/c/openstack/python-heatclient/+/784712 Change-Id: Ie183f7f5b02c6008de70d81e248211d453276c39
* | fix lower constraint jobricolin2021-06-182-8/+7
| | | | | | | | | | | | Also fix PrettyTable requirement Change-Id: Ib16d87a2d068a1dabdeb8470a5473c0882fbea4e
* | [ussuri][goal] Update contributor documentationGhanshyam Mann2021-06-013-18/+68
|/ | | | | | | | | | | This patch updates/adds the contributor documentation to follow the guidelines of the Ussuri cycle community goal[1]. [1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Story: #2007236 Task: #38524 Change-Id: If5d20838a653687a142134a9645254d9c51dba78
* Update master for stable/wallabyOpenStack Release Bot2021-03-192-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: Idf4b001e1172665fa4a65ce34f9a512a42ab8e8d
* Merge "Stop to use the __future__ module."2.3.0Zuul2020-11-161-2/+0
|\
| * Stop to use the __future__ module.Hervé 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: Ifbca4f0b72663e026a92061c213e728cf755772c
* | Merge "Bump default tox env from py37 to py38"Zuul2020-10-281-1/+1
|\ \
| * | 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: I19e5c51f5ffa30a1257a9cc2d0b43dd35de79d5a Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Merge "Add Python3 wallaby unit tests"Zuul2020-10-271-1/+1
|\ \ \
| * | | 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: I76b8f959e8a99b890fcd1d951fd9b1fd8f2ec49f
* | | | Merge "Update master for stable/victoria"Zuul2020-10-272-0/+7
|\ \ \ \ | |/ / /
| * | | 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: Ie61484159d327a60c377b5465ef4faabac8a553d Sem-Ver: feature
* | | | Python 3.9: base64.encodestring is removedThomas Goirand2020-10-161-1/+1
|/ / / | | | | | | | | | | | | | | | | | | We should use base64.encodebytes instead, which is avaiable since Python 3.2. Change-Id: Ic945aff08d00bf2e602964cb1e25ea045e645b17
* | | [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-09-063-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. - noqa for pep8 C901 check. Closes-Bug: #1886298 Story: #2007865 Task: #40186 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal Change-Id: I67b4957cea1ccbd5cdc0314d2eaddef0c24f7dfc
* | | Native Zuul v3 version of the functional legacy jobvictoria-em2.2.1Luigi Toscano2020-08-195-192/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pretty straightforward conversion, and remove the old scripts which are not needed anymore. Also, even though OS_TENANT_NAME is still exported, read OS_PROJECT_NAME as first choice. Depends-On: https://review.opendev.org/746235 Change-Id: I51314da6d6bf0467308f3598fa9e666655e286d0
* | | Merge "Use unittest.mock instead of third party mock"2.2.0Zuul2020-06-0929-31/+43
|\ \ \
| * | | Use unittest.mock instead of third party mockjacky062020-05-0629-31/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I5cf252c1a22977d3c87898e723e5001cc87a0d87
* | | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-224-31/+10
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 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 problems Update Sphinx version as well. 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. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I5598eebe898555869cd65a74950fdbd76a7baa46
* | | Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-121-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: I719e643044fbdab4d24edf6457c9096ee5f8fd77
* | 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: I212f8027055ebeeb3dc3948426ede6a704c719ff Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Add Python3 victoria unit testsOpenStack Release Bot2020-04-101-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: Ia8fecb713a5985b666c1b55d113a1c7820dbc5be
* Update master for stable/ussuriOpenStack Release Bot2020-04-102-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: I8325306020f3ec99797859444f0106e969336b5e Sem-Ver: feature
* Update hacking for Python3ussuri-em2.1.0Andreas Jaeger2020-03-3110-12/+16
| | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I82c745f5b1236844deec4538be84037a64eebeee
* Merge "Add files-container option for stack create and update"Zuul2020-02-215-31/+99
|\
| * Add files-container option for stack create and updaterabi2018-08-295-31/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If files-container option is specified: - All template/env files would be fetched by the heat engine relative to the files_container and no local files other than the root template would be sent to server. - Relative path of environment files would be sent in the environment_files list. Also adds the option to template validate. Change-Id: I1a703ab8798a003365be650886bb78be5af472b7 Story: #1755453 Task: 19319
* | Merge "Allow to set poll interval to OSC stack create"Zuul2020-02-212-1/+28
|\ \
| * | Allow to set poll interval to OSC stack createPavlo Shchelokovskyy2019-09-252-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain scenarios the default poll interval of 5s used by `openstack stack create --wait` command is too short. Setting the poll interval was supported in heat CLI with `heat stack-create --poll N` but is missing in OSC plugin. This patch adds an optional argument `--poll N` (N defaults to 5) to the `openstack stack create` command. Change-Id: Id279d92ea890032f280e453b795ede2818ffbb8c Story: 2004863 Task: 29106
* | | Merge "Cleanup of .keys() from dict_object.keys() *in* operator"Zuul2020-02-214-4/+4
|\ \ \
| * | | Cleanup of .keys() from dict_object.keys() *in* operatorjacky062019-12-054-4/+4
| | | | | | | | | | | | | | | | Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
* | | | Merge "Remove dependency on mox3"Zuul2020-02-193-7/+0
|\ \ \ \
| * | | | Remove dependency on mox3Zane Bitter2020-02-103-7/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie6017be8293b36d1aedfb5cce7b76c85a8b95b63
* | | | | Merge "Remove mox usage from test_shell"Zuul2020-02-192-291/+121
|\ \ \ \ \ | |/ / / /
| * | | | Remove mox usage from test_shellZane Bitter2020-02-102-291/+121
| | | | | | | | | | | | | | | | | | | | Change-Id: I4e1dbb55dbc01ebf18ca80aa63ae492a1a8f47ae
* | | | | Merge "tests: Convert 'test_resources' to mock"Zuul2020-02-191-38/+23
|\ \ \ \ \ | |/ / / /
| * | | | tests: Convert 'test_resources' to mockStephen Finucane2020-01-301-38/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the smaller of the two. Change-Id: I2a483698209e7c4ba2da074ffd7b9466f17937e2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | [ussuri][goal] Drop python 2.7 support and testing2.0.0Andreas Jaeger2020-02-106-43/+14
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I54863f2301758dcd48de4ee73bcc8582e5036afa
* | | | tests: Pre-mox removal cleanupStephen Finucane2020-01-301-43/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move some stuff around in order to make the later migration easier to parse. Change-Id: I1404a5b23fd1852be9d04661c2a0ba12c4bb78ec Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Change openstack-dev to openstack-discuss"Zuul2019-12-131-1/+1
|\ \ \ \