Package: src:argparse-manpage
Version: 4.7-1
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Hi!
While rebuilding the python related packages against the Python 3.15rc1
version we found that argparse-manpage fails to build from source [1].
I found that the fix had already been done upstream with Commit 412123f
[2].
I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on argparse-manpage, please consider applying the
patch to support the upcoming 3.15 version.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4318921/
[2]:
https://github.com/praiskup/argparse-manpage/commit/412123f4420b1f0ab69d1d7b2689f89b27a5466d
[3]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
From: Alex Muir <[email protected]>
Date: Mon, 18 May 2026 19:50:24 -0700
Subject: Changed super call to the explicit version for capatability with python 2 and 3
---
argparse_manpage/manpage.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/argparse_manpage/manpage.py b/argparse_manpage/manpage.py
index 0be0328..828b4c2 100644
--- a/argparse_manpage/manpage.py
+++ b/argparse_manpage/manpage.py
@@ -362,7 +362,7 @@ def quoted(text):
class _ManpageFormatter(HelpFormatter):
def __init__(self, prog, old_formatter, format):
- super(HelpFormatter, self).__init__()
+ super(_ManpageFormatter, self).__init__(prog)
self._prog = prog
self.of = old_formatter
assert format in ("pretty", "single-commands-section")