🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3132

Bug#1149610: marked as done (rpyc: FTBFS against python 3.15rc2 (AttributeError: cannot access 'MyClass'))

#3132
From: Debian Bug Tracking System
Date: Sat, 14 Nov 2026 12:30
341 lines
16110 bytes
This is a multi-part message in MIME format...

------------=_1794658861-2126252-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 14 Nov 2026 12:19:23 +0000
with message-id <E1xSCj5-00000007e9E-1wHP@fasolo.debian.org>
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 owner@bugs.debian.org
immediately.)


--=20
1149610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1149610
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794658861-2126252-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 1 Oct 2026 15:20:11 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 89; hammy, 150; neutral, 84; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <maxy@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:60388)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <maxy@debian.org>)
	id 1xCIZu-000H1K-36
	for submit@bugs.debian.org;
	Thu, 01 Oct 2026 15:20:11 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=Cr4FiRN714u22eYzxAC7Dn7bhFa4H//Tei7YFhU+IwM=; b=NOf6WCaCTsvRHho7yV3MU7SAZ3
	czeFf7yv5qQXUevHt1jawW3tSbtQTMPUxC425flbecDTGBvMftSg1Jyid1w3ONw9BVYdbnD6kgyYQ
	/1ZB5YP3MpovF87Zw+TrrgA37LfD2N9f/MzGb6FAXB04oDhG/e7TGakHAX0zIk95YGXDR04JWEYH4
	8e6TfBvggylNwSrmxIXyU24SJOAaTciJwaJ2vEFT6sr3aWE5txQj67HNdaEqCd6VvF4c/VNOL3t2H
	44G3b0AY3xrNq3vrC7aXHjF2knqHuFcRvSMVK7WVMg1eN7+UFYtCSHTvsQsFtc8x8c2wVdKoHVz7B
	9bIvV1ZA==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <maxy@debian.org>)
	id 1xCIZt-000BID-2f
	for submit@bugs.debian.org;
	Thu, 01 Oct 2026 15:20:10 +0000
Date: Thu, 1 Oct 2026 17:20:09 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: rpyc: FTBFS against python 3.15rc2 (AttributeError: cannot access
 'MyClass')
Message-ID: <ar56KWRMrNLUpC6B@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="l+JOxdk1JH1Upi8a"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

--l+JOxdk1JH1Upi8a
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Package: src:rpyc
Version: 6.0.2-1
User: debian-python@lists.debian.org
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 /\/\ /\ >< `/

--l+JOxdk1JH1Upi8a
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=0003-Fix-test_compat-on-Python-3.15.patch

Description: Use co_linetable in test_compat, co_lnotab was removed in Python 3.15
Author: Maximiliano Curia <maxy@debian.org>
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:

--l+JOxdk1JH1Upi8a--

------------=_1794658861-2126252-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1149610-close) by bugs.debian.org; 14 Nov 2026 12:19:26 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
	MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 83; hammy, 150; neutral, 122; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:51976)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xSCj8-008uyP-1V
	for 1149610-close@bugs.debian.org;
	Sat, 14 Nov 2026 12:19:26 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xSCj6-00GHsB-2D
	for 1149610-close@bugs.debian.org;
	Sat, 14 Nov 2026 12:19:24 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=GhbWsM3Iw/l3n6uozpyw/JqNhJclWHHclkt/NmfP1rs=; b=TyuIl2SVBF+9+B4FNDlkqisSoo
	i+u2iWlIJTrjaoi9NZmwd+amL6qz+nBAeHXa47CXeco3fqH9jpSXkOXqjwFr5UpX+80apWcLKlvaD
	y0u/xKj9BuiFIJdHn3QCDGTSpTXPW3S+bFhIvB5ZSfTw9VwtYnw4pTftls9soObroVeRD+HWewzUT
	LrW4stfSum5rJN6DrBVVPSK6ALx8pN9pR4KI4o/wTDP1QRPfqQz2twzvdpyRgSOLHF1hQblwEcHcF
	dalDD21woxC/37LqlF9BhKslnp3DGt7EOcBUEJ+EQghGgxQKoSPcNTQIdNk9oCfFHv+WesLA9+d4c
	l68jhi9g==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xSCj5-00000007e9E-1wHP;
	Sat, 14 Nov 2026 12:19:23 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>
To: 1149610-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: rpyc
Debian: DAK
Debian-Changes: rpyc_6.0.2-2_source.changes
Debian-Source: rpyc
Debian-Version: 6.0.2-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1149610: fixed in rpyc 6.0.2-2
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============4727671801053508732=="
Message-Id: <E1xSCj5-00000007e9E-1wHP@fasolo.debian.org>
Date: Sat, 14 Nov 2026 12:19:23 +0000

--===============4727671801053508732==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: rpyc
Source-Version: 6.0.2-2
Done: Nico Della Torre <nicoz91@ubuntu.com>

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 1149610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <nicoz91@ubuntu.com> (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 ftpmaster@ftp-master.debian.org)


-----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 <team+python@tracker.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1149610
Changes:
 rpyc (6.0.2-2) unstable; urgency=3Dmedium
 .
   * 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.ta=
r.xz
 1b8e43316581a2b8dbf0c0acd9c00e71 8130 python optional rpyc_6.0.2-2_source.bu=
ildinfo

-----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=3D
=3Dx5V3
-----END PGP SIGNATURE-----


--===============4727671801053508732==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavhRywAKCRCb9qggYcy5
IVSIAP95LhwTYXQhm3G8wEmtAydI/h/5h2X03oJW4347p+wZ+wEA8GDRy3Avaz5z
RYOIOGy4VxqkWxWNVlpP6Ef/e2SE4QM=
=uwSm
-----END PGP SIGNATURE-----

--===============4727671801053508732==--
------------=_1794658861-2126252-0--
Technical Details
Message-ID: <NZl3j-bPRU-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NZl3j-bPRU-5@gated-at.bofh.it> <NJqTn-2W1U-23@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1149610: marked as done (rpyc: FTBFS against python 3.15rc2  (AttributeError: cannot access 'MyClass'))
Date: Sat, 14 Nov 2026 13:30:01 +0100
Message-ID: <NZl3j-bPRU-3@gated-at.bofh.it>
References: <NZl3j-bPRU-5@gated-at.bofh.it> <NJqTn-2W1U-23@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Nov 14 12:21:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1149610
X-Debian-Pr-Package: src:rpyc
X-Debian-Pr-Keywords: ftbfs forky sid patch
X-Debian-Pr-Source: rpyc
Reply-To: 1149610@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1794658861-2126252-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838189
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 341
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 14 Nov 2026 12:21:01 +0000
X-Original-Message-ID: <handler.1149610.D1149610.17946587662125647.ackdone@bugs.debian.org>
X-Original-References: <E1xSCj5-00000007e9E-1wHP@fasolo.debian.org>
 <ar56KWRMrNLUpC6B@hecuba.gnuservers.com.ar>