- Update to 3.0.0:
* Require pytest 6.2.0. * Drop Python 2 support. * Add support for Python 3.10 * Remove the encoding parameter to :class:`~sybil.parsers.doctest.DocTestParser` as it is no longer used. * :class:`~sybil.parsers.codeblock.CodeBlockParser` has been renamed to :class:`~sybil.parsers.codeblock.PythonCodeBlockParser`, see the :ref:`codeblock-parser` documentation for details. * Support has been added to check examples in Python source code in addition to documentation source files. * :attr:`~sybil.parsers.doctest.FIX_BYTE_UNICODE_REPR` has been removed as it should no longer be needed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sybil?expand=0&rev=25
This commit is contained in:
parent
f7bc4ff528
commit
fd28f930b2
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 04:11:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 3.0.0:
|
||||
* Require pytest 6.2.0.
|
||||
* Drop Python 2 support.
|
||||
* Add support for Python 3.10
|
||||
* Remove the encoding parameter to
|
||||
:class:`~sybil.parsers.doctest.DocTestParser` as it is no longer used.
|
||||
* :class:`~sybil.parsers.codeblock.CodeBlockParser` has been renamed to
|
||||
:class:`~sybil.parsers.codeblock.PythonCodeBlockParser`, see the
|
||||
:ref:`codeblock-parser` documentation for details.
|
||||
* Support has been added to check examples in Python source code in
|
||||
addition to documentation source files.
|
||||
* :attr:`~sybil.parsers.doctest.FIX_BYTE_UNICODE_REPR` has been removed
|
||||
as it should no longer be needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 19:14:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -17,15 +17,15 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-sybil
|
||||
Version: 2.0.1
|
||||
Version: 3.0.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
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest >= 6.2}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524
|
||||
size 29316
|
3
sybil-3.0.0.tar.gz
Normal file
3
sybil-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7692ed66e793e5e79ae6a70cf2cf861917ed48eaff0d8adf825e64d85820f251
|
||||
size 38011
|
Loading…
Reference in New Issue
Block a user