🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Sun, 08 Nov 2026 12:40
Bug#1145078: marked as done (parso: FTBFS building against python 3.15)
#2651
Author: Debian Bug Tracking System
Date: Sun, 08 Nov 2026 12:40
397 lines
17427 bytes
This is a multi-part message in MIME format...

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

Your message dated Sun, 08 Nov 2026 12:35:19 +0000
with message-id <E1xQ27D-0000000HMTe-3kt8@fasolo.debian.org>
and subject line Bug#1145078: fixed in parso 0.8.7-1.1
has caused the Debian Bug report #1145078,
regarding parso: 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
1145078: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1145078
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794141424-1482657-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 22 Aug 2026 08:15:20 +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.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,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, 73; hammy, 150; neutral, 147; 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]:45632)
	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 1wxgsq-00BUjH-1e
	for submit@bugs.debian.org;
	Sat, 22 Aug 2026 08:15:20 +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:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=uGQBve+bE6aSv3za62eRSAucDPd9MstkihWfWsqfBkc=; b=daUoEl07wqDz9qfJ4o2wpBl7zw
	vzZWsFQOBkbfO2nyE/dlJ+ePHbK3d/6t98LM0514ThIOQY+BFSjFZ7pjeYxy//69s0GzFtjp7AldU
	w4A1Z3Iw7Zx5tg6BtJJc0HHPlsPkPScCnAtVejIL1qqz9NWur6Gvc3IMfc4V1T13ibF5Wy522Ncys
	7Y8L2ZEVv3hIyooeZjuJboAP61swmmXdANIxGcJAuIwnRu9r0lS29owuSA5VQ+FOpzBwhRACwszlk
	ggOeVJ20czCUDi4Eqj8zYjF0FBh9D+6TfLbVh/tphwVZyPNM1srvL7D5BC/B1szvG+I0HONnTixuK
	kA11CBhg==;
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 1wxgsn-00ByUu-2z;
	Sat, 22 Aug 2026 08:15:18 +0000
Date: Sat, 22 Aug 2026 10:15:17 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Cc: debian-python@lists.debian.org
Subject: parso: FTBFS building against python 3.15
Message-ID: <aolalY7aCMF9yaBD@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="/lWULjn4Fh3H5vvV"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

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

Package: src:parso
Version: 0.8.7-1
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 parso fails to build from source [1].

Python 3.15 changed some of the texts in the exception messages and
parso tests rely on the exact wordings. Upstream already has fixed these
issues and I'm attaching the upstream patches that we used in the
sandbox.

Please consider applying these patches to fix the compatibility with
python 3.15.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1021941/
-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/

--/lWULjn4Fh3H5vvV
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=support-py315-exception-message-changes.patch

commit 62b30e7fae5402ead78fdd9315fb3d6e20bce36f
Author: Steve Kowalik <steven@wedontsleep.org>
Date:   Wed Jul 29 20:23:35 2026 +1000

    Support Python 3.15 exception message changes (#240)
    
    Python 3.15 changed the wording of some SyntaxError exceptions to make
    it clearer.
    
    Closes #239

diff --git a/parso/python/errors.py b/parso/python/errors.py
index 09c5047..0916fb3 100644
--- a/parso/python/errors.py
+++ b/parso/python/errors.py
@@ -973,7 +973,10 @@ class _ParameterRule(SyntaxRule):
                 continue
 
             if p.name.value in param_names:
-                message = "duplicate argument '%s' in function definition"
+                if sys.version_info[:2] < (3, 15):
+                    message = "duplicate argument '%s' in function definition"
+                else:
+                    message = "duplicate parameter '%s' in function definition"
                 self.add_issue(p.name, message=message % p.name.value)
             param_names.add(p.name.value)
 

--/lWULjn4Fh3H5vvV
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=support-more-py315-exception-changes.patch

commit 512e78c1a8f4968086af652394a9cd0a91c16e54
Author: Steve Kowalik <steven@wedontsleep.org>
Date:   Thu Jul 30 17:27:07 2026 +1000

    Support more Python 3.15 exception changes (#241)
    
    Python 3.15 changed the wording of some SyntaxError exceptions to make
    it clearer. The previous PR only fixed one instance.

diff --git a/parso/python/errors.py b/parso/python/errors.py
index 0916fb3..c51a36d 100644
--- a/parso/python/errors.py
+++ b/parso/python/errors.py
@@ -659,7 +659,10 @@ class _StringChecks(SyntaxRule):
 
 @ErrorFinder.register_rule(value='*')
 class _StarCheck(SyntaxRule):
-    message = "named arguments must follow bare *"
+    if sys.version_info[:2] < (3, 15):
+        message = "named arguments must follow bare *"
+    else:
+        message = "named parameters must follow bare *"
 
     def is_issue(self, leaf):
         params = leaf.parent
diff --git a/test/failing_examples.py b/test/failing_examples.py
index a555fde..af0c711 100644
--- a/test/failing_examples.py
+++ b/test/failing_examples.py
@@ -139,7 +139,6 @@ FAILING_EXAMPLES = [
     'del *a, b',
     'def x(*): pass',
     '(%s *d) = x' % ('a,' * 256),
-    '{**{} for a in [1]}',
     '(True,) = x',
     '([False], a) = x',
     'def x(): from math import *',
@@ -229,7 +228,6 @@ FAILING_EXAMPLES = [
     'async def foo():\n yield x\n return 1',
     'async def foo():\n yield x\n return 1',
 
-    '[*[] for a in [1]]',
     'async def bla():\n def x():  await bla()',
     'del None',
     'del True',
@@ -423,3 +421,10 @@ if sys.version_info[:2] < (3, 13):
     FAILING_EXAMPLES += [
         'from .__future__ import whatever',
     ]
+
+if sys.version_info[:2] < (3, 15):
+    # these nested expression successfully evaluate with 3.15
+    FAILING_EXAMPLES += [
+        '[*[] for a in [1]]',
+        '{**{} for a in [1]}',
+    ]
diff --git a/test/test_python_errors.py b/test/test_python_errors.py
index 0c89016..a3fdaa1 100644
--- a/test/test_python_errors.py
+++ b/test/test_python_errors.py
@@ -275,9 +275,13 @@ def test_named_argument_issues(works_not_in_py):
     message = works_not_in_py.get_error_message('def foo(*, **dict): pass')
     message = works_not_in_py.get_error_message('def foo(*): pass')
     if works_not_in_py.version.startswith('2'):
-        assert message == 'SyntaxError: invalid syntax'
+        wanted = 'SyntaxError: invalid syntax'
     else:
-        assert message == 'SyntaxError: named arguments must follow bare *'
+        if sys.version_info[:2] < (3, 15):
+            wanted = 'SyntaxError: named arguments must follow bare *'
+        else:
+            wanted = 'SyntaxError: named parameters must follow bare *'
+    assert message == wanted
 
     works_not_in_py.assert_no_error_in_passing('def foo(*, name): pass')
     works_not_in_py.assert_no_error_in_passing('def foo(bar, *, name=1): pass')

--/lWULjn4Fh3H5vvV--

------------=_1794141424-1482657-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1145078-close) by bugs.debian.org; 8 Nov 2026 12:35:21 +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.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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, 100; hammy, 150; neutral, 118; 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]:38952)
	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 1xQ27F-006DYP-02
	for 1145078-close@bugs.debian.org;
	Sun, 08 Nov 2026 12:35:21 +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 1xQ27E-00A8Ar-2J
	for 1145078-close@bugs.debian.org;
	Sun, 08 Nov 2026 12:35:20 +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=E4HF2HNOHfp9iLuHyR2erZ3tfySrtex1H8FsOrcUt+c=; b=WHhemoO6JRbsqxWiX5nnH8SYQY
	lA4CGu5JB/eqORus91O28n81L7OYmPokjnLjGCPQolgk2gEDWnDHHpTCFyAe2o+xmLvjWxmjmwzMj
	EPn9ieTrDpfGPPS7Deazb31OH4oV3Z3IgAEXePmelNHoFDs1sTlIXBKp2HjHePQNXm/OLh5xReq6P
	Vq2lUn2MHJc5+MXPl8KL0oR7x3rmaWwTYeo2PTPJ94SthqD/Eu8upyLtPXEqb1hQbhl8uVucy+wBC
	9xB6bGkBuuv/2Vc0TVxhyCAsUsyHwIkJe6f/ue3N/qULKaTAivqdnAEhegOXC8q8Mfkgp+v3PD2Oi
	REwKgv7A==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xQ27D-0000000HMTe-3kt8;
	Sun, 08 Nov 2026 12:35:19 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Alexandre Detiste <tchet@debian.org>
To: 1145078-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: parso
Debian: DAK
Debian-Changes: parso_0.8.7-1.1_source.changes
Debian-Source: parso
Debian-Version: 0.8.7-1.1
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1145078: fixed in parso 0.8.7-1.1
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============3324837844751919832=="
Message-Id: <E1xQ27D-0000000HMTe-3kt8@fasolo.debian.org>
Date: Sun, 08 Nov 2026 12:35:19 +0000

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

Source: parso
Source-Version: 0.8.7-1.1
Done: Alexandre Detiste <tchet@debian.org>

We believe that the bug you reported is fixed in the latest version of
parso, 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 1145078@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated parso 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: Sun, 08 Nov 2026 13:13:25 +0100
Source: parso
Architecture: source
Version: 0.8.7-1.1
Distribution: unstable
Urgency: medium
Maintainer: Piotr O=C5=BCarowski <piotr@debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1141478 1145078
Changes:
 parso (0.8.7-1.1) unstable; urgency=3Dmedium
 .
   * Non-maintainer upload.
   * Fix FTBFS building against python 3.15 (Closes: #1145078)
   * Mark python3-pytest as <!nocheck> (Closes: #1141478)
Checksums-Sha1:
 9eba5b2addd030a4acb7b07823464ffa12a3906d 1969 parso_0.8.7-1.1.dsc
 20ed01a0e2dc207a8a1a99869d5d4937ad4af339 6484 parso_0.8.7-1.1.debian.tar.xz
 a50954217f3745e6d617da11fe5ae8fac5a08921 7529 parso_0.8.7-1.1_source.buildin=
fo
Checksums-Sha256:
 fb17851c0c582e6e8792859bc705e47382300f2034de543c0ea525e5778c3f1a 1969 parso_=
0.8.7-1.1.dsc
 fa6c23d9e86ba9a3e19a428ee4dadfb5c35ebea85cdbd26ce2d0324b79f799c0 6484 parso_=
0.8.7-1.1.debian.tar.xz
 114028d36b9fc2a1ff1e078c7b3fa1f8cf6d9e3e3b6687ad041fcc5af3512d01 7529 parso_=
0.8.7-1.1_source.buildinfo
Files:
 c3b268dd5963079f2e6d2746b1f1c5a4 1969 python optional parso_0.8.7-1.1.dsc
 a900e9a8b9054df41b9f6d38df964f41 6484 python optional parso_0.8.7-1.1.debian=
.tar.xz
 edc73f84cffd01b7e9a996de9834dd80 7529 python optional parso_0.8.7-1.1_source=
.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrwaFARHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBr11A//bFAvUytnvVDcZ8VC6iC+cLLmsq0N7X6o
+BdI0nIO8lwM2O6QaA4n58keBRgv4HY8TnX2H20MyyRkOvOakDgsfuQEonABp4R8
V2WRDvzv+lc1auCwe4e8Y07S9dYyBVdt0GdTt1vxls/Na/Tso/a1I+GZlE0LzKQa
IGLJ4Mv0Te9QeKi87/4GkU6ifV2k5S4cRdgMCTA/vC6k1PtxBquaBam9ZykbsGr3
Tm314dFhfX/My0qdmWrzmfefa3AOp6p60NlULtvF3Ba3M/qZ/doo6/TxbobNl2SK
F+iJ9w/4RCADbbnwqn/2gBe6ELzjkwVNEIAKEXclD/nzC9c/qVP0P3hXszQZPfcB
4FnxR9eOnfNPntYV3cH5rsiwBflLvfybN46FmZmaJ/sovGeTe76KM7/d2LVN37I3
JtnmxEcaR/T+AM3zdJRONKhFZomKw6fvwmch3MAtPCRiZL3M3fLkn7zpVm6/4H/N
LBxHDwROSG11I3noxjBWg2BGVpSM02dZPpNOq6yj0BSO7Uw1kiikxWGxvGlRW68X
TWsrPrFMO5jU93rQjm6oeyQe6Gp2Scs2cYXvcKPJUcRcHIxON2VsLLzKQdK8k7oX
8o4TRCQJFqhIbKhBiWb+mFczRLCg6rxa300kpwJUgnNCVuFb4+lk0jDk6cMoWSIP
YiHf6sGf9AA=3D
=3DwshW
-----END PGP SIGNATURE-----


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

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavBshwAKCRCb9qggYcy5
IT+RAQCByoPjOxvR3/oTnwsWV2u32zdp/ebyDrPSF+cl9T4OMAEA0fSW6JZvv2QI
7ZTJtECxTJZEFuXGTmxmQnuAmxJqoQA=
=AZ+U
-----END PGP SIGNATURE-----

--===============3324837844751919832==--
------------=_1794141424-1482657-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