From e947df43a09a50abcf14a6c455f2e3dae694d9f0df95543802f2327ba354fe83 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Nov 2022 14:31:50 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=73 --- docutils-0.17.1.tar.gz | 3 - docutils-0.19.tar.gz | 3 + python-docutils-rpmlintrc | 1 - python-docutils.changes | 194 ++++++++++++++++++++++++++++++++++++++ python-docutils.spec | 39 ++++---- 5 files changed, 220 insertions(+), 20 deletions(-) delete mode 100644 docutils-0.17.1.tar.gz create mode 100644 docutils-0.19.tar.gz diff --git a/docutils-0.17.1.tar.gz b/docutils-0.17.1.tar.gz deleted file mode 100644 index 671e046..0000000 --- a/docutils-0.17.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125 -size 2016138 diff --git a/docutils-0.19.tar.gz b/docutils-0.19.tar.gz new file mode 100644 index 0000000..1f4e38d --- /dev/null +++ b/docutils-0.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33995a6753c30b7f577febfc2c50411fec6aac7f7ffeb7c4cfe5991072dcf9e6 +size 2056383 diff --git a/python-docutils-rpmlintrc b/python-docutils-rpmlintrc index 28e4b43..d97b4cf 100644 --- a/python-docutils-rpmlintrc +++ b/python-docutils-rpmlintrc @@ -1,2 +1 @@ # these can't be helped -addFilter("no-manual-page-for-binary rst.*") diff --git a/python-docutils.changes b/python-docutils.changes index 7a1b669..6e324ce 100644 --- a/python-docutils.changes +++ b/python-docutils.changes @@ -1,3 +1,197 @@ +------------------------------------------------------------------- +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 +