Your message dated Thu, 06 Aug 2026 12:04:26 +0000
with message-id <[email protected]>
and subject line Bug#1143726: fixed in cheetah 3.4.0-2
has caused the Debian Bug report #1143726,
regarding cheetah: fails to build against python 3.15
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.)


-- 
1143726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cheetah
Version: 3.4.0-1
User: [email protected]
Usertags: python3.15

Hi!

While rebuilding packages with python 3.15 we found that cheetah fails
to build because load_module was removed.

I'm attaching a debdiff with the upstream patch that replaces the call
to load_module. Please consider fixing this before python 3.15 is in
unstable.

I've also prepared a merge request in salsa,
https://salsa.debian.org/jcfp/cheetah/-/merge_requests/1 which might be
easier to work with depending on your workflow.

Happy hacking,
--
"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science."
-- Donald Knuth
Saludos /\/\ /\ >< `/
diff -Nru cheetah-3.4.0/debian/changelog cheetah-3.4.0/debian/changelog
--- cheetah-3.4.0/debian/changelog      2024-12-03 13:00:33.000000000 +0100
+++ cheetah-3.4.0/debian/changelog      2026-08-05 15:29:42.000000000 +0200
@@ -1,3 +1,11 @@
+cheetah (3.4.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload
+  * Add upstream patch to fix build with Python 3.15:
+    - Stop using load_module() in compat (f935b58)
+
+ -- Maximiliano Curia <[email protected]>  Wed, 05 Aug 2026 15:29:42 +0200
+
 cheetah (3.4.0-1) unstable; urgency=medium
 
   * Watch: revert back to tracking tagged releases.
diff -Nru cheetah-3.4.0/debian/patches/python3.15-load-module.patch 
cheetah-3.4.0/debian/patches/python3.15-load-module.patch
--- cheetah-3.4.0/debian/patches/python3.15-load-module.patch   1970-01-01 
01:00:00.000000000 +0100
+++ cheetah-3.4.0/debian/patches/python3.15-load-module.patch   2026-08-05 
15:29:42.000000000 +0200
@@ -0,0 +1,28 @@
+commit f935b58cdf47570b288e59a8a19e157d5909f7ac
+Author: Steve Kowalik <[email protected]>
+Date:   Fri Jul 17 15:07:49 2026 +1000
+
+    Stop using load_module() in compat
+    
+    load_module() has been deprecated effectively since it was added,
+    replaced by exec_module in Python 3.5, switch to using that, since
+    load_module() was removed in Python 3.15.
+    
+    Note this effectively removes support for Python 3.4, but I can reenable
+    that if you prefer.
+
+diff --git a/Cheetah/compat.py b/Cheetah/compat.py
+index 78cfcdd..7810506 100644
+--- a/Cheetah/compat.py
++++ b/Cheetah/compat.py
+@@ -53,7 +53,9 @@ else:
+ 
+     def load_module_from_file(base_name, module_name, filename):
+         specs = importlib.util.spec_from_file_location(module_name, filename)
+-        return specs.loader.load_module()
++        module = importlib.util.module_from_spec(specs)
++        specs.loader.exec_module(module)
++        return module
+ 
+     new_module = types.ModuleType
+ 
diff -Nru cheetah-3.4.0/debian/patches/series 
cheetah-3.4.0/debian/patches/series
--- cheetah-3.4.0/debian/patches/series 2024-03-19 10:12:04.000000000 +0100
+++ cheetah-3.4.0/debian/patches/series 2026-08-05 15:29:42.000000000 +0200
@@ -1 +1,2 @@
 python3-tests.patch
+python3.15-load-module.patch

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cheetah
Source-Version: 3.4.0-2
Done: Jeroen Ploemen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cheetah, 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.
Jeroen Ploemen <[email protected]> (supplier of updated cheetah 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, 06 Aug 2026 11:35:09 +0000
Source: cheetah
Built-For-Profiles: noudeb
Architecture: source
Version: 3.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Jeroen Ploemen <[email protected]>
Changed-By: Jeroen Ploemen <[email protected]>
Closes: 1143726
Changes:
 cheetah (3.4.0-2) unstable; urgency=medium
 .
   [ Maximiliano Curia ]
   * Add upstream patch to fix build with Python 3.15:
     - Stop using load_module() in compat (f935b58) (Closes: #1143726)
 .
   [ Jeroen Ploemen ]
   * Copyright: bump years, replace old FSF postal address.
   * Bump Standards-Version to 4.7.4 (from 4.7.0; no further changes).
   * CI: refresh config, enable build profile checks.
   * Control: remove redundant fields.
   * Watch: bump to v5.
   * Lintian: remove overrides, obsolete.
   * Control: add build-dep on pybuild-plugin-pyproject.
Checksums-Sha1:
 b225d4bc003884967a3d43acfa225312c74a6364 2184 cheetah_3.4.0-2.dsc
 0879eca9c10b355539340740c16478d6aae5b6e5 47696 cheetah_3.4.0-2.debian.tar.xz
 86f58793a0d3bb57e1b50201b81a4df8d1bb32a7 8285 cheetah_3.4.0-2_source.buildinfo
Checksums-Sha256:
 bf6ee2b019e3e7b362a2ae7c08718689adb9f435c1c6644e2bb290372feeb791 2184 
cheetah_3.4.0-2.dsc
 aa0ff898502486ae16cba051f6cc7b9822747a51459148b2ea57b99503b65499 47696 
cheetah_3.4.0-2.debian.tar.xz
 bf4651f6accb1a7b2b6cb62d8dba3059841c1b4b50012be72d592d87f56332dd 8285 
cheetah_3.4.0-2_source.buildinfo
Files:
 0391f7ab23d5db0330a502ac6e9f51de 2184 python - cheetah_3.4.0-2.dsc
 6b2dc26ae66c38a893f6a78dfd93bba6 47696 python - cheetah_3.4.0-2.debian.tar.xz
 5d86056483ba03b24bdae42af05d2572 8285 python - cheetah_3.4.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmp0cZcACgkQQoMEoXSN
zHpfrA//cG8FuSBFXEXJ/rHgTaGrlWfZ1DHEDHYJO0n7bkyLJsNwVc7osypSlH2c
1w+iCJeunM3p81n/fPzuX5AKi0lnV0iWGK4B79QEQIlJWd9+VDQKoVeGzVNg4sX1
Aa44eVZG66GW08tBQaY5R+GYC0tEgW5OVDSxZoOke+QQRd+otGh0hah2HHNrug9i
6jhxe+0fC/OEYGNvi0J2X0SJeqcRCaWsiHl7mGK6fx4u0BFdWGUarM9QJizx0CJB
cgDZ1q8FJCXOi5U0w7CR5HsGA5bicV4ToI+PLBCuQF0p3PZnhsru69oGwhRRxex7
7yiZrjx9j1cj6cZ2NtIT/7D6UvgzDuJ+VlXvJtZLh0SsU9CZSglFuWc5H/twDWST
yBk4+Z/nxTx2ScMX2fwUIPTReW5j172gQruaunR35W8sHgOOAsnMZ6hXDcQk6TM5
XprBHIYS/M7KLXgIfQA47mfpOvWXaA7VrVd9L95PqHiAMN9PamhfmrWL7mbpWpa+
LQQmgPHbTn3v+CkaNTOFN8RG7cYOpllXTE1JK0fJjojYk40gzt/Q4EpAy53PL3Ks
hEuC7L5YlSH8wdbzTuNLoYmuSOb8ukKD0EGNPLLELf5tZw+UnZP4zNwQGoeHwfMo
ansOtCV1weJ3ztpjCaoOSGalMP9W4ka6DitA5s9chkDz5uy1+58=
=5geq
-----END PGP SIGNATURE-----

Attachment: pgp93LPNGLgPs.pgp
Description: PGP signature


--- End Message ---

Reply via email to