Accepting request 700963 from home:pgajdos
- version update to 1.2.0 * Only compile code in :ref:`codeblocks <codeblock-parser>` at evaluation time, giving :ref:`skip <skip-parser>` 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 <skip-parser>` parser. - deleted patches - sybil-pytest4.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/700963 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sybil?expand=0&rev=15
This commit is contained in:
parent
180f95e977
commit
54250010f6
@ -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 <codeblock-parser>` at evaluation time,
|
||||||
|
giving :ref:`skip <skip-parser>` 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 <skip-parser>` parser.
|
||||||
|
- deleted patches
|
||||||
|
- sybil-pytest4.patch (upstreamed)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 26 22:38:48 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Tue Mar 26 22:38:48 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sybil
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sybil
|
Name: python-sybil
|
||||||
Version: 1.0.9
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Automated testing of examples in documentation
|
Summary: Automated testing of examples in documentation
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/cjw296/sybil
|
Url: https://github.com/cjw296/sybil
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz
|
||||||
Patch0: sybil-pytest4.patch
|
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module pytest >= 3.5.0}
|
BuildRequires: %{python_module pytest >= 3.5.0}
|
||||||
BuildRequires: %{python_module setuptools-git}
|
BuildRequires: %{python_module setuptools-git}
|
||||||
@ -46,7 +45,6 @@ test runners.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sybil-%{version}
|
%setup -q -n sybil-%{version}
|
||||||
%patch0 -p1
|
|
||||||
sed -i '/build=/d;/coveralls/d' setup.py
|
sed -i '/build=/d;/coveralls/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:41d2f1dba8fd1d8ead5e9b1220b590fab8b0d1ca01d43da08555b1fb08d4d8e8
|
|
||||||
size 26379
|
|
3
sybil-1.2.0.tar.gz
Normal file
3
sybil-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:55280fa0d19501ff697f5fae290aa17a8ae28198244b2abe5dccb038094a1d6d
|
||||||
|
size 28720
|
@ -1,22 +0,0 @@
|
|||||||
From 6461d8156cfb68bd073ec613a5a516916e97e549 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Withers <chris@simplistix.co.uk>
|
|
||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user