summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove lower-constraintsstable/victoriaStephen Finucane2022-01-283-52/+10
| | | | | | | | | | | | | This is not part of the PTI and is currently broken. While discussions are ongoing about removing it from every project, there's a definite lean towards doing so. Let's do just that. We can re-add in the future if necessary. While we're here, we fix some indentation in 'tox.ini'. Change-Id: Ib4784d9da96d05a54acdfbb3744af0cb053c0c6c Signed-off-by: Stephen Finucane <sfinucan@redhat.com> (cherry picked from commit b04cba81ac966717472ae714b6c65c9cc7535978)
* Update TOX_CONSTRAINTS_FILE for stable/victoriaOpenStack Release Bot2020-09-081-1/+1
| | | | | | | | | | | | 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: I172282cc38475d88fce108d06e7d7bd27aec557e
* Update .gitreview for stable/victoriaOpenStack Release Bot2020-09-081-0/+1
| | | | Change-Id: I8b04fc81b598339cf9d9659b990b65582d6975d9
* switch to stevedore for loading entry pointsvictoria-em3.4.0Doug Hellmann2020-07-055-24/+24
| | | | | | | | | Switch to using stevedore now so that when the cache implementation is released all cliff applications can take advantage of the performance benefits. Change-Id: Ib7bf53091470b55ab87082d315ca283d3600a636 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Remove cap on cmd23.3.0Rodolfo Alonso Hernandez2020-06-122-1/+11
| | | | | | | | | | | | After [1] and [2], there is no need to cap the version of cmd2. This will also fix the current "rally_openstack" import problems experienced in the CI: http://paste.openstack.org/show/794701/ [1]https://review.opendev.org/#/c/712591/ [2]https://review.opendev.org/#/c/734629/ Change-Id: Ie15e3f5058c4bd104978d9f31f0590d6c795024b
* Merge "Fix compatibility with new cmd2"Zuul2020-06-101-3/+12
|\
| * Fix compatibility with new cmd2Felix Yan2020-06-091-3/+12
| | | | | | | | | | Closes-Bug: #1810213 Change-Id: I8c926152aa43359be376ec3dea83c42ecc499e80
* | Merge "Import command group support from osc-lib"3.2.0Zuul2020-06-093-0/+119
|\ \ | |/ |/|
| * Import command group support from osc-libMonty Taylor2020-06-073-0/+119
| | | | | | | | | | | | | | | | osc-lib adds support for named groups of commands. There's nothing particularly openstackclient about this support, so add it here. This way when we add defered plugin loading, it'll work. Change-Id: Ia0260d2607f4a240b39e90da4b5b09e7cdfde04f
* | drop mock from lower-constraints and requirementsHervé Beraud2020-06-092-2/+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 and requirements. These changes will help us to drop `mock` from openstack/requirements Change-Id: I81e07cd68e370422675b939863138e23de444eef
* Remove unneeded testsMonty Taylor2020-06-061-36/+0
| | | | | | These are for <3.2 Change-Id: I376e3601d5799e11590b2814714655692159de99
* Migrate to stestrMonty Taylor2020-06-064-11/+14
| | | | | | testr isn't what we use anymore. Change-Id: I4cb8b9ca41da6efd7053a5a7bacfce1654a73576
* Remove python3.5Monty Taylor2020-06-062-3/+1
| | | | | | We had it here for stestr which has moved on. Change-Id: I5739d6b93e47b43ad3ec3726813cc706b8775157
* 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: I7fa3bef0c7acd2b1f781bf12cc5a653cbc51d8c5
* Switch to newer openstackdocstheme versionAndreas Jaeger2020-05-314-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 version. Using this version will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Disable openstackdocs_auto_name to use 'project' variable 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. 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. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I50caba24ba8d458e5061cf412b8f59e3815c58f7
* Merge "Add Python3 victoria unit tests"Zuul2020-05-271-1/+1
|\
| * 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: Ie01bb35edc35084a62804bf857daef42039ddc0c
* | Use unittest.mock instead of third party mockwu.chunyang2020-05-2713-17/+17
|/ | | | | | | we currently don't support py2 and py3 has removed mock to unittest module. Change-Id: I5c13f6d2edc219957f5902227497aa24249ea74e
* Re-add support for python 3.5ussuri-em3.1.0Monty Taylor2020-03-262-1/+3
| | | | | | | | cliff is used by stestr which is used by more things than just openstack projects - one of them being zuul which still supports python 3.5. Let's keep supporting 3.5 here for now. Change-Id: I14fca07853677d041215649cb55caf1e0dc49753
* Fix nested argument groups with ignore conflict handlerMark Goddard2020-02-202-30/+72
| | | | | | | | | | | | | | | | | Cliff provides an additional conflict handler for argparse - 'ignore'. To make this work it subclasses the argparse argument container classes and adds a handle_conflict_ignore method. It also overrides the group creation methods to return a subclassed argument group or mutually exclusive argument group objects. This works, until you add a nested argument group, at which point a standard argument group object is returned which does not support the ignore conflict handler. This change fixes the issue by returning subclassed group objects for nested groups. Change-Id: I517c61f24ba6194ff6181e115a3a23adbce3ea53 Story: 2005891 Task: 33749
* adding missing releasenote for the drop of py27 supportHervé Beraud2020-02-061-0/+5
| | | | Change-Id: I6b35d628b4d5d1d06d0ffc5925ee5d54e0005923
* [ussuri][goal] Drop python 2.7 support and testing3.0.0Andreas Jaeger2020-02-0410-58/+17
| | | | | | | | | | | | | | | 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 Cleanup setup.cfg, conf.py, and tox.ini from cruft. Change-Id: Icb08c704cb5d0d8004d0a5408822c9d53ae9c728
* Merge "Add autoprogram_cliff_app_dist_name config opt"2.18.0Zuul2019-12-183-2/+16
|\
| * Add autoprogram_cliff_app_dist_name config optEric Fried2019-11-143-2/+16
| | | | | | | | | | | | | | | | | | This allows consumers to let cliff know who they are, so the autoprogram-sphinx directive doesn't produce messages like This command is provided by the $me plugin. Change-Id: I2d5a527910ddc64f83d0cba39c584b8b05a299b7
* | Merge "Add contributors link to readme"Zuul2019-12-061-0/+1
|\ \
| * | Add contributors link to readmekangyufei2019-10-181-0/+1
| |/ | | | | | | Change-Id: I037881da281cb080d86c6e2fe9f32ae0d67ef2b5
* | Switch to Ussuri jobsxuanyandong2019-10-251-1/+1
|/ | | | Change-Id: Ib24f25c135610674f584a6205bbbea5a6cec361b
* Merge "Allow finding command by partial name"Zuul2019-10-022-1/+76
|\
| * Allow finding command by partial name2.17.0Andrey Volkov2018-03-152-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This small improvement helps to decrease the amount of typing. $ openstack resource provider list ... ^ too long? $ alias os=openstack $ os r p l ... ^ much better! Change-Id: I713eab2bd9f949da01c03b65ff16a01de92e3e62
* | Merge "Add an errexit attribute to InteractiveApp to exit on command errors"Zuul2019-10-024-21/+55
|\ \
| * | Add an errexit attribute to InteractiveApp to exit on command errorsDean Troyer2019-05-044-21/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only affects interactive mode. The desire is to enable a behaviour similar to the shell's set +errexit. To do this required changing function returns in a number of places in order to propogate the exit code back up to the app. Change-Id: I1f2606cb43c8064e465e87d6801ed8d169daa26a
* | | Merge "Modify the help message of `-c`/`--column` parameter"Zuul2019-10-021-1/+2
|\ \ \
| * | | Modify the help message of `-c`/`--column` parameteryanpuqing2019-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users ues `-c`/`--column` parameter in the wrong way, such as: --column='ID Name' --column='ID:Name' --column='ID,Name' The patch modifies the help message of `-c`/`--column` parameter to indicate the correct use of the parameter. Change-Id: I7a5082ea6cbb91e2c5d3348f5a52558aab09d820 Task: 29052 Story: 2004845
* | | | Merge "Stop wildcard importing argparse"Zuul2019-09-232-24/+24
|\ \ \ \
| * | | | Stop wildcard importing argparseStephen Finucane2019-05-092-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no point in doing this when we only need two things from the module. Better to just centralize what we need to do with argparse in here. Change-Id: I3e8264f689f128d48042ba88c231351e5ab02b42 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "Pin cmd2 back to <0.9 on all versions"train-em2.16.0Zuul2019-09-063-4/+5
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Pin cmd2 back to <0.9 on all versionsMonty Taylor2019-09-033-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmd2 is now also broken on python3. Change-Id: Ib72830b26aabfd8244196be562f925fd76080dd9 Depends-On: https://review.openstack.org/629269
* | | | | Add Python 3 Train unit testsCorey Bryant2019-07-053-3/+3
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I5b08ef6ac98eb4650a2f3df5cb559144172fb29c Story: #2005924 Task: #34232
* | | | Merge "Remove dead files"2.15.0Zuul2019-05-053-180/+0
|\ \ \ \
| * | | | Remove dead filesStephen Finucane2018-10-193-180/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MANIFEST files aren't needed when using pbr, while the Makefiles have since been replace by infra's release tooling (for release) and tox (for docs). Change-Id: I2a7ac86c8a9b07fe6e35be1f0ac552ef77d17bfd Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "Missing carriage return in some cases, using -f json"Zuul2019-05-051-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Missing carriage return in some cases, using -f jsonYossi Ovadia2019-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes-Bug #1674213 Change-Id: Id897d890c1c2fa2a7234e057e4d5c3dd4d8d55e6
* | | | | Merge "Updates for OpenDev transition"Zuul2019-05-043-3/+3
|\ \ \ \ \
| * | | | | Updates for OpenDev transitionDean Troyer2019-04-214-4/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Change-Id: If5a40b37102d4f729c5eb5a0316f7e3857afe151 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
* | | | | Merge "Dropping the py35 testing"Zuul2019-05-043-3/+2
|\ \ \ \ \
| * | | | | Dropping the py35 testingGhanshyam Mann2019-04-223-3/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: I56c541c6afda611d10bb6d30af9aa6a86cf948c6
* | | | | Merge "Change openstack-dev to openstack-discuss"Zuul2019-05-041-1/+1
|\ \ \ \ \
| * | | | | Change openstack-dev to openstack-discussmelissaml2018-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I586425c1e65a9dd1c3a0a82ba7de4cc63e9892d9
* | | | | | Merge "add argparse conflict handler "ignore""Zuul2019-05-043-5/+106
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | add argparse conflict handler "ignore"Doug Hellmann2018-02-013-5/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update our version of ArgumentParser with a conflict resolution handler called "ignore" to ignore options from commands if they would conflict with options already registered. An error is reported if the action associated with the option would not be registered at all because all of its names conflict. A warning is reported for each option string that is being ignored. Change-Id: I99c62d5772017333136527f7f509c776623641a1 Signed-off-by: Doug Hellmann <doug@doughellmann.com>