summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Monkey patch original current_thread _active"4.1.0Zuul2020-06-031-0/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Monkey patch original current_thread _activeArthur Dayne2020-05-081-0/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Monkey patch the original current_thread to use the up-to-date _active global variable. This solution is based on that documented at: https://github.com/eventlet/eventlet/issues/592 Change-Id: I876e2825da628d51c9977a4eec0c2ef05aed3229 Closes-Bug: #1863021
* | | Merge "Remove the unused coding style modules"Zuul2020-05-261-5/+0
|\ \ \
| * | | Remove the unused coding style modulesjacky062020-05-151-5/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt as they are not actually used in tests (other than pep8). more info: https://github.com/openstack/requirements/blob/master/blacklist.txt Change-Id: I3f45ef1d07cede583d79da008e0d32e57a97524d
* | | Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | | | | | | | | | Change-Id: I1ea1553bf48fe07406b7009dcf35812dd8c98b7b
* | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-184-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.0 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. Depends-On: https://review.opendev.org/728938 Change-Id: Ifd0f8e57c0052e5102aa914c8326159a72dad43c
* | | Merge "Remove six usage"Zuul2020-05-105-102/+50
|\ \ \
| * | | Remove six usageAndreas Jaeger2020-05-095-102/+50
| |/ / | | | | | | | | | | | | | | | Remove the usage of six, the python2-python3 compatibility lib. Change-Id: I56e479d0749504d65be1cf2b5235d454b0b90a1a
* | | Remove babel.cfg etcAndreas Jaeger2020-05-092-15/+0
|/ / | | | | | | | | | | | | Remove babel.cfg and the translation bits from setup.cfg, those are not needed anymore. Change-Id: If499be5ddd217141d2527fbf9b20532590e5bd80
* | Add py38 package metadataSean McGinnis2020-04-291-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: If65dde86d6c9d17a61c37945bf8f53136e22b611 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Imported Translations from ZanataOpenStack Proposal Bot2020-04-291-2/+6
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I87ec1f7fc4fb7a70b748905d5dad4e7ffc132aa8
* | 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: Ia2304240ac09a756249b5689e7fff9c829c7bc9a Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Add release notes links to doc indexHervé Beraud2020-04-161-0/+8
| | | | | | | | Change-Id: I894f621a66a745570a57a149f9033d0681f52d8c
* | Add Python3 victoria unit testsOpenStack Release Bot2020-04-141-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: I9282cffe860f11559a0a6a345e533c41f16bd0fe
* | Update master for stable/ussuriOpenStack Release Bot2020-04-142-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: I540a1fc2c509fff7cb92c34dc8fea50842252f5b Sem-Ver: feature
* | Use unittest.mock instead of third party mock4.0.2Sean McGinnis2020-03-313-3/+2
| | | | | | | | | | | | | | | | 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: I792a17f4b2667713503e6bc10cfabed9905d8535 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: I8bca364fdc4c09cbd34127de10fa31da47078b4f
* Merge "remove outdated header"4.0.1Zuul2020-02-131-1/+0
|\
| * remove outdated headerHervé Beraud2020-02-101-1/+0
| | | | | | | | Change-Id: Id0ec6cf94c5345aae8ca8b2567abe677b6db1b0b
* | trivial: Cleanup tox.iniHervé Beraud2020-02-111-6/+4
| | | | | | | | | | | | | | | | | | | | | | Update the minversion parameter to use the python -m pip to install python packages: https://tox.readthedocs.io/en/latest/changelog.html#id185 Also Inherit the jobs requirements to simplify maintainance. Change-Id: Icb5116908148dcbb58a7531bbed498d29ca1d2ea
* | ignore reno builds artifactsHervé Beraud2020-02-111-0/+2
|/ | | | Change-Id: Ib41540d1dca8fe81dc146c846c4b3fa42763c9f6
* Stop to build universal wheelHervé Beraud2020-02-031-3/+0
| | | | | | Remove forgotten bdist wheel config Change-Id: I527a088254035c227d66cac27516c59b2ca186ff
* Drop python 2.7 support and testing4.0.0Stephen Finucane2020-01-307-22/+10
| | | | | | | | Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: I94e709093e01825069b44b6c485e49a81f8f14c1 Sem-Ver: api-break
* Merge "Stop configuring install_command in tox."Zuul2020-01-201-2/+1
|\
| * Stop configuring install_command in tox.Hervé Beraud2020-01-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we are overriding 'install_command' to use 'pip'. This is considered poor behavior and 'python -m pip' should be used instead: https://snarky.ca/why-you-should-use-python-m-pip/ It turns out that this is the the default value provided by tox: https://tox.readthedocs.io/en/latest/config.html#conf-install_command So we can remove the line and simply use the default value. Also these changes introduce a new explicit env var related to eventlet testing to avoid misunderstand. Change-Id: I03b9b179c4cb6ea5a9a8d8c74af3502a0243ace6
* | Merge "tox: Trivial cleanup"Zuul2020-01-201-10/+3
|\ \ | |/
| * tox: Trivial cleanupHervé Beraud2020-01-081-10/+3
| | | | | | | | | | | | Move 'basepython' to the top-level 'testenv'. Change-Id: I2ab1eb99a61695bfbc7ecc66f215b1cb991007dd
* | Merge "Fix remove_lock test"Zuul2019-12-201-22/+29
|\ \ | |/ |/|
| * Fix remove_lock testGorka Eguileor2019-12-201-22/+29
| | | | | | | | | | | | | | | | | | | | Current external lock removal unit tests are not really testing the removal as they don't bother to check that we are calling os.remove This patch fixes this situation by mocking the appropriate methods and checking that they are being called (or not) as expected. Change-Id: I25efc1638106431ee36e760c0c213a1a675ec908
* | Merge "Spiff up docs for *_with_prefix"3.31.0Zuul2019-11-291-11/+34
|\ \
| * | Spiff up docs for *_with_prefixEric Fried2019-11-041-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following up on comments in [1], clarify and unify the docs for the following lockutils methods: - lock_with_prefix - synchronized_with_prefix - remove_external_lock_file_with_prefix [1] I4e723ee3be1e57c543684390b607c84388c6e930 Change-Id: I4179e8732dba7367bd0c835cbd11939ca7b8cc42
* | | Merge "Add lock_with_prefix convenience utility"Zuul2019-11-292-0/+32
|\ \ \ | |/ /
| * | Add lock_with_prefix convenience utilityEric Fried2019-09-172-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a convenience wrapper around the lockutils.synchronized decorator that lets oslo.concurrency consumers set up a prefix to use for all lock files (presumably to obviate collisions with other consumers when using jejune lock names, like 'lock'). This commit adds an equivalent wrapper around lockutils.lock, the context manager counterpart to the lockutils.synchronized decorator. Note that the unit test added for lock_with_prefix is pretty bare; but it follows the precedent set by the existing tests. Future commits should make all these tests more thorough/robust. Change-Id: I4e723ee3be1e57c543684390b607c84388c6e930
* | | Merge "Switch to Ussuri jobs"Zuul2019-10-281-1/+1
|\ \ \
| * | | Switch to Ussuri jobspengyuesheng2019-10-241-1/+1
| | |/ | |/| | | | | | | Change-Id: I74ac0f543f532031a9fd8e42e9a23b8b84185406
* | | tox: Keeping going with docscaoyuan2019-10-243-5/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | 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: Id12730272782a7cfda89cba79d40919e2a5ecd24
* | Merge "Bump the openstackdocstheme extension to 1.20"Zuul2019-10-174-16/+2
|\ \
| * | Bump the openstackdocstheme extension to 1.20pengyuesheng2019-10-124-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: Ia04d1de7e10783350e3aa091eab64d1cbd7f070a
* | | Document management and history of lock filesBen Nemec2019-10-152-0/+97
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Something that comes up regularly on the mailing list is the topic of leftover lock files from interprocess locks. An Oslo developer then has to explain why they work the way they do, and this is a not-inconsiderable time suck because it is a complex topic. This change adds an administrator guide that explains what should and should not be done with lock files, and provides an FAQ section to (hopefully) pre-emptively answer many of the common questions people ask. Change-Id: I5442806ef2f107e3b7569a79bffdc344769545b0
* | Blacklist sphinx 2.1.0 (autodoc bug)pengyuesheng2019-10-101-1/+1
| | | | | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details Change-Id: I9defdd3731950af42438ec96d0f1040fe1b5661d
* | Update the constraints urlpengyuesheng2019-09-291-1/+1
| | | | | | | | | | | | For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I2e16a74f601a36ecc71b8bda74ded42dac99bf52
* | 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: Ie17cfbe280e972a4b352f1a75fec9e4abb013937 Sem-Ver: feature
* Some test cleanupEric Fried2019-09-174-142/+88
| | | | | | | | | | | | | | - Tests are based on oslotest.base.BaseTestCase, which uses the NestedTempFile fixture, which uses the TempDir fixture, which adds a cleanup routine to remove the base temporary directory it creates. There's therefore no need for tests to clean up this directory, so all the code that does that is removed. - The eventlet incarnation of tests was trying to make use of the `env` external without whitelisting it, resulting in an ugly red deprecation warning. This commit adds `env` to whitelist_externals in [testenv]. - A handful of typos in the Beowulf quote are corrected. Change-Id: I91cc52e00e0a918dadd2a3a771bd322b0f165ed2
* Add Python 3 Train unit tests3.30.0Corey 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: Icdd6929f479b54599ddf19a8092947272d5c8b68 Story: #2005924 Task: #34234
* Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-05-193-7/+7
|\
| * Replace git.openstack.org URLs with opendev.org URLsjacky062019-05-053-7/+7
| | | | | | | | | | | | | | | | 1. Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. 2. dict_object.keys() is not required for *in* operator Change-Id: Ie1d0c828522ae92b01f28e7017fd7fd42c2e91e7
* | Cap Bandit below 1.6.0 and update Sphinx requirementBen Nemec2019-05-132-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: Ib340f5822b124e78cd96ee12f9f033d5f313e238 Reference: https://github.com/PyCQA/bandit/pull/489
* | Merge "Dropping the py35 testing"Zuul2019-05-032-2/+2
|\ \ | |/ |/|
| * Dropping the py35 testingGhanshyam Mann2019-04-152-2/+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: Idd5ceaf4d50d7181bce2859011b2a0c8206044d5
* | 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.