Your message dated Thu, 29 Oct 2026 17:34:08 +0000
with message-id <[email protected]>
and subject line Bug#1147229: fixed in python-term-image 0.7.2-3
has caused the Debian Bug report #1147229,
regarding python-term-image: FTBFS against python 3.15rc2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1147229: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147229
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-term-image
Version: 0.7.2-2
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that python-term-image fails to build from source [1].
The error is caused by the fact that the code inherits from classmethod
and adds a parameter to the `__init__` method of the child class. But in
Python 3.15 classmethod now has an explicit `__new__` method that forces
the number of parameters, so in order to add a parameter to `__init__`,
there needs to be a `__new__` that discards it before calling the parent
class.
I've applied this fix in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version. This patch should also be forwarded upstream, although it
seems it's not really active anymore.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4456293/
[2]: 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 /\/\ /\ >< `/
Description: Fix ClassInstanceMethod in Python 3.15
Pass only f_owner to classmethod.__new__ as Python 3.15 strictly enforces
classmethod argument count.
Author: Maximiliano Curia <[email protected]>
Forwarded: no
Last-Update: 2026-09-08
Index: python-term-image/src/term_image/utils.py
===================================================================
--- python-term-image.orig/src/term_image/utils.py
+++ python-term-image/src/term_image/utils.py
@@ -53,6 +53,11 @@ class ClassInstanceMethod(classmethod):
and when invoked via an instance, behaves like an instance method.
"""
+ def __new__(
+ cls, f_owner: FunctionType, f_instance: Optional[FunctionType] = None
+ ):
+ return super().__new__(cls, f_owner)
+
def __init__(
self, f_owner: FunctionType, f_instance: Optional[FunctionType] = None
):
--- End Message ---
--- Begin Message ---
Source: python-term-image
Source-Version: 0.7.2-3
Done: Pieter Lenaerts <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-term-image, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pieter Lenaerts <[email protected]> (supplier of updated python-term-image
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 29 Oct 2026 17:14:59 +0000
Source: python-term-image
Built-For-Profiles: noudeb
Architecture: source
Version: 0.7.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Pieter Lenaerts <[email protected]>
Closes: 1147229 1149757
Changes:
python-term-image (0.7.2-3) unstable; urgency=medium
.
* Team Upload
* Touch patches with gbp pq, add py315 patch (Closes: 1147229)
* Add patch for urwid 2.4.0 (Closes: 1149757)
* d/control: bump debhelper-compat to 14 and drop obsolete substvars
* d/control: bump stds version, cleanup redundant fields,
add doc to docs pkg desc, set section to doc for docs
* Update watch file to v5
* Add d/u/metadata
* Add doc-base registration
* Add lintian overrides - Ang is a surname, not a spelling error
Checksums-Sha1:
045b5b9baa6c25e3198522c5c97af1b502802022 2341 python-term-image_0.7.2-3.dsc
7f0b9f133a100cb1a62b918bf99b44fd93a84c49 5796
python-term-image_0.7.2-3.debian.tar.xz
0cbc75c9a6688e8677dfa44d52ed38e5881845f4 11184
python-term-image_0.7.2-3_source.buildinfo
Checksums-Sha256:
058dbd1fe8753398c96e74e2fa4066c1b3279c740e82d3ea7de92cd47caa4fe4 2341
python-term-image_0.7.2-3.dsc
d64174cdce91e1b137f0ac5e0bc8de6c3914315efc9f5d9351a5c9d50aac75a6 5796
python-term-image_0.7.2-3.debian.tar.xz
ec6e92149142988dc28f4495ac6f8109dd9c317858a413add634aaab7220fa1e 11184
python-term-image_0.7.2-3_source.buildinfo
Files:
2289bbde0b4c1f8add1d5bafadc6f27a 2341 python - python-term-image_0.7.2-3.dsc
0240b12b9dd6896532fc42f80aa92319 5796 python -
python-term-image_0.7.2-3.debian.tar.xz
9e83895978ba214fc87ca90c1b331ce1 11184 python -
python-term-image_0.7.2-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmrjfzIACgkQQoMEoXSN
zHoJQxAAiLUR+ZLC5blx68TlYS9pmwTg7LaA+2A8nh0u1wBbuatHRCReY1nN8Tdq
Wk54sy5PYsZ1F2evM1wJIWVl1j+TK2N/l5QC9s/IjhXD/kmjSZJdzMpkiMYjnT/s
b8yLNkMIIT8ToMYM76OnWzMbbr2QN8zdj86nDszheioZDmgPk2xLcU2lBxI+Woyf
/fXK/EY7ecxk/pL7YMlzD42CuPMn1KpVEgjansrdr2wTZ8KSFQ60psha7dVJW2b/
WmR4sl2l4JdmUYcGM7wAw/QusmLQX7mHAVAqoBPi3gFXmABUIPXcDknSFGwnF9SJ
ROiqES1AWuJnaIr10wEx4ZbfGvTDOQmHcCu9SBd/o9Dok9sAkuV9gd2Fdz7bXdCO
CDX4QJxOPuxAVvXVucsIfwvA4XABoAH67Z3Zzw9SCEibO7zEyT6VZH72j1QMREdc
9Vke4yvA9kQDCQG2YKOKmv6tUFS9cqp/FcVhIbqqFrPTtymv5sBlfj2d8XbAwGvL
HiBN6w3er3WiHBh3FOdya4kmTptEgN1592GwwCFDAe44KHNl3AVvQElnOGHLUq8S
8cRcZY5OoefeMc0gg0S1ZwDYCnByGqZs3WhZ5eMz4XyOVLL4WJioc4xA2SwKNxMP
ZUQHizx3JxQCdgFa/X2+C3zRFaT+uJT8gzE9LX4eIw7g7vRxSFA=
=VfDL
-----END PGP SIGNATURE-----
pgpWnb_hmVAcL.pgp
Description: PGP signature
--- End Message ---