summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [stable-only] Cap virtualenv for py37stable/ussuriElod Illes2022-09-142-1/+4
| | | | | | | | | | | | | | py37 test started to fail with latest virtualenv (20.16.4) as it bundles setuptools 65.3.0, which causes installation problems under py37. (Note: with py38 the problem does not occur). This patch sets virtualenv<20.16.4 to unblock the gate as virtualenv 20.16.3 bundles setuptools 63.4.1, with which py37 gate works well. NOTE(stephenfin): Modified to remove the (failing) l-c job. Change-Id: I845dca676e1c1e1b3961e8777098a48a6203833e
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuriOpenStack Release Bot2020-04-141-2/+2
| | | | | | | | | | | | 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/ussuri branch, tests will continue to use the upper-constraints list on master. Change-Id: I2e59fc73e860971188b22b4e23bd9ba97aeb3ac1
* Update .gitreview for stable/ussuriOpenStack Release Bot2020-04-141-0/+1
| | | | Change-Id: I153e218c600e78ac01a08a077fcc240faa208365
* Use unittest.mock instead of third party mockussuri-em4.0.1Sean McGinnis2020-03-319-12/+11
| | | | | | | | 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: I597461bc2ce6a480ea18950ded606ef7db717f2d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update hacking for Python3Andreas Jaeger2020-03-302-2/+2
| | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Blacklist: W504 line break after binary operator Change-Id: I8081a5f723c6b9fda65d72567fa1514f760c47da
* remove outdated header4.0.0Hervé Beraud2020-02-111-1/+0
| | | | Change-Id: I82a5e0a0c517601a93ef8c1e6d4ac0e9764e85ac
* [ussuri][goal] Drop python 2.7 support and testingHervé Beraud2020-02-067-60/+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: I340a7909c49e7d2a8c82c668cbdaf9ced7196f67 Sem-Ver: api-break
* Merge "tox: Trivial cleanup"Zuul2020-01-301-11/+3
|\
| * tox: Trivial cleanupHervé Beraud2020-01-081-11/+3
| | | | | | | | | | | | | | | | | | Move 'basepython' to the top-level 'testenv'. Use the default 'install_command' https://tox.readthedocs.io/en/latest/config.html#conf-install_command Change-Id: I36ef5b39b48e259b51f2bb03caf3443d8969c1e9
* | Merge "Integrate sphinxcontrib-apidoc"Zuul2020-01-096-84/+26
|\ \
| * | Integrate sphinxcontrib-apidocStephen Finucane2019-12-176-84/+26
| |/ | | | | | | | | | | | | | | This was missed in change Ice407c712b5438b06c4f439c73946640a0c5a86d. While we're here, we clean up some other bits of mess that were left behind by that. Change-Id: Id061758834eaf266766ab7344c4547fce4261e89
* | Imported Translations from Zanata3.25.1OpenStack Proposal Bot2019-12-221-2/+9
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I28c524de7a6c29f06c042d47db5589ac64d53022
* tox: Keeping going with docs3.25.0caoyuan2019-10-243-5/+9
| | | | | | | | | | | | Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: If8c19a7d5d2a6ca089efb6c19d81a277aba7f06d
* Merge "Update master for stable/train"Zuul2019-10-102-0/+7
|\
| * Update master for stable/trainOpenStack Release Bot2019-09-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: Ie9ccc68184b4a1a2b3e1301eb1bb8ce30fd682dd Sem-Ver: feature
* | Deprecate Message.translate in favor of Message.translationBen Nemec2019-08-293-52/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It shadows the unicode function of the same name, and there's no way to entirely disambiguate the two based on the parameter passed in. This change deprecates Message.translate and makes it a wrapper around the new function, Message.translation. Note that we never documented calling Message.translate directly. The documented way to get the translated form of a Message is to call the _translate.translate function in this project, so chances are that this public API change will have little actual impact on users. Change-Id: I0c617937f5af7467d1454f72acd0474ae2ce0293 Closes-Bug: 1841796
* | Allow Message.translate to handle unhashable inputsBen Nemec2019-08-282-0/+35
|/ | | | | | | | | | | | | | | | | | | | | We made a mistake with the API of the Message class and shadowed the built-in function 'translate' from the unicode class that it inherits from. This means that our translate may be called with things like dicts and lists that are not hashable, which is problematic because we use that value as a dict key. Unhashable types are not allowed as dict keys so this fails. While ideally we would address this shadowing by renaming our version of translate, it is part of the public API of the library and thus we can't just change it arbitrarily. As a partial fix, this change adds a type check on the input parameter, and if it finds a type other than a string it calls the superclass's implementation of translate instead. This should handle most common uses of the stdlib translate, but since technically it is possible to use a string as input to that as well it doesn't fully address the problem. Change-Id: Ie68cba6af19d11de8968ee80ac10107f488acb92 Partial-Bug: 1841796
* Merge "Move doc related modules to doc/requirements.txt"train-em3.24.0Zuul2019-08-124-7/+20
|\
| * Move doc related modules to doc/requirements.txtAdam Spiers2019-07-054-7/+20
| | | | | | | | Change-Id: Ice407c712b5438b06c4f439c73946640a0c5a86d
* | Merge "Add Python 3 Train unit tests"Zuul2019-07-143-3/+3
|\ \
| * | 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: I096444f0329f5b239d7c16744d7107b4a5685888 Story: #2005924 Task: #34234
* | Merge "Move to releases.openstack.org"Zuul2019-07-081-1/+1
|\ \ | |/ |/|
| * Move to releases.openstack.orgtonybrad2019-06-121-1/+1
| | | | | | | | Change-Id: I16fa31a5b898cb389d9d0b333275f1c84dee4da3
* | Clarify that translation strings are extracted via source inspectionAdam Spiers2019-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | Make it clearer why the function argument to _() etc. has to be a string, by explicitly mentioning source inspection, as suggested by Doug: https://review.opendev.org/#/c/664670/1/doc/source/user/guidelines.rst@164 Change-Id: I87212a709b9e474238f4a4feca5ed806cfb4bd49
* | Fix guidelines w.r.t. translation of log messagesAdam Spiers2019-06-121-88/+42
|/ | | | | | | | | | | | | | | | Translation of log messages was ceased starting with Pike, but these guidelines were only partially updated (by Ia34ad79ca9), with a small warning block buried in the middle of a long page of unchanged guidelines which it somewhat contradicted. So update the rest of the page to align with current best practices in order to avoid confusion. Also summarise the primary reasons for the change in policy, so that curious readers don't have to trawl through long email threads to find out. Change-Id: Ib86013ff5e7bd07ddc696da2e4c56ce9d07f0cb6
* Merge "Dropping the py35 testing"Zuul2019-05-281-1/+1
|\
| * Dropping the py35 testingGhanshyam Mann2019-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I94852903895fd070b9a08727e09777fba8d12fc3
* | Cap Bandit below 1.6.0 and update Sphinx requirementBen Nemec2019-05-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bandit 1.6.0 accidentally changed how the exclusion list option is handled and breaks our use of it. Cap to the previous version until Bandit has fixed the problem. Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. Change-Id: Id9a875393e42d9fc54d8c571d368180fec122839 Reference: https://github.com/PyCQA/bandit/pull/489
* | Replace git.openstack.org URLs with opendev.org URLsjacky062019-04-242-2/+2
| | | | | | | | | | Change-Id: I3836f1c839ca36b320b3f42d724f594f2d7b12ee Closes-Bug: #1826196
* | OpenDev Migration PatchOpenDev Sysadmins2019-04-191-1/+1
|/ | | | | | | | | | | | | | | 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.
* Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I5149b6c307caa461d08b5d31812c23fd681259cb Sem-Ver: feature
* Merge "Change python3.5 job to python3.7 job on Stein+"stein-em3.23.1Zuul2019-02-192-2/+1
|\
| * Change python3.5 job to python3.7 job on Stein+Charles Short2019-02-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | python3.5 was the only supported python3 version on Xenial, now that we have Bionic Beaver nodes that support python3.7, lets switch to testing with python3.7 in addition with python3.6 in Stein and beyond. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135632.html Change-Id: Id1450a6396dfcbb9f23fe9ed495a157a076e9f85 Signed-off-by: Charles Short <chucks@redhat.com> Story: #2004073 Task: #27440
* | 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 Story: #2004073 Task: #27440 Change-Id: I9fe0735e253a473995eaccc37d56ad49d75b1815
* | Update hacking versionZhijunWei2019-02-132-2/+3
|/ | | | | | | Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: Ibf57026264450c427916e8fba25f67c9f7aaa84e Closes-Bug: #1815714
* Update mailinglist from dev to discussZhongShengping2018-12-051-1/+1
| | | | | | | openstack-dev was decomissioned this night in https://review.openstack.org/621258 Update openstack-dev to openstack-discuss Change-Id: I3aced52dd68bf66590ad10dec478c76a4bc46c92
* Override getttext.find to cache result3.23.0Thomas Herve2018-11-212-0/+36
| | | | | | | | This monkey patches gettext to cache the results of gettext.find. This allows to drastically reduces system calls made over time for checking the existence of mo files, which don't move. Change-Id: I1464f131b90123aab67ef45ae2a2685a3ba111ef
* Merge "Remove references to log translation functions"Zuul2018-10-291-19/+7
|\
| * Remove references to log translation functionsBen Nemec2018-09-121-19/+7
| | | | | | | | | | | | | | | | | | No new implementers of this library should be using the log-oriented marker functions, so we shouldn't be providing examples of them. This change removes them from the sample integration module and updates the usage examples to reflect the current best practices. Change-Id: I0ae89cb3500821465438ee1f5572ab5e3573044c
* | Don't quote {posargs} in tox.inimalei2018-10-211-1/+1
| | | | | | | | | | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Ie4d4b59ec6cf383875613b2fce6a7db0fdeab1db
* | Clean up .gitignore references to personal toolsZhongShengping2018-10-151-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developers run all sorts of different tools within Git repositories, any of which can leave their own special trashfiles all over the place. We can't every hope to catalog them all, so better to recommend developers simply configure a global core.excludesfile to filter the irrelevant files which tend to get created by their personal choice of tools. To this end, remove the long-standing sections for "Mr Developer" and "Editors" since their mere existence here sends the signal that we welcome (and have time to review) additions for any old tool someone ever might happen to try. Also add a comment block explaining this, for clarity. We can, and should of course, continue to list files created by the tools recommended by our workflow (test frameworks called from tox, documentation and packaging builds, et cetera). This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb from the openstack-dev/oslo-cookiecutter repository. Change-Id: Ib4f696da3881e9b3d2ebc4fe90f8daec39b0f10d
* | Merge "Always build universal wheels"Zuul2018-10-081-1/+1
|\ \
| * | Always build universal wheelsHervé Beraud2018-10-051-1/+1
| |/ | | | | | | | | | | | | All of our projects are pure python, so we can build universal wheels by default. Change-Id: If413df68ea4e3535f45e538c6dded4a2877edd99
* | Use templates for cover and lower-constraintsAndreas Jaeger2018-09-072-15/+15
|/ | | | | | | | | | | | | | | Use openstack-tox-cover template, this runs the cover job as non-voting in the check queue only. Use openstack-lower-constraints-jobs template Remove jobs that are part of the templates. Sort list of templates. Fix cover invocation in tox.ini. Change-Id: I3edb3d275a078b3be30c9a6f339fab9321601ec8
* Merge "add lib-forward-testing-python3 test job"3.22.13.22.0Zuul2018-08-271-0/+1
|\
| * add lib-forward-testing-python3 test jobDoug Hellmann2018-08-111-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: I3b55b19ec0bc6ff2a8bdd29102670e69411cbf80 Story: #2002586 Task: #24322
* | Remove unused codeChuck Short2018-08-211-4/+0
| | | | | | | | | | | | | | | | self.stubs and self.mox were left over from oslotest changes, so remove them. Change-Id: I00871c45672fadee9e93722543612b0bd9d76aea Signed-off-by: Chuck Short <chucks@redhat.com>
* | Imported Translations from ZanataOpenStack Proposal Bot2018-08-141-3/+6
|/ | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I32587e15cbfcffa24ed0d1f330e81d5c0b2d097a
* add python 3.6 unit test jobDoug Hellmann2018-08-071-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: Idc2e588d8936e541cb214613135f593ba67b17d1 Story: #2002586 Task: #24322
* import zuul job settings from project-configDoug Hellmann2018-08-031-0/+11
| | | | | | | | | | | | | | | 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. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ia9b835079a294f3a439f9a9813498824f2e7bd18 Story: #2003250