Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Debian Bug Tracking System
Sat, 24 Oct 2026 20:00
Bug#1145159: marked as done (python-typeguard: FTBFS building against python 3.15)
Author: Debian Bug Tracking System
Date: Sat, 24 Oct 2026 20:00
Date: Sat, 24 Oct 2026 20:00
401 lines
17784 bytes
17784 bytes
This is a multi-part message in MIME format...
------------=_1792871582-331541-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 24 Oct 2026 19:51:43 +0000
with message-id <E1xKhmJ-00000007RlV-3gxa@fasolo.debian.org>
and subject line Bug#1145159: fixed in python-typeguard 4.6.0-1
has caused the Debian Bug report #1145159,
regarding python-typeguard: FTBFS building 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 owner@bugs.debian.org
immediately.)
--=20
1145159: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1145159
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1792871582-331541-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 23 Aug 2026 11:02:46 +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=-119.2 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,MD5_SHA1_SUM,
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, 77; hammy, 150; neutral, 127; 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]:52912)
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 1wy5yQ-00F6i2-05
for submit@bugs.debian.org;
Sun, 23 Aug 2026 11:02:46 +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-Transfer-Encoding:Content-Type
:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:
Content-Description:In-Reply-To:References;
bh=09kmhrBriv1i9nC/tjcw39oIucxinzFZgGFN75Yy1m0=; b=klTmhhfLBDXsHDCHUXtav6RHKx
cy8460G3Rh9fwdhDeSF1TcEa1g9cyDRZXVsNIKoii59WdOHKScVxFZh8du1uOnQryEXZTnpm7XhuJ
f+qQCBzc9B8FNS0yoheLQuBBoz7UYHSChp5cAgIpyFvf5atF330U/8YkAk/fU8MrLtfB81LA8SONA
BHoYMysKh68a7YNThvikr6ydkC1HnBwcJmLiAZUpOO6E/WSEYKwGkh3k7jnSjm6BB6sDP7ldN/+xt
Li5nl8ivJc6taPlrwBvnFgC6yUocYphoSC52Vv8+pAfXv1Omd3ESKHd8A2fSJuIxRpEXAwwXiI8po
CnXFKd9g==;
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 1wy5yO-00CqBj-00;
Sun, 23 Aug 2026 11:02:44 +0000
Date: Sun, 23 Aug 2026 13:02:43 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Cc: debian-python@lists.debian.org
Subject: python-typeguard: FTBFS building against python 3.15
Message-ID: <aorTUy8HpJ28EvEM@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="QfH7KFfKe0MbPVxN"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org
--QfH7KFfKe0MbPVxN
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Package: src:python-typeguard
Version: 4.4.4-3
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch
Hi!
While rebuilding the python related packages against the python version
3.15rc1 we found that python-typeguard fails to build from source[1].
The compatibility support for python 3.15 was added in the release 4.6.0
of python-typeguard, I'm attaching a backported version of the patch
that addes the compatibility support.
Please consider including this patch in your next upload or updating the
package to the new upstream releas.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1081155/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
--QfH7KFfKe0MbPVxN
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
filename=fixed_compatibility_with_py315.patch
Content-Transfer-Encoding: 8bit
commit 2e63076a7bbdee0558f3a03f5a66e9f83b4e2241
Author: Tomáš Hrnčiar <tomas.hrnciar@me.com>
Date: Sat May 23 13:04:39 2026 +0200
Fixed compatibility with Python 3.15 (#554)
Index: python-typeguard/src/typeguard/_importhook.py
===================================================================
--- python-typeguard.orig/src/typeguard/_importhook.py
+++ python-typeguard/src/typeguard/_importhook.py
@@ -47,8 +47,8 @@ def _call_with_frames_removed(
return f(*args, **kwargs)
-def optimized_cache_from_source(path: str, debug_override: bool | None = None) -> str:
- return cache_from_source(path, debug_override, optimization=OPTIMIZATION)
+def optimized_cache_from_source(path: str) -> str:
+ return cache_from_source(path, optimization=OPTIMIZATION)
class TypeguardLoader(SourceFileLoader):
@@ -56,6 +56,7 @@ class TypeguardLoader(SourceFileLoader):
def source_to_code(
data: Buffer | str | ast.Module | ast.Expression | ast.Interactive,
path: Buffer | str | PathLike[str] = "<string>",
+ fullname: str | None = None,
) -> CodeType:
if isinstance(data, (ast.Module, ast.Expression, ast.Interactive)):
tree = data
@@ -65,12 +66,21 @@ class TypeguardLoader(SourceFileLoader):
else:
source = decode_source(data)
- tree = _call_with_frames_removed(
- ast.parse,
- source,
- path,
- "exec",
- )
+ if sys.version_info >= (3, 15):
+ tree = _call_with_frames_removed(
+ ast.parse,
+ source,
+ path,
+ "exec",
+ module=fullname,
+ )
+ else:
+ tree = _call_with_frames_removed(
+ ast.parse,
+ source,
+ path,
+ "exec",
+ )
tree = TypeguardTransformer().visit(tree)
ast.fix_missing_locations(tree)
@@ -84,9 +94,14 @@ class TypeguardLoader(SourceFileLoader):
print(ast.unparse(tree), file=sys.stderr)
print("----------------------------------------------", file=sys.stderr)
- return _call_with_frames_removed(
- compile, tree, path, "exec", 0, dont_inherit=True
- )
+ if sys.version_info >= (3, 15):
+ return _call_with_frames_removed(
+ compile, tree, path, "exec", 0, dont_inherit=True, module=fullname
+ )
+ else:
+ return _call_with_frames_removed(
+ compile, tree, path, "exec", 0, dont_inherit=True
+ )
def exec_module(self, module: ModuleType) -> None:
# Use a custom optimization marker – the import lock should make this monkey
Index: python-typeguard/tests/dummymodule.py
===================================================================
--- python-typeguard.orig/tests/dummymodule.py
+++ python-typeguard/tests/dummymodule.py
@@ -17,7 +17,6 @@ from typing import (
TypeVar,
Union,
no_type_check,
- no_type_check_decorator,
overload,
)
@@ -41,6 +40,7 @@ P = ParamSpec("P")
if sys.version_info <= (3, 13):
+ from typing import no_type_check_decorator
@no_type_check_decorator
def dummy_decorator(func):
--QfH7KFfKe0MbPVxN--
------------=_1792871582-331541-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1145159-close) by bugs.debian.org; 24 Oct 2026 19:51:44 +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=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
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, 94; hammy, 150; neutral, 126; 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 muffat.debian.org ([2607:f8f0:614:1::1274:33]:60530)
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 1xKhmL-001O5q-1q
for 1145159-close@bugs.debian.org;
Sat, 24 Oct 2026 19:51:44 +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 muffat.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 1xKhmM-005amz-00
for 1145159-close@bugs.debian.org;
Sat, 24 Oct 2026 19:51:44 +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=2PKpdIxcJsMIWZfXnqniwVe5RJTKoxIKjtXW7jZ2vlo=; b=HKfKgsXHdeu/ABhNSjQCxFDsGp
vraY2sELY6AoJjLwrdT9JnoDEkGTGCP3+fuYegim2J/fuYT6tZn/VaKOvfHFd8DsFl+uNq/WXasVI
k+Mlt8mYEg5DyMbdONKuOvhyNq8E7C24GxyokcxDJORitH2rdUqhz7Gxe18tXXxSwCFoJ1wc25BhL
F21Soh/pv7QGhyQgBsN0RofcYy9AGAmgWYcFIPbFxHYpDzx7kFnAWMnZmDIroWwB7INbai6Wcg2fu
oIA1We5xnYf1SDq72e1ncfLHVbNk9tppbSTM5cAg50lNFFbpdbGg1R3dO1WOiHs0oLUQH9jDDTzAx
zHAEYfIw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xKhmJ-00000007RlV-3gxa;
Sat, 24 Oct 2026 19:51:43 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Colin Watson <cjwatson@debian.org>
To: 1145159-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: python-typeguard
Debian: DAK
Debian-Changes: python-typeguard_4.6.0-1_source.changes
Debian-Source: python-typeguard
Debian-Version: 4.6.0-1
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1145159: fixed in python-typeguard 4.6.0-1
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============6280412001743835602=="
Message-Id: <E1xKhmJ-00000007RlV-3gxa@fasolo.debian.org>
Date: Sat, 24 Oct 2026 19:51:43 +0000
--===============6280412001743835602==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: python-typeguard
Source-Version: 4.6.0-1
Done: Colin Watson <cjwatson@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-typeguard, 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 1145159@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated python-typeguard pack=
age)
(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: Sat, 24 Oct 2026 20:25:20 +0100
Source: python-typeguard
Architecture: source
Version: 4.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1145159
Changes:
python-typeguard (4.6.0-1) unstable; urgency=3Dmedium
.
* Team upload.
* New upstream release:
- Fix compatibility with Python 3.15 (closes: #1145159).
Checksums-Sha1:
7300fec07c4bf83203b0692e5314f59a1ff05812 2511 python-typeguard_4.6.0-1.dsc
5ccfaeb847a1b1e06266a6ec571a06bc0a31d139 78029 python-typeguard_4.6.0.orig.t=
ar.gz
2be57863a835d7de94ffec47845f3da9eeba6a7b 3216 python-typeguard_4.6.0-1.debia=
n.tar.xz
e42c852efd27ca4d828d05fc547aaa74d87344c7 188864 python-typeguard_4.6.0-1.git=
.tar.xz
04be36880d7c140a4cbcbc324a1cf665daa296e7 17768 python-typeguard_4.6.0-1_sour=
ce.buildinfo
Checksums-Sha256:
0d9a5cd0b894dfd96e50c63105749567bd01763ffff785105328aaf86462b967 2511 python=
-typeguard_4.6.0-1.dsc
f2d45f36dd11f507f895aff2f8bd1bf4c58197cdbfa9cd72e9e5f09855dd2ba6 78029 pytho=
n-typeguard_4.6.0.orig.tar.gz
3f9e9795d591bd0b336cf236aa0e3c20693a4102566ad74b23ec0d1bc603b59c 3216 python=
-typeguard_4.6.0-1.debian.tar.xz
39989c44561ef6d56718d16f3f66d4072c1cf12bdfd4a75f4196d6302f8b533c 188864 pyth=
on-typeguard_4.6.0-1.git.tar.xz
713c695e80b0395fb20ad0490ce3c5211fd8030c8c65855999200753472e9871 17768 pytho=
n-typeguard_4.6.0-1_source.buildinfo
Files:
a4ed4fda2274c8b8aa757ccc57493a64 2511 python optional python-typeguard_4.6.0=
-1.dsc
07bb5e58822213a5031facc50cd82f5a 78029 python optional python-typeguard_4.6.=
0.orig.tar.gz
8769eaa89a8d002b20ac1e081c8dff00 3216 python optional python-typeguard_4.6.0=
-1.debian.tar.xz
65e12bc04ac1f5364caf8394537a1d72 188864 python None python-typeguard_4.6.0-1=
.git.tar.xz
7403875e8238a2cbf8fdae43adcacaec 17768 python optional python-typeguard_4.6.=
0-1_source.buildinfo
Git-Tag-Info: tag=3D583393124004bbf3dbad914f5546d18c5caaa0d4 fp=3Dac0a4ff1261=
1b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrdBuEACgkQYG0ITkaD
wHl2Tg//QM5vr2RJhepU+q29zU2r+OBGWcptK0c05a4BMwfwgnIlqC1mYJQEmSGN
FNJezjih1unAuiA+bQ3PLhuo8E4N7AMpzHuU1tbiYg2pbp30iGclrT8y2GY5l766
4Zke6UfyDj3xIBLvJ4mUY1QRyVJkcN/GJlbnmCzaKipmG80MkzkG1xyHbmmCuYVa
8WKuLRJym4HDb4kcg71mXKIkjm4FJS2gOe8Gf4mM6nBC1bzduhJSMfrLztIKhEpK
mE5HCzC9Znyl712HjpQwH9LMZ53lS5Ja5H4PAWvRaD271fHh6OUaC5iGtrtmvXRC
lkx+la+e9DFtWzPWW+1cMZh3yoY1G4q+XmFmkCVXtE0o8C/hbUITHyH95EOSg7Dw
JvTZlMaMQmgv127+T9k6psCEnCf0mXNIoAmPav6hr0cFsZzxB3g/2rm0tsZi+MrA
EmZNL4I92aMEiQZ/AAg5C64np8QvDEo4qj8A9jaRlxIKB1jZyeweyMRhZ4E1a9Q+
L33o7roaGQYdXTXIudEq3wZ6SNG288mqfJ4Q4U1uW0n5pHhwdtuXL20w28cW8LBP
AqweHq226vjV/un0wI8NoHnsJuQQwGE831oBLrcDzla6YCGlBIaaGEYAKMGolFMq
wWddSK/YDsjux0m1CcLLJa2/rY1g5bJXi1JchxFF8fO9vHXlhiY=3D
=3DMSOS
-----END PGP SIGNATURE-----
--===============6280412001743835602==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCat0MTwAKCRCb9qggYcy5
Id5eAP96y7Oc2fyGWxmjsnFnVv+/53l3ikMcnV3o3DbaxNIo9wEAmDmU5HQQpRTt
2FxcjaGZc0PRANFMgCVxYIiERl/ZWws=
=BUxw
-----END PGP SIGNATURE-----
--===============6280412001743835602==--
------------=_1792871582-331541-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads