Sybil

Latest version: v6.1.1

Safety actively analyzes 627737 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

6.1.1

------------------

- Fix lexing of indented blocks where embedded blank lines would be erroneously removed.

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.

6.0.3

-------------------

- Support pytest 8 and above, due to yet another breaking change in an API Sybil relies on.


Thanks to Adam Dangoor for the fix.

6.0.2

-------------------

- Remove use of deprecated ``py.path.local``.

6.0.1

-------------------

- Fix lexing of ReST directives and directives-in-comments where the directives
were not separated by at least one newline.

6.0.0

-------------------

- The public interface is now fully typed and checked with ``mypy``.

- Official support for Python 3.12 with Python 3.7 now being the minimum
supported version.

- :doc:`Markdown <markdown>` is now supported separately to
:doc:`MyST <myst>`.

- :any:`ReST <sybil.parsers.rest.lexers.DirectiveLexer>` and
:any:`MyST <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 :attr:`Region.evaluator` optional, removing the need for the separate
``LexedRegion`` class.

Huge thanks to Adam Dangoor for all his work on typing!

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.