diff --git a/python-sybil.changes b/python-sybil.changes index 9737fa7..22fa1ba 100644 --- a/python-sybil.changes +++ b/python-sybil.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri May 3 11:20:28 UTC 2019 - pgajdos@suse.com + +- version update to 1.2.0 + * Only compile code in :ref:`codeblocks ` at evaluation time, + giving :ref:`skip ` a chance to skip code blocks that won't + compile on a particular version of Python. + * Add warning about the limitations of + :attr:`~sybil.parsers.doctest.FIX_BYTE_UNICODE_REPR`. + * Support explicit filenames to include and patterns to exclude + when instantiating a :class:`~sybil.Sybil`. + * Add the :ref:`skip ` parser. +- deleted patches + - sybil-pytest4.patch (upstreamed) + ------------------------------------------------------------------- Tue Mar 26 22:38:48 UTC 2019 - John Vandenberg diff --git a/python-sybil.spec b/python-sybil.spec index a68fc74..c1bdb58 100644 --- a/python-sybil.spec +++ b/python-sybil.spec @@ -1,7 +1,7 @@ # # spec file for package python-sybil # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sybil -Version: 1.0.9 +Version: 1.2.0 Release: 0 Summary: Automated testing of examples in documentation License: MIT Group: Development/Languages/Python Url: https://github.com/cjw296/sybil Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz -Patch0: sybil-pytest4.patch BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest >= 3.5.0} BuildRequires: %{python_module setuptools-git} @@ -46,7 +45,6 @@ test runners. %prep %setup -q -n sybil-%{version} -%patch0 -p1 sed -i '/build=/d;/coveralls/d' setup.py %build diff --git a/sybil-1.0.9.tar.gz b/sybil-1.0.9.tar.gz deleted file mode 100644 index 25f6fad..0000000 --- a/sybil-1.0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41d2f1dba8fd1d8ead5e9b1220b590fab8b0d1ca01d43da08555b1fb08d4d8e8 -size 26379 diff --git a/sybil-1.2.0.tar.gz b/sybil-1.2.0.tar.gz new file mode 100644 index 0000000..365ae31 --- /dev/null +++ b/sybil-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55280fa0d19501ff697f5fae290aa17a8ae28198244b2abe5dccb038094a1d6d +size 28720 diff --git a/sybil-pytest4.patch b/sybil-pytest4.patch deleted file mode 100644 index 2aeb66b..0000000 --- a/sybil-pytest4.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 6461d8156cfb68bd073ec613a5a516916e97e549 Mon Sep 17 00:00:00 2001 -From: Chris Withers -Date: Wed, 17 Oct 2018 11:57:55 +0100 -Subject: [PATCH] fix for latest pytest release - ---- - tests/test_functional.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_functional.py b/tests/test_functional.py -index 9eb5509..ccce93d 100644 ---- a/tests/test_functional.py -+++ b/tests/test_functional.py -@@ -27,7 +27,7 @@ def pytest_sessionfinish(self, session): - self.session = session - - results = CollectResults() -- return_code = pytest_main(['-vs', join(functional_test_dir, 'pytest')], -+ return_code = pytest_main(['-vvs', join(functional_test_dir, 'pytest')], - plugins=[results]) - assert return_code == 1 - assert results.session.testsfailed == 4