af845ec105
- update to 9.3.0: * Add support for MyST code-cell :ref:directives <syntax/directives>. * Provide :func:sybil.testing.check_sybil, :func:sybil.testing.check_parser and :func:sybil.testing.check_lexer to help test custom lexers and parsers. * Add documentation around testing custom lexers and parsers.
Dirk Mueller2026-01-27 17:18:31 +00:00
4cb900080e
Accepting request 1313517 from devel:languages:python
Ana Guerrero2025-10-27 13:37:17 +00:00
0daf9f9b26
- Update to 9.2.0 * Drop up to Python 3.8 support. * Drop support for pytest versions less than 8. * :class:Sybil now takes a name which is used in any test identifiers it produces. * Add support for code and sourcecode directives in both ReST and MyST. * Retire Document.find_region_sources() in favour of using a sybil.parsers.abstract.lexers.BlockLexer. * Add support for a sybil.evaluators.doctest.NUMBER option flag when using doctest.
Matej Cepl2025-10-24 15:33:52 +00:00
cba2b56603
- Make seedir dependency optional for SLFO
Daniel Garcia2024-10-03 07:48:41 +00:00
e1c376ccdd
Accepting request 1181992 from devel:languages:python
Ana Guerrero2024-06-21 14:02:50 +00:00
c10426ade0
- update to 6.1.1: * Fix lexing of indented blocks where embedded blank lines would be erroneously removed.
Dirk Mueller2024-06-13 15:36:26 +00:00
e0bc1fbe72
Accepting request 1173546 from devel:languages:python
Ana Guerrero2024-05-14 11:37:06 +00:00
727079f4c2
- Sprinkle in multibuild to avoid a cycle.
Steve Kowalik2024-05-13 04:10:07 +00:00
03c5560bbe
- 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
Steve Kowalik2024-05-08 04:24:44 +00:00
ab279e9487
Accepting request 1139373 from devel:languages:python
Ana Guerrero2024-01-17 21:14:56 +00:00
019627b665
Accepting request 1139200 from home:mcalabkova:branches:openSUSE:Backports:SLE-15-SP6:mailman
Matej Cepl2024-01-17 07:18:22 +00:00
f8cc1d6122
Accepting request 1100743 from devel:languages:python
Ana Guerrero2023-07-27 14:50:37 +00:00
cadbc5782c
Accepting request 1100616 from home:mcalabkova:branches:devel:languages:python:pytest
Dirk Mueller2023-07-26 06:43:55 +00:00
fd28f930b2
- 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.
Steve Kowalik2021-12-13 04:12:44 +00:00
cdd0a2533d
Accepting request 874534 from devel:languages:python
Richard Brown
2021-03-02 13:42:16 +00:00
f7bc4ff528
Accepting request 874428 from home:bnavigator:branches:devel:languages:python
Dirk Mueller2021-02-23 10:16:42 +00:00