Sybil

Latest version: v9.1.0

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

Scan your dependencies

Page 4 of 7

4.0.0

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

- 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 :doc:`MyST examples <myst>`.

- Include a :ref:`plan for migrating <migrating-from-sphinx.ext.doctest>`
from ``sphinx.ext.doctest``.

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.

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.rest.DocTestParser`
as it is no longer used.

- :class:`~sybil.parsers.rest.CodeBlockParser` has been renamed to
:class:`~sybil.parsers.rest.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.

- ``FIX_BYTE_UNICODE_REPR`` has been removed as it should no
longer be needed.

Thanks to Stefan Behnel for his work on :ref:`codeblock-parser` parsing!

2.0.1

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

- Make :class:`~sybil.parsers.rest.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.

2.0.0

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

- Drop support for nose.

- Handle encoded data returned by doctest execution on Python 2.

1.4.0

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

- Support nested directories of source files rather than just one directory.

- Support multiple patterns of files to include.

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.