Control: tags -1 patch Am Thu, Sep 19, 2024 at 11:53:15AM +0200 schrieb Stefano Rivera: ... > This bug has been filed at "normal" severity, as we haven't started the > transition to add 3.13 as a supported version, yet. This will be raised to RC > as soon as that happens, hopefully well before trixie.
I've looked into the issues and the root seems simply that Python 3.13 is more picky about unused variables. The variable 'ignore' isn't getting an assignment in the function get_doc() in the class CallableDataDocumenter(). Removing the variable is letting the test suite pass again also with 3.13. See attached patch. Regards Carsten
>From ff2c127727d031934df5a5570a9122764b63d899 Mon Sep 17 00:00:00 2001 From: Carsten Schoenert <c.schoen...@t-online.de> Date: Wed, 13 Nov 2024 18:44:58 +0100 Subject: [PATCH] Rebuild patch queue from patch-queue branch Added patch: __init__.py-Don-t-use-ignore-in-get_doc.patch Closes: #1082197 --- ...nit__.py-Don-t-use-ignore-in-get_doc.patch | 22 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 23 insertions(+) create mode 100644 debian/patches/__init__.py-Don-t-use-ignore-in-get_doc.patch diff --git a/debian/patches/__init__.py-Don-t-use-ignore-in-get_doc.patch b/debian/patches/__init__.py-Don-t-use-ignore-in-get_doc.patch new file mode 100644 index 0000000..4ee9eba --- /dev/null +++ b/debian/patches/__init__.py-Don-t-use-ignore-in-get_doc.patch @@ -0,0 +1,22 @@ +From: Carsten Schoenert <c.schoen...@t-online.de> +Date: Wed, 13 Nov 2024 18:42:27 +0100 +Subject: __init__.py: Don't use 'ignore' in get_doc() + +Forwarded: https://github.com/Chilipp/autodocsumm/issues/105 +--- + autodocsumm/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/autodocsumm/__init__.py b/autodocsumm/__init__.py +index 5808308..a733363 100755 +--- a/autodocsumm/__init__.py ++++ b/autodocsumm/__init__.py +@@ -456,7 +456,7 @@ class CallableDataDocumenter(DataDocumenter): + for docstring in docstrings: + if not isinstance(docstring, str): + docstring = force_decode(docstring, encoding) +- doc.append(prepare_docstring(docstring, ignore)) ++ doc.append(prepare_docstring(docstring)) + + return doc + diff --git a/debian/patches/series b/debian/patches/series index 842b0de..c056773 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ docs-Use-local-intersphinx-while-build-of-documentation.patch docs-Use-correct-escape-sequences.patch Privacy-Drop-the-linking-to-external-badge-graphics.patch +__init__.py-Don-t-use-ignore-in-get_doc.patch -- 2.45.2