diff --git a/python-sybil.changes b/python-sybil.changes index b72786c..94346a7 100644 --- a/python-sybil.changes +++ b/python-sybil.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Dec 13 04:11:03 UTC 2021 - Steve Kowalik + +- 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 diff --git a/python-sybil.spec b/python-sybil.spec index 6db6f7e..5cd72f7 100644 --- a/python-sybil.spec +++ b/python-sybil.spec @@ -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 diff --git a/sybil-2.0.1.tar.gz b/sybil-2.0.1.tar.gz deleted file mode 100644 index 888561d..0000000 --- a/sybil-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:597d71e246690b9223c132f0ed7dcac470dcbe9ad022004a801e108a00dc3524 -size 29316 diff --git a/sybil-3.0.0.tar.gz b/sybil-3.0.0.tar.gz new file mode 100644 index 0000000..a345d95 --- /dev/null +++ b/sybil-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7692ed66e793e5e79ae6a70cf2cf861917ed48eaff0d8adf825e64d85820f251 +size 38011