2024-05-08 06:24:44 +02:00
|
|
|
-------------------------------------------------------------------
|
2024-05-13 06:10:07 +02:00
|
|
|
Mon May 13 04:09:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
2024-05-08 06:24:44 +02:00
|
|
|
|
|
|
|
- Update to 6.1.0:
|
|
|
|
* Add support for lexing nested fenced codeblocks in markdown.
|
|
|
|
* Add support for tilde-delimited codeblocks in markdown.
|
|
|
|
* Fix bug with the end offset of codeblocks in markdown.
|
|
|
|
* Support pytest 8 and above, due to yet another breaking change in an API
|
|
|
|
Sybil relies on.
|
|
|
|
* Remove use of deprecated py.path.local.
|
|
|
|
* Fix lexing of ReST directives and directives-in-comments where the
|
|
|
|
directives were not separated by at least one newline.
|
|
|
|
* Official support for Python 3.12 with Python 3.7 now being the minimum
|
|
|
|
supported version.
|
|
|
|
* sybil.parsers.rest.lexers.DirectiveLexer and
|
|
|
|
sybil.parsers.myst.lexers.DirectiveLexer directives now have their
|
|
|
|
options extracted as part of the lexing process.
|
|
|
|
* Added support for MyST single-line html-style comment directives.
|
|
|
|
* Fixed parsing of MyST directive options with no leading whitespace.
|
|
|
|
* Fixed parsing of Markdown and MyST fenced codeblocks at the end of
|
|
|
|
documents with no trailing newline.
|
|
|
|
* Rework document evaluators to be more flexible and structured.
|
|
|
|
* :ref:`skip <skip-parser>` has been reworked to check validity of operations
|
|
|
|
and allow a reason to be provided for an unconditional skip so it can be
|
|
|
|
highlighted as a skipped test in test runner output. The skip parsers
|
|
|
|
are also now lexer-based.
|
|
|
|
* Make Region.evaluator optional, removing the need for the separate
|
|
|
|
LexedRegion class.
|
|
|
|
* Fix bug in traceback trimming on the latest release of pytest.
|
|
|
|
* Fixed bug in the repr of LexedRegion instances where a lexeme was None.
|
|
|
|
* Fixed lexing of ReST directives, such as :rst:dir:`code-block`, where they
|
|
|
|
occurred at the end of a docstring.
|
|
|
|
* Ensure the sybil.Document.namespace in which doctests are
|
|
|
|
evaluated always has a __name__. This is required by an implementation
|
|
|
|
detail of typing.runtime_checkable.
|
|
|
|
* Fix a bug that prevent r-prefixed docstrings from being correctly parsed
|
|
|
|
from .py files.
|
|
|
|
* The sybil.Document.namespace can now be cleared in both ReST and MyST.
|
|
|
|
* Support for Python 3.6 has been dropped.
|
|
|
|
* Support for pytest versions earlier than 7.1 has been dropped.
|
|
|
|
* Switch :func:`sybil.parsers.myst.SkipParser` to use the correct comment
|
|
|
|
character.
|
|
|
|
* Warn about ReST and MyST doctest parsers and overlapping blocks.
|
|
|
|
* Restructure to support lexing source languages such as ReST and MyST
|
|
|
|
while testing examples in target languages such as Python, doctest and bash.
|
|
|
|
* Add support for MyST examples.
|
|
|
|
- Drop patch pytest74.patch, included upstream.
|
2024-05-13 06:10:07 +02:00
|
|
|
- Sprinkle in multibuild to avoid a cycle.
|
2024-05-08 06:24:44 +02:00
|
|
|
|
2024-01-17 08:18:22 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jan 16 15:22:42 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
|
|
|
|
|
|
|
- Drop unneeded setuptools-git dependency
|
|
|
|
|
2023-07-26 08:43:55 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jul 25 12:42:51 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
|
|
|
|
|
|
|
- Update to 3.0.1
|
|
|
|
* Continue with the ever shifting sands of pytest APIs, this time
|
|
|
|
appeasing warnings from pytest 7 that when fixed break compatibility
|
|
|
|
with pytest 6.
|
|
|
|
- Drop python-sybil-fix-ordering.diff
|
|
|
|
- Add pytest74.patch to support pytest 7.4
|
|
|
|
|
2023-06-13 13:23:18 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jun 13 11:23:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- tag sle15 for new python stack
|
|
|
|
|
2022-06-09 17:20:57 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Jun 9 11:23:04 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
|
|
|
|
|
|
|
|
- Add missing BR python-dataclasses for openSUSE Leap
|
|
|
|
|
2022-02-16 17:34:59 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 16 11:44:28 UTC 2022 - Sasi Olin <hel@lcp.world>
|
|
|
|
|
2022-02-16 17:50:15 +01:00
|
|
|
- Add python-sybil-fix-ordering.diff fixing issue with tests
|
|
|
|
failing on different filesystem setups.
|
2022-02-16 17:34:59 +01:00
|
|
|
|
2021-12-13 05:12:44 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
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.
|
|
|
|
|
2021-02-23 11:16:42 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Feb 22 19:14:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
- Update to 2.0.1
|
|
|
|
* Make :class:`~sybil.parsers.doctest.DocTestParser` more
|
|
|
|
permissive with respect to tabs in documents. Tabs that aren't
|
|
|
|
in the doctest block not longer cause parsing of the document to
|
|
|
|
fail.
|
|
|
|
- Release 2.0.0
|
|
|
|
* Drop support for nose.
|
|
|
|
* Handle encoded data returned by doctest execution on Python 2.
|
|
|
|
|
2020-08-27 21:45:59 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Aug 27 15:29:02 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
|
|
|
|
- update to 1.4.0
|
|
|
|
* Support pytest 6
|
|
|
|
* Have sybil support nested directories of source files
|
|
|
|
* Support a sequence of patterns rather than just one.
|
|
|
|
|
2020-04-02 10:21:03 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Apr 2 07:26:04 UTC 2020 - pgajdos@suse.com
|
|
|
|
|
|
|
|
- version update to 1.3.0
|
|
|
|
* Treat all documentation source files as being ``utf-8`` encoded. This can be overriden
|
|
|
|
by passing an encoding when instantiating a :class:`~sybil.Sybil`.
|
|
|
|
|
2020-03-17 11:19:25 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Mar 17 10:15:26 UTC 2020 - pgajdos@suse.com
|
|
|
|
|
|
|
|
- version update to 1.2.2
|
|
|
|
- Improvements to :attr:`~sybil.parsers.doctest.FIX_BYTE_UNICODE_REPR`
|
|
|
|
for multiple strings on a single line.
|
|
|
|
- Better handling of files with Windows line endings on Linux under Python 2.
|
|
|
|
- Fixes for pytest 3.1.0.
|
|
|
|
|
2019-05-06 09:51:15 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
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)
|
|
|
|
|
2019-03-28 09:39:51 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Mar 26 22:38:48 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
|
|
|
|
- Remove irrelevant and invalid runtime dependencies
|
|
|
|
- Set pytest as a Recommends
|
|
|
|
- Remove unnecessary build dependencies
|
|
|
|
- Simplify %check routine
|
|
|
|
|
2018-11-21 14:03:29 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 21 13:01:18 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- Add patch to work with new pytest:
|
|
|
|
* sybil-pytest4.patch
|
|
|
|
|
2018-08-29 13:07:20 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Aug 29 11:07:06 UTC 2018 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Raise pytest requirement to match up what is in setup.py
|
|
|
|
|
2018-08-11 11:17:31 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Aug 11 09:15:40 UTC 2018 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Version update to 1.0.9:
|
|
|
|
* Support pytest-3.7
|
|
|
|
|
2018-07-30 09:37:04 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Jul 29 12:31:09 UTC 2018 - jengelh@inai.de
|
|
|
|
|
|
|
|
- Do not let the description assume any specific use context.
|
|
|
|
|
2018-05-24 22:56:56 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 24 17:49:50 UTC 2018 - toddrme2178@gmail.com
|
|
|
|
|
|
|
|
- Update 1.0.8
|
|
|
|
* Changes only to unit tests to support fixes in the latest release of pytest.
|
|
|
|
- Update 1.0.7
|
|
|
|
* Literal tabs may no longer be included in text that is parsed by the DocTestParser. Previously, tabs were expanded which could unpleasant problems.
|
|
|
|
- spec file cleanups
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jan 5 09:48:15 UTC 2018 - alarrosa@suse.com
|
|
|
|
|
|
|
|
- Update to 1.0.6
|
|
|
|
* Fix compatibility with pytest 3.3+.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Oct 9 15:03:03 UTC 2017 - alarrosa@suse.com
|
|
|
|
|
|
|
|
- Fixed %check section and add python-virtualenv to the build requirements.
|
|
|
|
- Add a longer description to the package.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Aug 23 13:40:51 UTC 2017 - t.gruner@katodev.de
|
|
|
|
|
|
|
|
- Initial release 1.0.5
|
|
|
|
|