Your message dated Sat, 07 Nov 2026 14:52:33 +0000
with message-id <[email protected]>
and subject line Bug#1148461: fixed in python-txi2p-tahoe 0.3.7-6
has caused the Debian Bug report #1148461,
regarding python-txi2p-tahoe: 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.)
--
1148461: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148461
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-txi2p-tahoe
Version: 0.3.7-5
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-txi2p-tahoe fails to build from source [1].
The error is:
TypeError: ParserProtocol.__init__() takes 5 positional arguments but 6 were
given
This happens because functools.partial is now an object, and the way the
code is used causes Python to add a `self` parameter that shouldn't be
there.
I've prepared a patch that drops the use of functools.partial, it wasn't
actually needed. This patch should probably be forwarded upstream.
I've applied the fix in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.
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/4455091/
[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: Avoid functools.partial as class attribute in Python 3.14+
Forwarded: no
Index: python-txi2p-tahoe/txi2p/bob/protocol.py
===================================================================
--- python-txi2p-tahoe.orig/txi2p/bob/protocol.py
+++ python-txi2p-tahoe/txi2p/bob/protocol.py
@@ -5,7 +5,8 @@ from __future__ import print_function
from builtins import range
from builtins import object
import os
-from parsley import makeProtocol
+from ometa.grammar import OMeta
+from ometa.protocol import ParserProtocol
from twisted.internet.error import ConnectError, UnknownHostError
from twisted.internet.interfaces import IListeningPort
from twisted.internet.protocol import Protocol
@@ -398,22 +399,25 @@ class I2PTunnelRemoverBOBReceiver(BOBRec
print('clear ERROR: %s ' % info)
+def makeBOBProtocol(receiverFactory):
+ g = OMeta(grammar.bobGrammarSource).parseGrammar('Grammar')
+ class BOBProtocol(ParserProtocol):
+ def __init__(self):
+ ParserProtocol.__init__(
+ self, g, BOBSender, receiverFactory, {})
+ return BOBProtocol
+
+
# A Protocol for making an I2P client tunnel via BOB
-I2PClientTunnelCreatorBOBClient = makeProtocol(
- grammar.bobGrammarSource,
- BOBSender,
+I2PClientTunnelCreatorBOBClient = makeBOBProtocol(
I2PClientTunnelCreatorBOBReceiver)
# A Protocol for making an I2P server tunnel via BOB
-I2PServerTunnelCreatorBOBClient = makeProtocol(
- grammar.bobGrammarSource,
- BOBSender,
+I2PServerTunnelCreatorBOBClient = makeBOBProtocol(
I2PServerTunnelCreatorBOBReceiver)
# A Protocol for removing a BOB I2P tunnel
-I2PTunnelRemoverBOBClient = makeProtocol(
- grammar.bobGrammarSource,
- BOBSender,
+I2PTunnelRemoverBOBClient = makeBOBProtocol(
I2PTunnelRemoverBOBReceiver)
Index: python-txi2p-tahoe/txi2p/sam/base.py
===================================================================
--- python-txi2p-tahoe.orig/txi2p/sam/base.py
+++ python-txi2p-tahoe/txi2p/sam/base.py
@@ -69,8 +69,11 @@ class SAMParserProtocol(ParserProtocol):
def makeSAMProtocol(senderFactory, receiverFactory):
g = OMeta(grammar.samGrammarSource).parseGrammar('Grammar')
- return functools.partial(
- SAMParserProtocol, g, senderFactory, receiverFactory, {})
+ class SAMProtocol(SAMParserProtocol):
+ def __init__(self):
+ SAMParserProtocol.__init__(
+ self, g, senderFactory, receiverFactory, {})
+ return SAMProtocol
class SAMSender(object):
--- End Message ---
--- Begin Message ---
Source: python-txi2p-tahoe
Source-Version: 0.3.7-6
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-txi2p-tahoe, 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.
Alexandre Detiste <[email protected]> (supplier of updated python-txi2p-tahoe
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: Sat, 07 Nov 2026 15:06:19 +0100
Source: python-txi2p-tahoe
Architecture: source
Version: 0.3.7-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1148461
Changes:
python-txi2p-tahoe (0.3.7-6) unstable; urgency=medium
.
* Team Upload
.
[ Andrius Merkys ]
* Add Florian Sesser to the list of uploaders.
.
[ Nico Della Torre ]
* Add patch from Maximiliano Curia to fix FTBFS with Python 3.15
(Closes: #1148461)
* d/watch: Convert to version 5
Checksums-Sha1:
d05c33d876a6a5c6c586004b8e98959918a19fa3 2257 python-txi2p-tahoe_0.3.7-6.dsc
06ec07640d32790c8000b1b3fd4ec1bdea92b20e 4188
python-txi2p-tahoe_0.3.7-6.debian.tar.xz
67a0c25d6b5f3d59ab5311f43304c12ecd870b10 7187
python-txi2p-tahoe_0.3.7-6_source.buildinfo
Checksums-Sha256:
801eef25dac7f7bce456a05abdbe3be5a898984470e6e0b25f433382a931a23e 2257
python-txi2p-tahoe_0.3.7-6.dsc
9647b26af449b4d7034ef034b87687e0b8c191008c3ddf2cd6fa526e4b52c3a1 4188
python-txi2p-tahoe_0.3.7-6.debian.tar.xz
277dd5595277ee842c044980204fda6e854fd35cfdc31cc981c0af947bca9cb6 7187
python-txi2p-tahoe_0.3.7-6_source.buildinfo
Files:
ec9fdd6b817fda5867f18d7942e9ea21 2257 python optional
python-txi2p-tahoe_0.3.7-6.dsc
b9f58ca69652276e7c7785f3ae987ee0 4188 python optional
python-txi2p-tahoe_0.3.7-6.debian.tar.xz
006f5bc2586b7640567e729aff5126f1 7187 python optional
python-txi2p-tahoe_0.3.7-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrvMO0RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpPKQ//eE+u6wJuwKAzdZKr0mTMqgtqc94fYham
XrBepgEKxWzY6wOXyaKKskFm3FOO/6F0/zqDMLRZtVS300P8/nFcp9oFjZRFXdul
scWsW6lBCEMsCXe3yZzdlDUqAr57V32cObU350X0x6iAxCSpQbPcg2+ulOqhkPSd
mkdc6u1zMvwyU2DRRh9kO2MW/4WeqdRjgpWtC8TQrkfCWKwnsCyMF70FkgnRSVjr
glW3YE2MlcHEyeHHVGkOnVCF4erP9mLxj4i12kMPSeyD4vZKUn1leMwSLKviFAAp
eTd/Z98q2UjA2hYsuHuUPJNzX05sBOLHWW9cl4E2joC4QnpQBiY++3nr6D+ckeiO
ohCnu00nCTBNZ/b/dc6ntHJBNXkymXYtoDykK1aE+kETDiOeSLnwb+3sppYpmzv0
511L32xuffgalZ/cw2uuiv5twQR3ZTSd5kvoVd1TDVWZ9G0z1nuIGaOudT63NNCE
tOHxCmercvBYOQQfIhoJ9zjFk4rMEqZvrnfK4ZCjY7v/oRQTQXhnLIYN3RxxevWY
7NzPzYpUccZ8mtn6h66Gf6klP3H4Gi0hUBPduU92xd+z3iVGvHhj4oA0C47unfUe
E0sdleobdH0M0++iHYm6Oa/vio7yu4wvlU+r+fTOUV+kYTgQOCXqQVVF27ynTdZD
05hu2wEq8Vk=
=HZs5
-----END PGP SIGNATURE-----
pgpTdxYVLoO9s.pgp
Description: PGP signature
--- End Message ---