Your message dated Sat, 14 Nov 2026 12:19:23 +0000
with message-id <[email protected]>
and subject line Bug#1149610: fixed in rpyc 6.0.2-2
has caused the Debian Bug report #1149610,
regarding rpyc: FTBFS against python 3.15rc2 (AttributeError: cannot access
'MyClass')
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.)
--
1149610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149610
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:rpyc
Version: 6.0.2-1
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 rpyc fails to build from source [1].
The error is: AttributeError: cannot access 'MyClass'
This is caused by using deprecated co_lnotab, and can be solved by migrating to
co_linetable. I have created a patch for this.
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/4855987/
[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: Use co_linetable in test_compat, co_lnotab was removed in Python 3.15
Author: Maximiliano Curia <[email protected]>
Forwarded: no
Last-Update: 2026-09-28
---
Index: rpyc/tests/test_teleportation.py
===================================================================
--- rpyc.orig/tests/test_teleportation.py
+++ rpyc/tests/test_teleportation.py
@@ -1,6 +1,6 @@
from __future__ import with_statement
from rpyc.utils.classic import teleport_function
-from rpyc.lib.compat import is_py_3k, is_py_gte38, is_py_gte311
+from rpyc.lib.compat import is_py_3k, is_py_gte38, is_py_gte310, is_py_gte311
from rpyc.utils.teleportation import export_function, import_function
import subprocess
import sys
@@ -99,23 +99,26 @@ class TeleportationTest(unittest.TestCas
def test_compat(self): # assumes func has only brineable types
+ def lines(cobj): # co_lnotab was removed in 3.15
+ return cobj.co_linetable if is_py_gte310 else cobj.co_lnotab
+
def get37_schema(cobj):
return (cobj.co_argcount, 0, cobj.co_nlocals, cobj.co_stacksize,
cobj.co_flags, cobj.co_code, cobj.co_consts, cobj.co_names, cobj.co_varnames,
- cobj.co_filename, cobj.co_name, cobj.co_firstlineno, cobj.co_lnotab,
+ cobj.co_filename, cobj.co_name, cobj.co_firstlineno, lines(cobj),
cobj.co_freevars, cobj.co_cellvars)
def get38_schema(cobj):
return (cobj.co_argcount, 2, cobj.co_kwonlyargcount, cobj.co_nlocals,
cobj.co_stacksize, cobj.co_flags, cobj.co_code, cobj.co_consts, cobj.co_names,
- cobj.co_varnames, cobj.co_filename, cobj.co_name, cobj.co_firstlineno, cobj.co_lnotab,
+ cobj.co_varnames, cobj.co_filename, cobj.co_name, cobj.co_firstlineno, lines(cobj),
cobj.co_freevars, cobj.co_cellvars)
def get311_schema(cobj):
return (cobj.co_argcount, 2, cobj.co_kwonlyargcount, cobj.co_nlocals,
cobj.co_stacksize, cobj.co_flags, cobj.co_code, cobj.co_consts, cobj.co_names,
cobj.co_varnames, cobj.co_filename, cobj.co_name, cobj.co_qualname,
- cobj.co_firstlineno, cobj.co_lnotab, cobj.co_exceptiontable,
+ cobj.co_firstlineno, lines(cobj), cobj.co_exceptiontable,
cobj.co_freevars, cobj.co_cellvars)
if is_py_gte38:
--- End Message ---
--- Begin Message ---
Source: rpyc
Source-Version: 6.0.2-2
Done: Nico Della Torre <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rpyc, 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.
Nico Della Torre <[email protected]> (supplier of updated rpyc 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: Fri, 13 Nov 2026 20:54:09 +0100
Source: rpyc
Architecture: source
Version: 6.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1149610
Changes:
rpyc (6.0.2-2) unstable; urgency=medium
.
* Team upload.
.
[ Maximiliano Curia ]
* Fix test_compat on Python 3.15 (Closes: #1149610)
.
[ Nico Della Torre ]
* d/watch: use version 5 with the Github template
Checksums-Sha1:
86948e37733f42f3ec26956711af848508e306c3 2654 rpyc_6.0.2-2.dsc
da7245679bc705edb219ee1865e0d02aec33ad37 7444 rpyc_6.0.2-2.debian.tar.xz
5a209617564843ca03e3060a97f0c7ced4bac1d2 8130 rpyc_6.0.2-2_source.buildinfo
Checksums-Sha256:
7f36a6b9482372e0b02905f2f974e3626c99a3f0d6ad5901965a6c4d09b512bd 2654
rpyc_6.0.2-2.dsc
956ffc47c214d532d5a86bcdc3501a88dc924f0af65f75a225d069fc6da1413e 7444
rpyc_6.0.2-2.debian.tar.xz
f53bb5e2789f93a6bd4bb70a0edfdefb5b0db7d2dce1d018388331cc88aa7592 8130
rpyc_6.0.2-2_source.buildinfo
Files:
751cfc9ba5d11e5e63c311e775d04c0b 2654 python optional rpyc_6.0.2-2.dsc
a02ea8c3c06599c258bb84de87bc93b9 7444 python optional
rpyc_6.0.2-2.debian.tar.xz
1b8e43316581a2b8dbf0c0acd9c00e71 8130 python optional
rpyc_6.0.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmr4S3IACgkQMfMURUSh
dBotOg//bwCNZkzZc4KKj73mLkmS0335HT9IbPn0foSztI10wQYulw0mN3/78X0+
qDgHUWeoGHA7FRz5T4rBCAoCMdekngl8AUaN5qeMxlPu9f4AmoreJfnQDexDiyC0
6SYdEpV77V65JZuXDavaKNPwswVabr2uwja3mFF9E+7AfcNFoF3p3Py+iXdsmPak
i4/nsBLs9AIpfgPd715LV13FAksvWm7saDfyIlTIzITSOfcKU6ElzBbodhX5TF4r
wfNpARMQAQjU3/g7dI2Xnfc/rSO7KYsGWSSfC7Mn91MwZRezELzCvR4sUWCCoNhy
vVeFS8bc4yvdZmYlLFxomyk3oAXdNPn+LaKlEbojqZhsqLwZTU+3n/9h6H8hEKo2
ouDshRT26Z41tZpwkYOZOf3ctDfzD1SNY4BsY+UDV2EMebykVBmw61e+zlPrTZTB
1ZijIo4fmOrX3vIgRKOv5hDXffNREMkhRrars6rPH1ZkX4Fak6rWv6GQ19jsbDOf
YRnxBK4aTsj5T4+Q2Af0KqIZyKsQqNGemIwlmO2/PYpR26biWawzJ6+TkTcz1beC
QyTSoTKO86S54o7Sow1zy7uMFIn7MLerDrZmyEJSCTBiLDwo95WmT5BGSaFJhFZO
5ExL0D9O8BUpFwEDt8CxIWrJ1aMm2mFO68m0r6STZJ5krHiR+9g=
=x5V3
-----END PGP SIGNATURE-----
pgpAwEkE6s9hy.pgp
Description: PGP signature
--- End Message ---