Your message dated Thu, 29 Oct 2026 18:04:53 +0000
with message-id <[email protected]>
and subject line Bug#1146531: fixed in python-mitogen 0.3.54-1
has caused the Debian Bug report #1146531,
regarding python-mitogen: FTBFS against python 3.15rc1
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.)
--
1146531: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146531
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-mitogen
Version: 0.3.50-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 python-mitogen fails to build from source [1].
I found that the fix had already been done upstream with Commit 983c7fa
[2].
I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-mitogen, 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/4354507/raw/python-mitogen_0.3.50-1+py315.1_amd64-2026-08-18T05:48:15Z.build
[2]:
https://github.com/mitogen-hq/mitogen/commit/983c7fa62aa32fa4a766b249534f59f08a3ef32f
[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 Willmer <[email protected]>
Date: Wed, 26 Aug 2026 14:37:07 +0100
Subject: mitogen: Python3.15 support
This excludes Ansible + Python 3.15, because it requires Ansible 15 which has
not had any release yet.
---
mitogen/imports/__init__.py | 4 +++-
mitogen/imports/_py315.py | 33 +++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletion(-)
create mode 100644 mitogen/imports/_py315.py
diff --git a/mitogen/imports/__init__.py b/mitogen/imports/__init__.py
index bf246e26..e1e7afef 100644
--- a/mitogen/imports/__init__.py
+++ b/mitogen/imports/__init__.py
@@ -4,7 +4,9 @@
import sys
-if sys.version_info >= (3, 14):
+if sys.version_info >= (3, 15):
+ from mitogen.imports._py315 import _code_imports
+elif sys.version_info >= (3, 14):
from mitogen.imports._py314 import _code_imports
elif sys.version_info >= (3, 6):
from mitogen.imports._py36 import _code_imports
diff --git a/mitogen/imports/_py315.py b/mitogen/imports/_py315.py
new file mode 100644
index 00000000..7e4069f9
--- /dev/null
+++ b/mitogen/imports/_py315.py
@@ -0,0 +1,33 @@
+# SPDX-FileCopyrightText: 2026 Mitogen authors <https://github.com/mitogen-hq>
+# SPDX-License-Identifier: BSD-3-Clause
+# !mitogen: minify_safe
+
+import opcode
+
+IMPORT_NAME = opcode.opmap['IMPORT_NAME']
+LOAD_COMMON_CONSTANT = opcode.opmap['LOAD_COMMON_CONSTANT']
+LOAD_CONST = opcode.opmap['LOAD_CONST']
+LOAD_SMALL_INT = opcode.opmap['LOAD_SMALL_INT']
+
+
+def _code_imports(code, consts, names):
+ start = 4
+ while True:
+ op3_idx = code.find(IMPORT_NAME, start, -1)
+ if op3_idx < 0:
+ return
+ if op3_idx % 2:
+ start = op3_idx + 1
+ continue
+ if (
+ code[op3_idx-4] != LOAD_SMALL_INT
+ or (op2 := code[op3_idx-2]) not in {LOAD_COMMON_CONSTANT,
LOAD_CONST}
+ ):
+ start = op3_idx + 2
+ continue
+ start = op3_idx + 6
+ arg1, arg2, arg3 = code[op3_idx-3], code[op3_idx-1], code[op3_idx+1]
+ if op2 == LOAD_COMMON_CONSTANT:
+ yield (arg1, names[arg3>>2], opcode._common_constants[arg2] or ())
+ elif op2 == LOAD_CONST:
+ yield (arg1, names[arg3>>2], consts[arg2] or ())
--- End Message ---
--- Begin Message ---
Source: python-mitogen
Source-Version: 0.3.54-1
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-mitogen, 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.
Colin Watson <[email protected]> (supplier of updated python-mitogen 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:43:47 +0000
Source: python-mitogen
Architecture: source
Version: 0.3.54-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1146531
Changes:
python-mitogen (0.3.54-1) unstable; urgency=medium
.
* Team upload.
* New upstream release:
- Support Python 3.15 (closes: #1146531).
Checksums-Sha1:
cd90429fa7b54dd610d0238aad765b2c9bf3311c 2648 python-mitogen_0.3.54-1.dsc
da57ed2e683d46856f495f050df063146bb7fb69 1252185
python-mitogen_0.3.54.orig.tar.gz
0302a70e8a07253a5eb5d616cb7dc3f66cfd19ee 9676
python-mitogen_0.3.54-1.debian.tar.xz
cc2c0401e3815f90cefbc2ff623a70b9b2ddc414 1831904
python-mitogen_0.3.54-1.git.tar.xz
d74151771d54b5f0df4bce2826f0a4f9ba7f767c 17769
python-mitogen_0.3.54-1_source.buildinfo
Checksums-Sha256:
fb0bede5095c21845f3045933d7c6b5b5165fc07f6b73a3f92764d767b05da95 2648
python-mitogen_0.3.54-1.dsc
70bbbd504d50ceaccb8739f397b6553686855911712ddc3c564c8ef591ed0503 1252185
python-mitogen_0.3.54.orig.tar.gz
7e0b87b21c1ac03bfbff473d4763549a9fcaca12b24ee7d356cd1521b828525a 9676
python-mitogen_0.3.54-1.debian.tar.xz
6c24743608d09943bdc6a02d28de2222a770dfc591be99bcfde383d4b0a1a4e7 1831904
python-mitogen_0.3.54-1.git.tar.xz
5026da7995b25e67001e7467af14cf8fddcbf389fa13c5a2f25c423f057ae9ad 17769
python-mitogen_0.3.54-1_source.buildinfo
Files:
cac2710e4daff778e8dcd1fc53fb97ea 2648 python optional
python-mitogen_0.3.54-1.dsc
4e6971ca01d708d351fef16e458af27e 1252185 python optional
python-mitogen_0.3.54.orig.tar.gz
dae0b23b2163e6a5cb446c6d5a0dee61 9676 python optional
python-mitogen_0.3.54-1.debian.tar.xz
c631ef70a08127e802ec0c45c00c5a1a 1831904 python None
python-mitogen_0.3.54-1.git.tar.xz
a1503139f24eadd96eedc2718582a585 17769 python optional
python-mitogen_0.3.54-1_source.buildinfo
Git-Tag-Info: tag=57284d4d5c1b0894a5f710c4d3ff1c83792659b3
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrjh1cACgkQYG0ITkaD
wHky4w/+PxYs64d0HnU26SvD8bqDZMVGB+zrewpJEDmNez031dqsRmz2taSg2imz
HJgwVGDP6dWen7Wv/UticzvAfpqqT23aKnx4ps9AkPBVWoQWAvJpeR7OEWHcFjJQ
a92nhvXvoREgpTMEAP2h8nIs/wksC+EXs55z4PFdbqoXD7JqdS+K3jDaPX6XqvD0
VidLVaA7ME1S29ka7sSCJVYR4iEUnDL1w1nXpMmMcxyPfrHiSoIvAXgIFyHqranN
H2bZT7FNdvQrGJL8yEmWV6FAkMC4Ykc11HeGfY00NfeQZH2qs63P7QuNqtRIOHFd
grZIK6YuDu0YcbvwPQQBWo3OiSDsLRLRgYIhElL+ghKcukHextR+tM9+t2GK4PDh
YUc34Xxwr45qHbHyMWbRwNC/U3YChSpQ38K90gwsqfFiPGOsYJ1xZfbwOLzbD1hB
8gSwuXzcEnKHi+GQ0aA0yuwzWcp/v5Kjd3weGU+gSO6qrRyZeC36p2NfERr/1TeB
KxlQEW+J8Bn14pzveBpuT9TfJ9XeiCbxFh76f/aTubbGN2RxwtkJJMJ+swdx2WIc
gKrSKfHjtp5wTiy5dDtDi6Hq83V3A1swpL/k2+VIgJ3vopNwzPDzYbuK828S5H4j
o7n5+/mRBHQ/oi15w3+rhkG7ZhFKa5AVopYD/3C0fX9A++vEDpk=
=Eum6
-----END PGP SIGNATURE-----
pgpawlamx56ST.pgp
Description: PGP signature
--- End Message ---