commit python-oslo.cache for openSUSE:Factory
Hello community, here is the log from the commit of package python-oslo.cache for openSUSE:Factory checked in at 2019-05-03 22:42:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.cache (Old) and /work/SRC/openSUSE:Factory/.python-oslo.cache.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-oslo.cache" Fri May 3 22:42:00 2019 rev:7 rq:692852 version:1.33.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.cache/python-oslo.cache.changes 2019-02-26 22:18:46.994142420 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.cache.new.5148/python-oslo.cache.changes 2019-05-03 22:42:04.323196684 +0200 @@ -1,0 +2,26 @@ +Mon Apr 8 11:11:58 UTC 2019 - cloud-devel@suse.de + +- update to version 1.33.2 + - Update mailinglist from dev to discuss + - Drop expired connections before retrieving from the queue + - fix tox python3 overrides + - Config dict arguments.url must be a list + - Update the requirements to match global-requirements for dogpile.cache + - Switch to stestr + - tox: Fix typo + - uncap dogpile + - Fix memcache pool client in monkey-patched environments + - Imported Translations from Zanata + - Always build universal wheels + - Update reno for stable/rocky + - Clean up .gitignore references to personal tools + - Add release notes link to README + - Don't quote {posargs} in tox.ini + - Use template for lower-constraints + - add lib-forward-testing-python3 test job + - add python 3.6 unit test job + - Only split url arg with memcache backend + - import zuul job settings from project-config + - fix dogpile.cache issue due to the new usage of decorate in the lib + +------------------------------------------------------------------- Old: ---- oslo.cache-1.30.3.tar.gz New: ---- oslo.cache-1.33.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.cache.spec ++++++ --- /var/tmp/diff_new_pack.Iln0tV/_old 2019-05-03 22:42:05.007198124 +0200 +++ /var/tmp/diff_new_pack.Iln0tV/_new 2019-05-03 22:42:05.007198124 +0200 @@ -17,13 +17,13 @@ Name: python-oslo.cache -Version: 1.30.3 +Version: 1.33.2 Release: 0 Summary: Cache storage for Openstack projects License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/%{sname} -Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-1.30.... +Source0: https://files.pythonhosted.org/packages/source/o/oslo.cache/oslo.cache-1.33.... BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python2-dogpile.cache >= 0.6.2 @@ -38,7 +38,6 @@ BuildRequires: python2-python-memcached BuildRequires: python2-six >= 1.10.0 BuildRequires: python2-stestr -BuildRequires: python2-testrepository BuildRequires: python3-devel BuildRequires: python3-dogpile.cache >= 0.6.2 BuildRequires: python3-mock @@ -52,7 +51,6 @@ BuildRequires: python3-python-memcached BuildRequires: python3-six >= 1.10.0 BuildRequires: python3-stestr -BuildRequires: python3-testrepository Requires: python-dogpile.cache >= 0.6.2 Requires: python-oslo.config >= 5.2.0 Requires: python-oslo.i18n >= 3.15.3 @@ -80,9 +78,8 @@ Documentation for the OpenStack Oslo cache library. %prep -%autosetup -p1 -n oslo.cache-1.30.3 +%autosetup -p1 -n oslo.cache-1.33.2 %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} @@ -91,7 +88,7 @@ %{python_install} # generate html docs -PBR_VERSION=1.30.3 sphinx-build -b html doc/source doc/build/html +PBR_VERSION=1.33.2 sphinx-build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Iln0tV/_old 2019-05-03 22:42:05.079198276 +0200 +++ /var/tmp/diff_new_pack.Iln0tV/_new 2019-05-03 22:42:05.079198276 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/oslo.cache/oslo.cache.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslo.cache/oslo.cache.spec.j2</param> <param name="output-name">python-oslo.cache.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.cache/stable/rocky/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.cache/stable/stein/requirements.txt</param> <param name="changelog-email">cloud-devel@suse.de</param> <param name="changelog-provider">gh,openstack,oslo.cache</param> </service> ++++++ oslo.cache-1.30.3.tar.gz -> oslo.cache-1.33.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/.zuul.yaml new/oslo.cache-1.33.2/.zuul.yaml --- old/oslo.cache-1.30.3/.zuul.yaml 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/.zuul.yaml 2019-03-01 15:41:31.000000000 +0100 @@ -1,15 +1,12 @@ - project: - check: - jobs: - - openstack-tox-lower-constraints - gate: - jobs: - - openstack-tox-lower-constraints templates: - - openstack-python-jobs - - publish-openstack-docs-pti - check-requirements - - openstack-python35-jobs - lib-forward-testing - - release-notes-jobs-python3 + - lib-forward-testing-python3 + - openstack-lower-constraints-jobs + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs - periodic-stable-jobs + - publish-openstack-docs-pti + - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/AUTHORS new/oslo.cache-1.33.2/AUTHORS --- old/oslo.cache-1.30.3/AUTHORS 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/AUTHORS 2019-03-01 15:43:49.000000000 +0100 @@ -16,11 +16,13 @@ Dolph Mathews <dolph.mathews@gmail.com> Dong Ma <winterma.dong@gmail.com> Doug Hellmann <doug@doughellmann.com> +Dougal Matthews <dougal@redhat.com> Eric Brown <browne@vmware.com> Eric Guo <eric.guo@easystack.cn> Eric Larson <eric.larson@rackspace.com> Flavio Percoco <flaper87@gmail.com> George Silvis, III <george.iii.silvis@gmail.com> +Hervé Beraud <hberaud@redhat.com> Ilya Pekelny <ipekelny@mirantis.com> James E. Blair <jeblair@hp.com> Jamie Lennox <jamielennox@gmail.com> @@ -38,6 +40,7 @@ Lars Butler <Lars.Butler@gmail.com> Luong Anh Tuan <tuanla@vn.fujitsu.com> Matt Riedemann <mriedem@us.ibm.com> +Matthew Thode <mthode@mthode.org> Monty Taylor <mordred@inaugust.com> Morgan Fainberg <m@metacloud.com> Morgan Fainberg <morgan.fainberg@gmail.com> @@ -48,10 +51,12 @@ Sai Krishna <saikrishna1511@gmail.com> Sean McGinnis <sean.mcginnis@huawei.com> Sergey Nikitin <snikitin@mirantis.com> +Stephen Finucane <stephenfin@redhat.com> Steve Martinelli <stevemar@ca.ibm.com> Swapnil Kulkarni (coolsvap) <me@coolsvap.net> Tony Breeds <tony@bakeyournoodle.com> Tovin Seven <vinhnt@vn.fujitsu.com> +Vieri <15050873171@163.com> Vincent Untz <vuntz@suse.com> Vu Cong Tuan <tuanvc@vn.fujitsu.com> Yuriy Taraday <yorik.sar@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/ChangeLog new/oslo.cache-1.33.2/ChangeLog --- old/oslo.cache-1.30.3/ChangeLog 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/ChangeLog 2019-03-01 15:43:49.000000000 +0100 @@ -1,18 +1,54 @@ CHANGES ======= -1.30.3 +1.33.2 ------ +* Fix memcache pool client in monkey-patched environments + +1.33.1 +------ + +* fix dogpile.cache issue due to the new usage of decorate in the lib + +1.33.0 +------ + +* uncap dogpile + +1.32.0 +------ + +* Update the requirements to match global-requirements for dogpile.cache +* Use template for lower-constraints + +1.31.2 +------ + +* Update mailinglist from dev to discuss * Only split url arg with memcache backend -1.30.2 +1.31.1 ------ * Config dict arguments.url must be a list +* Clean up .gitignore references to personal tools +* Don't quote {posargs} in tox.ini +* Always build universal wheels + +1.31.0 +------ + +* Imported Translations from Zanata +* Drop expired connections before retrieving from the queue +* add lib-forward-testing-python3 test job +* add python 3.6 unit test job * import zuul job settings from project-config +* Update reno for stable/rocky +* tox: Fix typo * Switch to stestr -* Update .gitreview for stable/rocky +* Add release notes link to README +* fix tox python3 overrides 1.30.1 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/PKG-INFO new/oslo.cache-1.33.2/PKG-INFO --- old/oslo.cache-1.30.3/PKG-INFO 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/PKG-INFO 2019-03-01 15:43:50.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 1.30.3 +Version: 1.33.2 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags @@ -36,9 +36,10 @@ * Free software: Apache license - * Documentation: https://docs.openstack.org/oslo.cache/latest - * Source: https://git.openstack.org/cgit/openstack/oslo.cache + * Documentation: https://docs.openstack.org/oslo.cache/latest/ + * Source: https://git.openstack.org/cgit/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache + * Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ Platform: UNKNOWN @@ -52,7 +53,7 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 -Provides-Extra: test +Provides-Extra: etcd3gw Provides-Extra: mongo +Provides-Extra: test Provides-Extra: dogpile -Provides-Extra: etcd3gw diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/README.rst new/oslo.cache-1.33.2/README.rst --- old/oslo.cache-1.30.3/README.rst 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/README.rst 2019-03-01 15:41:31.000000000 +0100 @@ -28,6 +28,7 @@ * Free software: Apache license -* Documentation: https://docs.openstack.org/oslo.cache/latest -* Source: https://git.openstack.org/cgit/openstack/oslo.cache +* Documentation: https://docs.openstack.org/oslo.cache/latest/ +* Source: https://git.openstack.org/cgit/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache +* Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo.cache.egg-info/PKG-INFO new/oslo.cache-1.33.2/oslo.cache.egg-info/PKG-INFO --- old/oslo.cache-1.30.3/oslo.cache.egg-info/PKG-INFO 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo.cache.egg-info/PKG-INFO 2019-03-01 15:43:49.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 2.1 Name: oslo.cache -Version: 1.30.3 +Version: 1.33.2 Summary: Cache storage for OpenStack projects. Home-page: https://docs.openstack.org/oslo.cache/latest Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags @@ -36,9 +36,10 @@ * Free software: Apache license - * Documentation: https://docs.openstack.org/oslo.cache/latest - * Source: https://git.openstack.org/cgit/openstack/oslo.cache + * Documentation: https://docs.openstack.org/oslo.cache/latest/ + * Source: https://git.openstack.org/cgit/openstack/oslo.cache/ * Bugs: https://bugs.launchpad.net/oslo.cache + * Release notes: https://docs.openstack.org/releasenotes/oslo.cache/ Platform: UNKNOWN @@ -52,7 +53,7 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 -Provides-Extra: test +Provides-Extra: etcd3gw Provides-Extra: mongo +Provides-Extra: test Provides-Extra: dogpile -Provides-Extra: etcd3gw diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo.cache.egg-info/SOURCES.txt new/oslo.cache-1.33.2/oslo.cache.egg-info/SOURCES.txt --- old/oslo.cache-1.30.3/oslo.cache.egg-info/SOURCES.txt 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo.cache.egg-info/SOURCES.txt 2019-03-01 15:43:50.000000000 +0100 @@ -74,6 +74,7 @@ releasenotes/source/ocata.rst releasenotes/source/pike.rst releasenotes/source/queens.rst +releasenotes/source/rocky.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo.cache.egg-info/pbr.json new/oslo.cache-1.33.2/oslo.cache.egg-info/pbr.json --- old/oslo.cache-1.30.3/oslo.cache.egg-info/pbr.json 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo.cache.egg-info/pbr.json 2019-03-01 15:43:49.000000000 +0100 @@ -1 +1 @@ -{"git_version": "5f42092", "is_release": true} \ No newline at end of file +{"git_version": "f4a25f6", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo_cache/_memcache_pool.py new/oslo.cache-1.33.2/oslo_cache/_memcache_pool.py --- old/oslo.cache-1.30.3/oslo_cache/_memcache_pool.py 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo_cache/_memcache_pool.py 2019-03-01 15:41:31.000000000 +0100 @@ -24,6 +24,10 @@ import threading import time +try: + import eventlet +except ImportError: + eventlet = None import memcache from oslo_log import log from six.moves import queue @@ -45,9 +49,17 @@ """ __delattr__ = object.__delattr__ __getattribute__ = object.__getattribute__ - __new__ = object.__new__ __setattr__ = object.__setattr__ + # Hack for lp 1812935 + if eventlet and eventlet.patcher.is_monkey_patched('thread'): + # NOTE(bnemec): I'm not entirely sure why this works in a + # monkey-patched environment and not with vanilla stdlib, but it does. + def __new__(cls, *args, **kwargs): + return object.__new__(cls) + else: + __new__ = object.__new__ + def __del__(self): pass @@ -123,6 +135,7 @@ @contextlib.contextmanager def acquire(self): self._trace_logger('Acquiring connection') + self._drop_expired_connections() try: conn = self.get(timeout=self._connection_get_timeout) except queue.Empty: @@ -135,7 +148,6 @@ yield conn finally: self._trace_logger('Releasing connection %s', id(conn)) - self._drop_expired_connections() try: # super() cannot be used here because Queue in stdlib is an # old-style class diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo_cache/tests/test_cache.py new/oslo.cache-1.33.2/oslo_cache/tests/test_cache.py --- old/oslo.cache-1.30.3/oslo_cache/tests/test_cache.py 2019-01-29 10:51:19.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo_cache/tests/test_cache.py 2019-03-01 15:41:31.000000000 +0100 @@ -97,7 +97,7 @@ self.config_fixture.conf, region, group='cache') @memoize - def cacheable_function(value=0): + def cacheable_function(value=0, **kw): return value return cacheable_function @@ -321,7 +321,7 @@ self.config_fixture.config(group='cache', enabled=True) self.assertRaises(ValueError, cacheable_function, - value=self.test_value) + value=0, foo=self.test_value) def test_kwarg_function_key_generator_no_kwargs(self): cacheable_function = self._get_cacheable_function( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/oslo_cache/tests/test_connection_pool.py new/oslo.cache-1.33.2/oslo_cache/tests/test_connection_pool.py --- old/oslo.cache-1.30.3/oslo_cache/tests/test_connection_pool.py 2019-01-29 10:51:19.000000000 +0100 +++ new/oslo.cache-1.33.2/oslo_cache/tests/test_connection_pool.py 2019-03-01 15:41:31.000000000 +0100 @@ -145,3 +145,20 @@ if field not in ('__dict__', '__weakref__'): self.assertNotEqual(id(getattr(thread_local, field, None)), id(getattr(client_class, field, None))) + + def test_can_create_with_kwargs(self): + """Test for lp 1812935 + + Note that in order to reproduce the bug, it is necessary to add the + following to the top of oslo_cache/tests/__init__.py:: + + import eventlet + eventlet.monkey_patch() + + This should happen before any other imports in that file. + """ + client = _memcache_pool._MemcacheClient('foo', check_keys=False) + # Make sure kwargs are properly processed by the client + self.assertFalse(client.do_check_key) + # Make sure our __new__ override still results in the right type + self.assertIsInstance(client, _memcache_pool._MemcacheClient) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/releasenotes/source/index.rst new/oslo.cache-1.33.2/releasenotes/source/index.rst --- old/oslo.cache-1.30.3/releasenotes/source/index.rst 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/releasenotes/source/index.rst 2019-03-01 15:41:31.000000000 +0100 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + rocky queens pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po new/oslo.cache-1.33.2/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po --- old/oslo.cache-1.30.3/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2019-03-01 15:41:31.000000000 +0100 @@ -5,11 +5,11 @@ msgstr "" "Project-Id-Version: oslo.cache\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-01 22:20+0000\n" +"POT-Creation-Date: 2018-08-27 12:02+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2018-04-30 10:16+0000\n" +"PO-Revision-Date: 2018-09-16 09:02+0000\n" "Last-Translator: Andi Chandler <andi@gowling.com>\n" "Language-Team: English (United Kingdom)\n" "Language: en_GB\n" @@ -50,6 +50,9 @@ msgid "Queens Series Release Notes" msgstr "Queens Series Release Notes" +msgid "Rocky Series Release Notes" +msgstr "Rocky Series Release Notes" + msgid "Switch to reno for managing release notes." msgstr "Switch to reno for managing release notes." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/releasenotes/source/rocky.rst new/oslo.cache-1.33.2/releasenotes/source/rocky.rst --- old/oslo.cache-1.30.3/releasenotes/source/rocky.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.cache-1.33.2/releasenotes/source/rocky.rst 2019-03-01 15:41:31.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Rocky Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/rocky diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/setup.cfg new/oslo.cache-1.33.2/setup.cfg --- old/oslo.cache-1.30.3/setup.cfg 2019-01-29 10:53:26.000000000 +0100 +++ new/oslo.cache-1.33.2/setup.cfg 2019-03-01 15:43:50.000000000 +0100 @@ -4,7 +4,7 @@ description-file = README.rst author = OpenStack -author-email = openstack-dev@lists.openstack.org +author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/oslo.cache/latest classifier = Environment :: OpenStack @@ -53,7 +53,7 @@ mapping_file = babel.cfg output_file = oslo_cache/locale/oslo_cache.pot -[wheel] +[bdist_wheel] universal = true [egg_info] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.cache-1.30.3/tox.ini new/oslo.cache-1.33.2/tox.ini --- old/oslo.cache-1.30.3/tox.ini 2019-01-29 10:51:24.000000000 +0100 +++ new/oslo.cache-1.33.2/tox.ini 2019-03-01 15:41:31.000000000 +0100 @@ -36,9 +36,11 @@ bandit -r oslo_cache -x tests -n5 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:docs] +basepython = python3 whitelist_externals = rm deps = -r{toxinidir}/doc/requirements.txt commands = @@ -48,9 +50,9 @@ [testenv:cover] basepython = python3 setenv = - PYTHON=coverage run --source $project --parallel-mode + PYTHON=coverage run --source oslo_cache --parallel-mode commands = - stestr run '{posargs}' + stestr run {posargs} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml @@ -65,6 +67,7 @@ import_exceptions = [testenv:releasenotes] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
participants (1)
-
root