Hello community, here is the log from the commit of package python-sybil for openSUSE:Factory checked in at 2018-08-12 20:56:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sybil (Old) and /work/SRC/openSUSE:Factory/.python-sybil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sybil" Sun Aug 12 20:56:02 2018 rev:3 rq:628740 version:1.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sybil/python-sybil.changes 2018-07-31 16:02:02.431815626 +0200 +++ /work/SRC/openSUSE:Factory/.python-sybil.new/python-sybil.changes 2018-08-12 20:56:08.169560293 +0200 @@ -1,0 +2,6 @@ +Sat Aug 11 09:15:40 UTC 2018 - tchva...@suse.com + +- Version update to 1.0.9: + * Support pytest-3.7 + +------------------------------------------------------------------- Old: ---- sybil-1.0.8.tar.gz New: ---- sybil-1.0.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sybil.spec ++++++ --- /var/tmp/diff_new_pack.JZEX2e/_old 2018-08-12 20:56:08.613561195 +0200 +++ /var/tmp/diff_new_pack.JZEX2e/_new 2018-08-12 20:56:08.613561195 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sybil -Version: 1.0.8 +Version: 1.0.9 Release: 0 Summary: Automated testing of examples in documentation License: MIT @@ -26,7 +26,6 @@ Url: https://github.com/cjw296/sybil Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module pkginfo} BuildRequires: %{python_module pytest} ++++++ sybil-1.0.8.tar.gz -> sybil-1.0.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/.travis.yml new/sybil-1.0.9/.travis.yml --- old/sybil-1.0.8/.travis.yml 2018-04-06 18:09:08.000000000 +0200 +++ new/sybil-1.0.9/.travis.yml 2018-08-01 08:42:42.000000000 +0200 @@ -5,8 +5,6 @@ python: - "2.7" - - "3.4" - - "3.5" - "3.6" install: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/PKG-INFO new/sybil-1.0.9/PKG-INFO --- old/sybil-1.0.8/PKG-INFO 2018-04-06 18:09:59.000000000 +0200 +++ new/sybil-1.0.9/PKG-INFO 2018-08-01 08:43:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sybil -Version: 1.0.8 +Version: 1.0.9 Summary: Automated testing for the examples in your documentation. Home-page: https://github.com/cjw296/sybil Author: Chris Withers @@ -24,8 +24,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 -Provides-Extra: test Provides-Extra: build +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/docs/changes.rst new/sybil-1.0.9/docs/changes.rst --- old/sybil-1.0.8/docs/changes.rst 2018-04-06 18:09:08.000000000 +0200 +++ new/sybil-1.0.9/docs/changes.rst 2018-08-01 08:42:42.000000000 +0200 @@ -1,6 +1,11 @@ Changes ======= +1.0.9 (1 Aug 2018) +------------------ + +- Fix for pytest 3.7+. + 1.0.8 (6 Apr 2018) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/setup.py new/sybil-1.0.9/setup.py --- old/sybil-1.0.8/setup.py 2018-04-06 18:09:08.000000000 +0200 +++ new/sybil-1.0.9/setup.py 2018-08-01 08:42:42.000000000 +0200 @@ -9,7 +9,7 @@ setup( name='sybil', - version='1.0.8', + version='1.0.9', author='Chris Withers', author_email='ch...@withers.org', license='MIT', @@ -23,8 +23,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], packages=find_packages(exclude=['tests', 'functional_tests']), @@ -34,7 +32,7 @@ test=[ 'coveralls', 'nose', - 'pytest', + 'pytest>=3.5.0', ], build=['sphinx', 'pkginfo', 'setuptools-git', 'twine', 'wheel'] ), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/sybil/integration/pytest.py new/sybil-1.0.9/sybil/integration/pytest.py --- old/sybil-1.0.8/sybil/integration/pytest.py 2018-04-06 18:09:08.000000000 +0200 +++ new/sybil-1.0.9/sybil/integration/pytest.py 2018-08-01 08:42:42.000000000 +0200 @@ -42,8 +42,16 @@ def request_fixtures(self, names): # pytest fixtures dance: fm = self.session._fixturemanager - names_closure, arg2fixturedefs = fm.getfixtureclosure(names, self) - fixtureinfo = FuncFixtureInfo(names, names_closure, arg2fixturedefs) + closure = fm.getfixtureclosure(names, self) + try: + initialnames, names_closure, arg2fixturedefs = closure + except ValueError: + # pytest < 3.7 + names_closure, arg2fixturedefs = closure + fixtureinfo = FuncFixtureInfo(names, names_closure, arg2fixturedefs) + else: + # pyest >= 3.7 + fixtureinfo = FuncFixtureInfo(names, initialnames, names_closure, arg2fixturedefs) self._fixtureinfo = fixtureinfo self.funcargs = {} self._request = fixtures.FixtureRequest(self) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/sybil.egg-info/PKG-INFO new/sybil-1.0.9/sybil.egg-info/PKG-INFO --- old/sybil-1.0.8/sybil.egg-info/PKG-INFO 2018-04-06 18:09:59.000000000 +0200 +++ new/sybil-1.0.9/sybil.egg-info/PKG-INFO 2018-08-01 08:43:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sybil -Version: 1.0.8 +Version: 1.0.9 Summary: Automated testing for the examples in your documentation. Home-page: https://github.com/cjw296/sybil Author: Chris Withers @@ -24,8 +24,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 -Provides-Extra: test Provides-Extra: build +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sybil-1.0.8/sybil.egg-info/requires.txt new/sybil-1.0.9/sybil.egg-info/requires.txt --- old/sybil-1.0.8/sybil.egg-info/requires.txt 2018-04-06 18:09:59.000000000 +0200 +++ new/sybil-1.0.9/sybil.egg-info/requires.txt 2018-08-01 08:43:23.000000000 +0200 @@ -9,4 +9,4 @@ [test] coveralls nose -pytest +pytest>=3.5.0