------------------------------------------------------------------- Sat Mar 30 15:15:42 UTC 2024 - Ben Greiner - Fix update-alternatives updates: docutils is the master but rst2html from old installations can create update failures - Fix bytecode cache errors: Don't modify python scripts after install ------------------------------------------------------------------- Fri Feb 23 11:02:30 UTC 2024 - Dan Čermák - Drop obsolete Requires & BuildRequires on python-packaging & python-xml ------------------------------------------------------------------- Fri Nov 10 02:31:29 UTC 2023 - Steve Kowalik - Update to 0.20.1: * Include tox.ini and docutils.conf in the source package * Docutils 0.20 is the last version supporting Python 3.7 and 3.8. * Support Python 3.11 (patch #198 by Hugo van Kemenade). * New functions `rst2…()` for use as "console_scripts" `entry points`_. * Fix `previous_sibling()` method that led to invalid HTML in some cases * Fix bug #463. Spurious comma in deprecation warning. * Improved mock Sphinx module. * `Transformer.populate_from_components()` now silently ignores components that are not instances of `docutils.TransformSpec`. * Accept author names with initials like ``A. Einstein`` in the "author" `bibliographic field`_ instead of rising an error * `DanglingReferences` ignores `citation_reference` nodes if the "use_bibex" setting is active. * New utility function `xml_declaration()`. * `DependencyList.add()` accepts `pathlib.Path` instances. * Support "mod" notation for modulo operation / modulus arithmetic. * Wrap definition lists with "details" class argument in a
with the "id" and "class" values of the list node. * Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note") for footnotes. * Do not load the `inputenc` package in UTF-8 encoded LaTeX sources. (UTF-8 is the default encoding for LaTeX2e since 2018). * Fix behaviour of the use_bibtex_ setting. * Outsource parts of `depart_document()` to new auxiliary methods `make_title()` and `append_bibliography()`. * Drop ``\usepackage{fixltx2e}`` from template. * Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated`` by adding data directories to package_data.packages list. * Refactored tests to use common `unittest` idioms. - Drop pygments-2.14.patch, no longer needed. ------------------------------------------------------------------- Fri Oct 13 22:59:14 UTC 2023 - Matej Cepl - python-roman is not actually necessary for testing. ------------------------------------------------------------------- Fri Apr 21 12:24:23 UTC 2023 - Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) ------------------------------------------------------------------- Sun Apr 16 01:30:00 UTC 2023 - Matej Cepl - Update single spec from Factory ------------------------------------------------------------------- Tue Jan 24 07:15:02 UTC 2023 - Steve Kowalik - Refactor pygments-2.14.patch to not use distutils. ------------------------------------------------------------------- Tue Jan 10 15:42:55 UTC 2023 - Daniel Garcia - Delete sphix-6.0.0.patch - Add pygments-2.14.patch - The patch is related to pygments not Sphinx and the patch is updated to make it conditional so it work with older versions of pygments, shp#docutils#201 ------------------------------------------------------------------- Wed Jan 4 13:09:13 UTC 2023 - Daniel Garcia - Add sphinx-6.0.0.patch to fix tests for new version of sphinx. ------------------------------------------------------------------- Wed Nov 2 12:32:50 UTC 2022 - Matej Cepl - Release 0.19 (2022-07-05) - General - Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility hacks from code and tests. - Code cleanup, check PEP 8 conformity with flake8 (exceptions in file tox.ini). - New module. Support for python -m docutils. Also used for the docutils console script entry point. - Let Publisher.publish() print info and prompt when waiting for input from a terminal (cf. https://clig.dev/#interactivity). - Respect "input_encoding_error_handler" setting when opening a source. - New function error_string() obsoletes utils.error_reporting.ErrorString. - Class ErrorOutput moved here from utils/error_reporting. - Use "utf-8-sig" instead of Python's default encoding if the "input_encoding" setting is None. - Fix error when reading of UTF-16 encoded source without trailing newline. - Aliases "markdown" and "commonmark" point to "commonmark_wrapper". - Alias for the "myst" parser (https://pypi.org/project/myst-docutils). - Use absolute module names in _parser_aliases instead of two import attempts. (Keeps details if the recommonmark_wrapper.py module raises an ImportError.) - Prepend parser name to ImportError if importing a parser class fails. - New module for parsing CommonMark input. Selects a locally installed 3rd-party parser (pycmark, myst, or recommonmark). - Raise ImportError, if import of the upstream parser module fails. If called from an "include" directive, the system-message now has source/line info. - Adapt to and test with "recommonmark" versions 0.6.0 and 0.7.1. - Update PEP base URL (fixes bug #445), use "https:" scheme in RFC base URL. - Add reporter to Directive class attributes. - parser_name() keeps details if converting ImportError to ValueError. - Don't use mutable default values for function arguments. Fixes bug #430. - Fix bug #435: invalid references in problematic nodes with report_level=4. - decode_path() returns str instance instead of nodes.reprunicode. - Add deprecation warning. - Add "html writers" to config_section_dependencies. Fixes bug #443. - Write table column widths with 3 digits precision. Fixes bug #444. - Add space before "charset" meta tag closing sequence. - Remove class value "controls" from an image node with video content after converting it to a "control" attribute of the