Article View: linux.debian.bugs.rc
Article #1795Bug#1146529: argparse-manpage: FTBFS against python 3.15rc1
From: Vagrant Cascadian
Date: Mon, 26 Oct 2026 22:50
Date: Mon, 26 Oct 2026 22:50
151 lines
7689 bytes
7689 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On 2026-10-24, Vagrant Cascadian wrote:
> On 2026-09-02, Maximiliano Curia wrote:
>> While rebuilding the python related packages against the Python 3.15rc1
>> version we found that argparse-manpage fails to build from source [1].=20
>>
>> I found that the fix had already been done upstream with Commit 412123f
>> [2].
> ...
>> [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/431=
8921/
>> [2]: https://github.com/praiskup/argparse-manpage/commit/412123f4420b1f0=
ab69d1d7b2689f89b27a5466d
>> [3]: https://debusine.debian.net/debian/r-python-python3.15/
...
> I would like to perform an NMU soon fixing this issue (patch attached);
> are there any outstanding concerns?
I have uploaded an NMU to DELAYED/2, debdiff attached.
Also submitted a merge request:
https://salsa.debian.org/freeipa-team/argparse-manpage/-/merge_requests/3
live well,
vagrant
--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=argparse-manpage_4.7-1.2.debdiff.txt
Content-Transfer-Encoding: quoted-printable
diff -Nru argparse-manpage-4.7/debian/changelog argparse-manpage-4.7/debian=
/changelog
=2D-- argparse-manpage-4.7/debian/changelog 2026-10-14 11:46:01.000000000 -=
0700
+++ argparse-manpage-4.7/debian/changelog 2026-10-26 15:27:03.000000000 -07=
00
@@ -1,3 +1,11 @@
+argparse-manpage (4.7-1.2) unstable; urgency=3Dmedium
+
+ * Non-maintainer upload.
+ * debian/patches: Apply fixes from upstream to build with python 3.15
+ (Closes: #1146529)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org> Mon, 26 Oct 2026 =
15:27:03 -0700
+
argparse-manpage (4.7-1.1) unstable; urgency=3Dmedium
=20
* Non-maintainer upload.
diff -Nru argparse-manpage-4.7/debian/patches/series argparse-manpage-4.7/d=
ebian/patches/series
=2D-- argparse-manpage-4.7/debian/patches/series 2026-10-14 11:42:07.000000=
000 -0700
+++ argparse-manpage-4.7/debian/patches/series 2026-10-24 15:48:19.00000000=
0 -0700
@@ -1 +1,3 @@
0001-argparse_manpage-compat.py-Use-utcfromtimestamp-for-.patch
+upstream/0001-Changed-super-HelpFormatter-self-.__init__-to-super-.patch
+upstream/0002-Changed-super-call-to-the-explicit-version-for-capat.patch
diff -Nru argparse-manpage-4.7/debian/patches/upstream/0001-Changed-super-H=
elpFormatter-self-.__init__-to-super-.patch argparse-manpage-4.7/debian/pat=
ches/upstream/0001-Changed-super-HelpFormatter-self-.__init__-to-super-.pat=
ch
=2D-- argparse-manpage-4.7/debian/patches/upstream/0001-Changed-super-HelpF=
ormatter-self-.__init__-to-super-.patch 1969-12-31 16:00:00.000000000 -0800
+++ argparse-manpage-4.7/debian/patches/upstream/0001-Changed-super-HelpFor=
matter-self-.__init__-to-super-.patch 2026-10-24 15:41:23.000000000 -0700
@@ -0,0 +1,26 @@
+From 05f8260e3e715cc6cf59aeb91adc90e66b0e2b19 Mon Sep 17 00:00:00 2001
+From: Alex Muir <wamuir1212@protonmail.com>
+Date: Sat, 16 May 2026 02:20:21 -0700
+Subject: [PATCH 1/2] Changed super(HelpFormatter, self).__init__() to
+ super().__init__(prog)
+
+---
+ 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 b8b344c..dcb7ec1 100644
+--- a/argparse_manpage/manpage.py
++++ b/argparse_manpage/manpage.py
+@@ -362,7 +362,7 @@ def quoted(text):
+=20
+ class _ManpageFormatter(HelpFormatter):
+ def __init__(self, prog, old_formatter, format):
+- super(HelpFormatter, self).__init__()
++ super().__init__(prog)
+ self._prog =3D prog
+ self.of =3D old_formatter
+ assert format in ("pretty", "single-commands-section")
+--=20
+2.47.3
+
diff -Nru argparse-manpage-4.7/debian/patches/upstream/0002-Changed-super-c=
all-to-the-explicit-version-for-capat.patch argparse-manpage-4.7/debian/pat=
ches/upstream/0002-Changed-super-call-to-the-explicit-version-for-capat.pat=
ch
=2D-- argparse-manpage-4.7/debian/patches/upstream/0002-Changed-super-call-=
to-the-explicit-version-for-capat.patch 1969-12-31 16:00:00.000000000 -0800
+++ argparse-manpage-4.7/debian/patches/upstream/0002-Changed-super-call-to=
-the-explicit-version-for-capat.patch 2026-10-24 15:41:23.000000000 -0700
@@ -0,0 +1,26 @@
+From 412123f4420b1f0ab69d1d7b2689f89b27a5466d Mon Sep 17 00:00:00 2001
+From: Alex Muir <wamuir1212@protonmail.com>
+Date: Mon, 18 May 2026 19:50:24 -0700
+Subject: [PATCH 2/2] 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 dcb7ec1..828b4c2 100644
+--- a/argparse_manpage/manpage.py
++++ b/argparse_manpage/manpage.py
+@@ -362,7 +362,7 @@ def quoted(text):
+=20
+ class _ManpageFormatter(HelpFormatter):
+ def __init__(self, prog, old_formatter, format):
+- super().__init__(prog)
++ super(_ManpageFormatter, self).__init__(prog)
+ self._prog =3D prog
+ self.of =3D old_formatter
+ assert format in ("pretty", "single-commands-section")
+--=20
+2.47.3
+
--=-=-=--
--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCat/XVwAKCRDcUY/If5cW
qjTDAQD8nGW8/0pBfasy45sxS1KZUm3J/wMH6NhYXJvvqFM95AEAy3mKJ3O/eDHe
2rQQ5GbafZH9kzVgEOahbpDFohlamgA=
=5AB8
-----END PGP SIGNATURE-----
--==-=-=--
Technical Details
Message-ID:
<NSBFT-85Fp-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NyZhL-eOrr-9@gated-at.bofh.it> <NRTvb-7Gtu-3@gated-at.bofh.it> <NyZhL-eOrr-9@gated-at.bofh.it> <NRTvb-7Gtu-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Vagrant Cascadian <vagrant@reproducible-builds.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1146529: argparse-manpage: FTBFS against python 3.15rc1 Date: Mon, 26 Oct 2026 23:50:01 +0100 Message-ID: <NSBFT-85Fp-1@gated-at.bofh.it> References: <NyZhL-eOrr-9@gated-at.bofh.it> <NRTvb-7Gtu-3@gated-at.bofh.it> <NyZhL-eOrr-9@gated-at.bofh.it> <NRTvb-7Gtu-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Oct 26 22:45:24 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 1146529@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-freeipa-devel@alioth-lists.debian.net X-Debian-Pr-Message: followup 1146529 X-Debian-Pr-Package: src:argparse-manpage X-Debian-Pr-Keywords: forky ftbfs patch sid X-Debian-Pr-Source: argparse-manpage MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Greylist: delayed 170748 seconds by postgrey-1.37 at buxtehude; Mon, 26 Oct 2026 22:42:37 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836230 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 151 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Mon, 26 Oct 2026 15:42:31 -0700 X-Original-Message-ID: <8733ts84o8.fsf@wireframe> X-Original-References: <aph-dV2LaBMJmRNG@hecuba.gnuservers.com.ar> <87mrs2u1t3.fsf@wireframe> <aph-dV2LaBMJmRNG@hecuba.gnuservers.com.ar> <87mrs2u1t3.fsf@wireframe>