summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adjust requirements and lower-constraints7.2.1Brian Rosmaita2020-12-232-6/+11
| | | | | | | | | | | | | | | | | | | | | | Conservative changes to get the l-c job passing with the new pip resolver. Big changes: - pytz 2013.6 -> 2015.7 (u-c allows 2020.1) * needed for babel - tempest 17.1.0 -> 24.0.0 (u-c allows 25.0.1) * for dulwich (long story) - urllib3 1.21.1 -> 1.24.1 (u-c allows 1.25.10) * for tempest - oslo.concurrency 3.25.0 -> 3.26.0 (u-c allows 4.3.1) * for tempest - mccabe 0.2.1 -> 0.6.0 * for flake8 Also added dulwich to test-requirements to narrow down versions considered by the resolver. Change-Id: I8bb622c947cada2905e8d756d5a64f08abaeee8d
* Update TOX_CONSTRAINTS_FILE for stable/victoriaOpenStack Release Bot2020-09-161-4/+4
| | | | | | | | | | | | 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/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: I1ae3f5147bceb006b014809edd0470eaf3a1783b
* Update .gitreview for stable/victoriaOpenStack Release Bot2020-09-161-0/+1
| | | | Change-Id: I9b58b47580b06549cd674fc15f4b88dace13443b
* Merge "Add functional-py38 job"7.2.0Zuul2020-09-162-19/+10
|\
| * Add functional-py38 jobBrian Rosmaita2020-09-162-19/+10
| | | | | | | | | | | | | | | | | | The openstack-python3-victoria-jobs template is running unit tests for py36 and py38. We should do the same for our functional test jobs. So replace the functional-py37 job with a functional-py38 job. Change-Id: Icb338611169975be04bb27b86b5b3de0a37a6f5f
* | Merge "Add note for Victoria release"Zuul2020-09-161-0/+11
|\ \
| * | Add note for Victoria releaseBrian Rosmaita2020-09-161-0/+11
| | | | | | | | | | | | Change-Id: If948b069a52f3a4fc9d2464b86652fc523e8af53
* | | Merge "Add commands for default type overrides"Zuul2020-09-1610-1/+277
|\ \ \ | |/ / | | / | |/ |/|
| * Add commands for default type overrideswhoami-rajat2020-09-1610-1/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds command for set,get and delete default volume types for projects. This patch adds 3 commands : 1) Set Set a default volume type for a project cinder --os-volume-api-version 3.62 default-type-set <vol-type-id> <project-id> 2) Get Get the default volume type for a project cinder --os-volume-api-version 3.62 default-type-list --project-id <project-id> Get all default types cinder --os-volume-api-version 3.62 default-type-list 3) Unset Unset default volume type for a project cinder --os-volume-api-version 3.62 default-type-unset <project-id> Implements: Blueprint multiple-default-volume-types Change-Id: Id2fb00c218edbb98df3193577dba6a897c6e73f6
* | Python API in python-cinderclienttushargite962020-09-151-1/+1
| | | | | | | | | | | | | | "myvol.delete" should be "myvol.delete()" Change-Id: Iadddfed8deec1f0dee2b71effb3b4de2689d6ada Closes-Bug: #1866374
* | Merge "Use importlib to take place of imp module"Zuul2020-09-091-2/+11
|\ \ | |/ |/|
| * Use importlib to take place of imp modulezhoulinhui2020-09-021-2/+11
| | | | | | | | | | | | | | | | | | The imp module is deprecated[1] since version 3.4, use importlib to instead [1]: https://docs.python.org/3/library/imp.html Change-Id: Ie250592bc183e8db1758b6cfa4681a45f4c489ab
* | Merge "[goal] Migrate python-cinderclient jobs to focal"Zuul2020-09-049-19/+23
|\ \
| * | [goal] Migrate python-cinderclient jobs to focalGhanshyam Mann2020-08-179-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. - pep8 error - Set bionic nodeset for py36 and py37 job. [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-fo$ Story: #2007865 Task: #40179 Change-Id: Ibab96807a7747738282732fe0069b9bc197da0ee
* | | Remove excess whitespace in ignore-pathBrian Rosmaita2020-09-031-1/+1
| |/ |/| | | | | | | | | | | Some extra whitespace is present in the ignore-path in the [doc8] testenv, so remove it. Change-Id: Ibd1b5f8259ec174b2bbb233b270f0e09daa67bc2
* | Merge "Add support for Cinder API mv3.61"Zuul2020-09-021-1/+1
|\ \
| * | Add support for Cinder API mv3.61Ivan Kolodyazhny2020-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Microversion 3.61 adds cluster_name attribute to volume details output for admin users. Change-Id: I13f85c8ddd4cb238a245c263151123fd271a9927 Depends-On: https://review.opendev.org/742991
* | | Merge "zuul functional job: drop the custom playbooks"Zuul2020-08-265-37/+2
|\ \ \
| * | | zuul functional job: drop the custom playbooksLuigi Toscano2020-08-185-37/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | The base devstack-tox-functional* jobs now set the required environment (OS_* vars set by devstack) before calling tox. Depends-On: https://review.opendev.org/746235 Change-Id: If58a6088f92c4be5edd53f0f5cd9a093d4cbc5f1
* | | Merge "Add doc linting to pep8 target"Zuul2020-08-266-19/+34
|\ \ \
| * | | Add doc linting to pep8 targetSean McGinnis2020-06-056-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds doc8 to the pep8 job to lint the docs. Also fixes a few issues it highlighted. Change-Id: Id0f4b9bee1f6a0103ec581b20037a9b74201aaca Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | Merge "Clean up some old v1 API references"Zuul2020-08-211-5/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Clean up some old v1 API referencesSean McGinnis2020-06-021-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes some code that was still pointing to the V1 API. No need to add release note or additional announcements since this was all removed long ago, and if anyone would have gone down this code path it would have just blown up trying to import the v1 code that is no longer there. Change-Id: I7d239d3fe3d879e4c391e83cae1e394cf1f5e6eb Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | Merge "trivial: Drop references to os-testr"Zuul2020-08-073-3/+2
|\ \ \ \
| * | | | trivial: Drop references to os-testrStephen Finucane2020-07-093-3/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | os-testr is dead. Long live stestr. Change-Id: Ie37f00e2f5ef2230adcff0d662e2d0b214b8c74c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Fix pygments style"Zuul2020-08-070-0/+0
|\ \ \ \
| * | | | Fix pygments stylefuzihao2020-05-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New theme of docs (Victoria+) respects pygments_style. Since we starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Change-Id: I7d7bebc5b29b4aa251bba784aeca98e23d3e9c23
* | | | | Merge "use stevedore to load util plugins"Zuul2020-08-052-6/+12
|\ \ \ \ \
| * | | | | use stevedore to load util pluginsDoug Hellmann2020-07-052-6/+12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing pkg_resources has a side-effect of scanning all of the installed python modules looking for entrypoints to build an in-memory cache. Stevedore will be adding an on-disk cache to speed that process up, which should provide significant performance benefits for client applications such as python-openstackclient. This change introduces stevedore to replace pkg_resources. Change-Id: I66decf6d5a4f79ddaa6617737e9334a56dbbbad4 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | Merge "Stop to use the __future__ module."Zuul2020-08-058-16/+0
|\ \ \ \ \
| * | | | | Stop to use the __future__ module.Hervé Beraud2020-06-028-16/+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: Id785793c36b3a6819a7522525252c3fef15ebe2b
* | | | | Bump hacking to 3.1.0Eric Harney2020-07-165-6/+12
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pycodestyle does not know about "importutils.try_import" calls, so we have to either a) put them inside a "try" block or b) add "# noqa: E402" to each import after the try_import call Change-Id: Ia545bb689cfdfb57962d74e3957dfb372fd3782b
* | | | Merge "Use unittest.mock instead of third party mock"Zuul2020-06-2214-35/+32
|\ \ \ \ | | |_|/ | |/| |
| * | | Use unittest.mock instead of third party mockSean McGinnis2020-06-0514-35/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ia41326a601dfd72750bd81c3ebee9ec5884ad91b Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | Merge "Add py38 package metadata"7.1.0Zuul2020-06-180-0/+0
|\ \ \ \
| * | | | 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: I92118f2a4a6c6db3f614addd324c76411c3b7f24 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | | Fix typo: dow -> downLuigi Toscano2020-06-161-1/+1
| |/ / / |/| | | | | | | | | | | | | | | Closes-Bug: #1883674 Change-Id: I4f4468b23d04ecf74fb6347bfb518377127b563d
* | | | Add directive to document CLISean McGinnis2020-06-036-4476/+193
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our CLI docs are very out of date. These used to be generated by the docs team with some tooling they had. Since the docs moved in-repo, that tooling has gone away, and for the most part no one has done any updates to the CLI docs. This adds a sphinx directive that will generate these docs every time the docs are built. This way, whenever someone makes a CLI change, they do not need to have to know to also edit a documentation file to match their change. Any code changes will automatically be picked up and reflected in the docs. Change-Id: I4406872ab6e9335e338b710e492171580df74fa5 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Merge "Add py38 package metadata"Zuul2020-05-271-0/+1
|\ \ \
| * | | Add py38 package metadatazhangboye2020-05-221-0/+1
| | |/ | |/| | | | | | | Change-Id: I3a0df4c9886465238bb62c1c24b3cafb9bc5aeb1
* | | Merge "Switch to newer openstackdocstheme and reno versions"Zuul2020-05-225-20/+15
|\ \ \ | |/ / |/| |
| * | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-225-20/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Set openstackdocs_auto_name to use project as name. Set openstackdocs_pdf_link to link to PDF file. Note that the link to the published document only works on docs.openstack.org where the PDF file is placed in the top-level html directory. The site-preview places the PDF in a pdf directory. 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: I2cc022495b162bec1424ec69611acb879900c005
* | | Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-152-5/+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. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: If5f2f970a353189f3eaeea00322848cb8346245c
* | 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: Ie26a8d5a79c3ba8348419f031af0cef0f0e5c6c7 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Remove Babel from requirementsDmitry Tantsur2020-04-172-2/+0
| | | | | | | | | It's not a runtime dependency (and even oslo.i18n has dropped it). The translation infrastructure installs Babel explicitly. See this mailing list thread for a full reasoning: http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html Change-Id: I2898616ec6302bb578ddc265d6c6dc02d8415eac
* Add Python3 victoria unit testsSean McGinnis2020-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: I8e798da1c5cc2b36d00ab861a77e836bd55a9900 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update master for stable/ussuriOpenStack Release Bot2020-04-082-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: Ibe088b927b963f1fe6b3e654ad1a5f03618c332b Sem-Ver: feature
* Add release note for Ussuri cinderclient release.7.0.0Brian Rosmaita2020-04-071-0/+28
| | | | | | The official Ussuri release will be 7.0.0. Change-Id: I4f41291768d06faf0d76f8d8a1c420b765f29b6b
* Merge "Remove autogen warning"Zuul2020-04-071-18/+0
|\
| * Remove autogen warningIan Wienand2020-03-251-18/+0
| | | | | | | | | | | | This isn't autogenerated ... it would be good if it was, but it isn't. Change-Id: Iaf8b2375051e2dbd8cf6fd653fac4cdc60b4e7ea