From patchwork Wed Nov 9 18:57:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6108 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4N6vPt39Q0z3xkW for ; Wed, 9 Nov 2022 18:58:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4N6vPQ6Lfnz2x4; Wed, 9 Nov 2022 18:58:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4N6vPQ30LDz30B5; Wed, 9 Nov 2022 18:58:18 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4N6vPN627jz2xKs for ; Wed, 9 Nov 2022 18:58:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4N6vPL4sWvz2mv; Wed, 9 Nov 2022 18:58:14 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1668020294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zNtr6onTiDPvFxJetOhp2RX0v58SJcU4+N5MZuUwkQE=; b=wy4A4oG/fSdmrKqrhUlhb6/+r/D823tEUHchZ43fHj/CtS+LZk+Brkejldm1fm1DXCXf86 L2cviTyeQwkzdSBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1668020294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zNtr6onTiDPvFxJetOhp2RX0v58SJcU4+N5MZuUwkQE=; b=mZjf+XYy87AxryNI+cvlUTPWSU7VnCWkqVq70EfbyQWmSL+G/MSIWzZamTnjGn1k9IQxmG LqSSvkI2K1GRlswYgqapJd+JoWhptyiYB2vqnU9UeMt/b/M6mCixOjtqbDbz3we5DCuFsk f2epYrLYlZ6BKTujmEFrTIxXbEAJRyeQa5ReMrT2oST7aqO/pu1MFTt4Y9Mh8TmoEhV0pn AkayjVobpk+2/HCGK/39AcyO0LtZUwDI2xo6lhiBJa69539G8ojl66EPKtVc4kOs/V0EJk clAIW7CQU3+xlh4+1Wz8fNkRgZjObB/EQmXM0qDL0mXdrEIFpmlI1ARKPYoLMQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 30/48] python3-docutils:Update to version 0.19 and to work with python-3.10.8 Date: Wed, 9 Nov 2022 19:57:16 +0100 Message-Id: <20221109185734.3920-30-adolf.belka@ipfire.org> In-Reply-To: <20221109185734.3920-1-adolf.belka@ipfire.org> References: <20221109185734.3920-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Updated from version 0.18.1 to 0.19 - Update of rootfile - Changelog 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). * docutils/__main__.py - New module. Support for ``python -m docutils``. Also used for the ``docutils`` console script `entry point`. * docutils/core.py: - 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. * docutils/io.py - 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. * docutils/parsers/__init__.py - 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. * docutils/parsers/commonmark_wrapper.py - New module for parsing CommonMark input. Selects a locally installed 3rd-party parser (pycmark, myst, or recommonmark). * docutils/parsers/recommonmark_wrapper.py - 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. .. _"include" directive: docs/ref/rst/directives.html#include * docutils/parsers/rst/__init__.py - Update PEP base URL (fixes bug #445), use "https:" scheme in RFC base URL. - Add `reporter` to `Directive` class attributes. * docutils/parsers/rst/directives/__init__.py - `parser_name()` keeps details if converting ImportError to ValueError. * docutils/parsers/rst/roles.py - Don't use mutable default values for function arguments. Fixes bug #430. * docutils/transforms/universal.py - Fix bug #435: invalid references in `problematic` nodes with report_level=4. * docutils/utils/__init__.py - `decode_path()` returns `str` instance instead of `nodes.reprunicode`. * docutils/utils/error_reporting.py - Add deprecation warning. * docutils/writers/_html_base.py - Add "html writers" to `config_section_dependencies`. Fixes bug #443. - Write table column widths with 3 digits precision. Fixes bug #444. * docutils/writers/html5_polyglot/__init__.py - 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