summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Train-Only] Remove lower-constraintsstable/trainStephen Finucane2022-02-013-50/+6
| | | | | | | | | | | | | | | | | 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'. Depends-On: https://review.opendev.org/c/openstack/devstack/+/827155/ Change-Id: Ib4784d9da96d05a54acdfbb3744af0cb053c0c6c Signed-off-by: Stephen Finucane <sfinucan@redhat.com> (cherry picked from commit b04cba81ac966717472ae714b6c65c9cc7535978) (cherry picked from commit 37ce807c09fb1dd5770d84b1c8b4d4fd8a2270dc) (cherry picked from commit 64b388737983e3aa9c6f0f9dcc1eb71f78038bdc)
* Adding upper constraint on bandit as it isn't covered by openstack constraintJiri Podivin2022-01-281-1/+1
| | | | | | | | | | | | | | | The bandit package has moved on from python 2.7 starting with verions 1.7.0[0]. Since it isn't covered in the upper constraints file provided by the openstack/requirements[1] the relevant jobs are likely to fail. This patch imposes upper constraint on the package, set to the last released version compatible with python 2.7. [0] https://pypi.org/project/bandit/1.7.0/ [1] https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I8e58a7814dd49639ea0e8182add58d2c4ee64e1c
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-09-201-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/train branch, tests will continue to use the upper-constraints list on master. Change-Id: If68f6e31fb95b24d9d5257944956f73e69757e55
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-201-0/+1
| | | | Change-Id: I1f7b58d5e70e95dbb3285829ab00c97def883995
* 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>
* | | | | OpenDev Migration PatchOpenDev Sysadmins2019-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* | | | | add python 3.7 unit test jobZhongShengping2019-02-191-0/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Change-Id: I0ce84d2a4223f023e49844f79726a23d7dfac647 Story: #2004073 Task: #27438
* | | | Use template for lower-constraintsstein-em2.14.1Andreas Jaeger2018-12-201-5/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups: * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: I3ac60529bd647f3f872f113577a710b611e300be Needed-By: https://review.openstack.org/623229
* | | Don't try to run issubclass on non-classes2.14.0Monty Taylor2018-10-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issubclass gets cranky if you give it a first argument that is not a class. http://logs.openstack.org/74/612474/2/check/cross-osc-build-sphinx-docs/42250a7/job-output.txt.gz#_2018-10-26_08_02_08_597700 Shows a failure when trying to build python-openstackclient docs with the cliff sphinxext after updating openstacksdk in such a way that an import error went away. Change-Id: Id1d17c66e5dd6e430376a8d6ea74abc4da5cbc75
* | | Removed unused err variableTony Breeds2018-10-311-1/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Frankly I don't know why this is now a problem but pep8 is failing[1] with: cliff/app.py:403:9: F841 local variable 'err' is assigned to but never used It looks to me like the 'err' in the except path is causing this to be shadowed and unused? [1] http://logs.openstack.org/18/614218/2/check/openstack-tox-pep8/9930eb3/job-output.txt.gz#_2018-10-30_16_34_38_436438 Change-Id: I4760942aef3e41fbaeabb8e88ac198fff3dfb709
* | add lib-forward-testing-python3 test jobqingszhao2018-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a functional test job running under Python 3 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I0d43d5fd505f46f932a832d4c75fab2143f99b5d Story: #2002586 Task: #24320
* | add python 3.6 unit test jobqingszhao2018-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Id473c1345b4890871fb9aca84c734cc1d6a6f72f Story: #2002586 Task: #24320
* | switch documentation job to new PTIqingszhao2018-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I8ccac0285dfa8f6adf878eaa3f6c073b7df2549d Story: #2002586 Task: #24320
* | import zuul job settings from project-configqingszhao2018-08-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: If1920766a7ad0c079cd8df0d03baa2d478768870 Story: #2002586 Task: #24320
* | Merge "Assure executable name is kept when app is called as module"rocky-em2.13.0Zuul2018-06-292-1/+10
|\ \
| * | Assure executable name is kept when app is called as moduleSorin Sbarnea2018-06-282-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Detects module name if needed - Updates demoapp Change-Id: Ie0cd9d507fcb4c32ab98e51f61741d529ff41cac Closes-Bug: 1779218 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
* | | Merge "Build universal wheels"Zuul2018-06-291-0/+2
|\ \ \ | |/ / |/| |
| * | Build universal wheelsNicola Soranzo2018-06-121-0/+2
| | | | | | | | | | | | | | | | | | | | | See https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels Closes-Bug: #1760157 Change-Id: I8c95ff5969e47189269ef44e021a3bb8ac32bb16
* | | Merge "support cmd2 0.9.1 in interactive mode"2.12.1Zuul2018-06-201-5/+27
|\ \ \ | |/ / |/| |
| * | support cmd2 0.9.1 in interactive modeDoug Hellmann2018-05-311-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmd2 0.9.0 and later use a different type of parser and offers no backwards-compatibility. This change updates cliff to deal with the older and newer versions of cmd2 so we can continue to support python 2 for now. Change-Id: Id7a0395ada517f97834fc6fdd39fcc09077304c1 Fixes-Bug: #1774418 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | fix tox python3 overridesDoug Hellmann2018-06-061-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I6b107fce3daa8292b5fe6b5730a03008bf8987f0 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | update cmd2 dependency to handle py3 only versions2.12.0Matthew Thode2018-05-291-1/+2
| | | | | | | | | | | | | | | | cmd2 released a python3 only versions of itself. We need to update requirements to handle it. This updates requirements to match requirements. See https://review.openstack.org/570811 for more details. Change-Id: I3d527ba30205c9f3b3b2e89f795ee5611422c013
* | Merge "exclude cmd2 0.8.3 and update to 0.8.4"Zuul2018-05-041-1/+1
|\ \
| * | exclude cmd2 0.8.3 and update to 0.8.4Doug Hellmann2018-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.8.3 of cmd2 failed to properly specify a new dependency so installing it breaks interactive mode for OSC and other cliff-based apps. 0.8.4 fixes the issue. Change-Id: I8bbd749e3328596fd333bd7f58391b9d688c00cf Depends-On: https://review.openstack.org/560120 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | Remove travis.ymlStephen Finucane2018-05-031-8/+0
|/ / | | | | | | | | | | | | It's been a long time since we used Travis for testing. Change-Id: I3b352d40f8186a6ae60a07ce1d14c349516381e2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | add lower-constraints jobDoug Hellmann2018-04-094-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. Update the lower bound for PrettyTable so the unit tests pass. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Ia146248b505e66adf871d17ae1e4921d7888bb85 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Updated from global requirements"Zuul2018-03-263-4/+4
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2018-03-153-4/+4
| | | | | | | | | | | | Change-Id: Ic10fe257544d9c0114a466be11588570377e2049
* | | Merge "Remove the warning of getargspec removal"Zuul2018-03-264-6/+14
|\ \ \
| * | | Remove the warning of getargspec removalHongbin Lu2018-03-144-6/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method getargspec is deprecated and will be removed [1]. This produces a lot of deprecation warning in the logs which is noisy. This patch proposes to use getfullargspec if it is available. For python 2 compatibility, we need to fall back to getargspec. [1] https://docs.python.org/3/library/inspect.html#inspect.getargspec Change-Id: Ide7d9ca99e0edf23261b5d47f35766aaaac9059b
* | | fix typos in documentationmelissaml2018-03-231-2/+2
|/ / | | | | | | Change-Id: I86b08037d04f622770347c2b4d64ce62694e1f8a
* | Merge "Fix cmd2 doc URL"Zuul2018-03-101-1/+1
|\ \
| * | Fix cmd2 doc URLMasayuki Igawa2018-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | This commit fixes the cmd2 doc URL. The original URL doesn't work with 404 error now. Change-Id: Id249a67a705f66162ccfdf7dc65dd2bcec2a2a7b
* | | Align parsed() call with cmd2 versions >= 0.7.3Corey Bryant2018-03-061-1/+7
|/ / | | | | | | | | | | | | | | In version 0.7.3, cmd2 moved the parsed method from class Cmd() to class ParserManager(). Change-Id: Ie0c057ffaeaa05c4f5e0f3599aab850245c55066 Closes-Bug: #1751822
* | Merge "sphinxext: Warn if namespace or command pattern invalid"Zuul2018-02-091-0/+9
|\ \
| * | sphinxext: Warn if namespace or command pattern invalidStephen Finucane2018-01-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling the Sphinx extension with an invalid namespace or command pattern currently results in a silent failure. Correct this oversight by raising a warning, which will cause a build failure is 'warning-is-error' is enabled. Change-Id: I63d18c86931d752c3a680e84a69df53bc04e7dfd Signed-off-by: Stephen Finucane <sfinucan@redhat.com>