Article View: linux.debian.bugs.rc
Article #2587Bug#1148459: marked as done (python-pyaml-env: FTBFS against python 3.15rc2)
From: Debian Bug Tracking System
Date: Sat, 07 Nov 2026 15:00
Date: Sat, 07 Nov 2026 15:00
331 lines
15067 bytes
15067 bytes
This is a multi-part message in MIME format...
------------=_1794063182-802716-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 07 Nov 2026 14:52:27 +0000
with message-id <E1xPhmN-0000000DSVx-3l8s@fasolo.debian.org>
and subject line Bug#1148459: fixed in python-pyaml-env 1.2.1-3
has caused the Debian Bug report #1148459,
regarding python-pyaml-env: 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 owner@bugs.debian.org
immediately.)
--=20
1148459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148459
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1794063182-802716-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 19 Sep 2026 19:38:49 +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.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,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, 23; hammy, 150; neutral, 76; 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]:53412)
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 1x80td-0064Lu-2I
for submit@bugs.debian.org;
Sat, 19 Sep 2026 19:38:49 +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=JP0SsASmIKAhD0iz748MRz9lUz0HxRVU++jh71sQ4NA=; b=EoZAK/A4VOCMY3Tj7X3wB4DvO4
H33YLpB9bYPf8cU9toe4kl/OKxP/XW91vfVy6C5/8zcExiXYifS5x9uyq1zJANHzi0pcvnlYUbekc
d7V5wgHnlZSRjIi1/X+U+KcrZ+XzmaBNfulPYEJZ3ZAXQOhlPGGS0UjVpGIFkGo3sToyVs+TqWjwn
gWkcHMY4H3Pmbn0jo0AeCc0ZjqTrQEgMS8j7PmSy5kqXlJ7D7zZBbdEXBjowdQQqQ5GKrZcsZGgM1
j5HE/j4C8xtsvENnIP1ld/tluSWR+aF3p4O+Jz/nYJbwFM3NRrYuro9Q1BD/GT2LepsV3P1jDonNj
4BpiggvA==;
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 1x80tb-000sji-1x
for submit@bugs.debian.org;
Sat, 19 Sep 2026 19:38:48 +0000
Date: Sat, 19 Sep 2026 21:38:46 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: python-pyaml-env: FTBFS against python 3.15rc2
Message-ID: <aq7kxvazqaBDYwsu@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="o/N8e+L2Pnj+BMG2"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org
--o/N8e+L2Pnj+BMG2
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Package: src:python-pyaml-env
Version: 1.2.1-2
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 python-pyaml-env fails to build from source [1].
The error is:
E ModuleNotFoundError: No module named 'sre_constants'
This is because sre_constants was deprecated, and Python 3.15 removed it
[2]. To solve it, I've added a patch to replace the use of
src_constants.error with re.error.
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/4348034/
[2]: https://github.com/python/cpython/issues/105456
[3]: 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 /\/\ /\ >< `/
--o/N8e+L2Pnj+BMG2
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=use-re-error.patch
Description: Replace sre_constants with re.error for Python 3.15 compatibility
--- a/tests/pyaml_env_tests/test_parse_config.py
+++ b/tests/pyaml_env_tests/test_parse_config.py
@@ -1,4 +1,5 @@
import os
+import re
import unittest
import yaml
@@ -210,8 +211,7 @@
data1: !TEST ${ENV_TAG4:default2}
'''
- import sre_constants
- with self.assertRaises(sre_constants.error):
+ with self.assertRaises(re.error):
_ = parse_config(data=test_data, tag='!TEST', default_sep='*')
config = parse_config(data=test_data, tag='!TEST', default_sep='\*')
expected_config = {
@@ -232,8 +232,7 @@
data1: !TEST ${ENV_TAG4:default2}
'''
- import sre_constants
- with self.assertRaises(sre_constants.error):
+ with self.assertRaises(re.error):
_ = parse_config(data=test_data, tag='!TEST', default_sep='*')
config = parse_config(data=test_data, tag='!TEST', default_sep='\*')
expected_config = {
--o/N8e+L2Pnj+BMG2--
------------=_1794063182-802716-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1148459-close) by bugs.debian.org; 7 Nov 2026 14:52:30 +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,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, 80; 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 mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:42950)
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 1xPhmQ-003MmL-0A
for 1148459-close@bugs.debian.org;
Sat, 07 Nov 2026 14:52:30 +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 mailly.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 1xPhmO-00DoYF-2V
for 1148459-close@bugs.debian.org;
Sat, 07 Nov 2026 14:52:28 +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=mJIpLj/wRnNiXMnJcKFcHiQxVl2Q93WIYrLJlShCzGo=; b=ioOb0NBXVpUT7lEpxc5bi3Vsk/
3cUsyCk7j29y4ljc7Mc2LZAFO1sNoczqO45nwHCPOFXax8NtuKcVJ+tWm2gLK429IMcfCNUU+iDKs
hK+vQo4WCzSEkJ79o07S0mSMVd3V/Q2JQpqm4Uzt7dUaHMhVyWygrvvDDJVRjP9f42ryOQo0aQKeS
PRRRib6Bdh6WpL3J/ZfgmDrgrxSq7NtyQEwd5z5bxx6oBcbs1aP1KtNaIdLWx+rgq46aY1mnvQ+8S
tGatjNt0zZoS42JzMZcaEvfuZSHI4J+6zGSpC/act5B/Qmgd+7184GcHkR6POVbxA1d3Q62yngU2v
Zr8eWLag==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xPhmN-0000000DSVx-3l8s;
Sat, 07 Nov 2026 14:52:27 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>
To: 1148459-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: python-pyaml-env
Debian: DAK
Debian-Changes: python-pyaml-env_1.2.1-3_source.changes
Debian-Source: python-pyaml-env
Debian-Version: 1.2.1-3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1148459: fixed in python-pyaml-env 1.2.1-3
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============3802533043197325701=="
Message-Id: <E1xPhmN-0000000DSVx-3l8s@fasolo.debian.org>
Date: Sat, 07 Nov 2026 14:52:27 +0000
--===============3802533043197325701==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: python-pyaml-env
Source-Version: 1.2.1-3
Done: Nico Della Torre <nicoz91@ubuntu.com>
We believe that the bug you reported is fixed in the latest version of
python-pyaml-env, 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 1148459@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 python-pyaml-env p=
ackage)
(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, 07 Nov 2026 12:32:17 +0100
Source: python-pyaml-env
Architecture: source
Version: 1.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1148459
Changes:
python-pyaml-env (1.2.1-3) unstable; urgency=3Dmedium
.
* Team upload.
* Use re.error instead of sre_constants.error in the tests
(Closes: #1148459).
* d/watch: use version 5 with the Github template.
Checksums-Sha1:
ddcc9b6a340bbb9129b7eb5889b6d132095322a3 2100 python-pyaml-env_1.2.1-3.dsc
24cd815c8b24bf31c4e9ab7eb13afcb41ef4a06a 2616 python-pyaml-env_1.2.1-3.debia=
n.tar.xz
e9ac6edc5d5407ae17158b40705e1c17b80408b7 6773 python-pyaml-env_1.2.1-3_sourc=
e.buildinfo
Checksums-Sha256:
1c316150e7c10e041d41b545ca803b469c8f0dd68134f42d41e8b1b817395f8a 2100 python=
-pyaml-env_1.2.1-3.dsc
8d15908a1e463cbcef827370880824b9fc6af035a185843c47325b690f140087 2616 python=
-pyaml-env_1.2.1-3.debian.tar.xz
0331bd957493cc1e7a2ca501a1f6f221f04114716ce05ac3c15e32bbb71fd763 6773 python=
-pyaml-env_1.2.1-3_source.buildinfo
Files:
085cdedc9c5f7577676282a8efe00086 2100 python optional python-pyaml-env_1.2.1=
-3.dsc
d28edece990dd9b4ec82ae94e4b01a0b 2616 python optional python-pyaml-env_1.2.1=
-3.debian.tar.xz
b174040d465175d775d2ea3872507ee3 6773 python optional python-pyaml-env_1.2.1=
-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrvMzsACgkQMfMURUSh
dBrDGQ/+MkYFQosP6vcup9BGfmI3KAU944pKgjw0746ulLcELYyt1oWXT4iP8LSX
SmrzJS4JEMvk44bLwHMzYM4U+nYfhkqpcAmXYhZyoDdhcli1nhKcs0LiazjMWLl2
LSKjTGBK3gVpj0fknCIAHfDhixCYMlcbaVmCNdLsDlZiGqwgjCburW+xcA/suGtP
CTj32WXd09rWtFfIkpQEe34a9osnxlqOv8bc2E8q85ZkdtJ4f2qg+VuPue0ACvLb
wbudbvOm2oQjcnloafZ30z1GUgSseDdyo+5BCAC7PKqiuq4GsNBuAUnFx4f6CmKt
Ck0M3oE6spr3N4jN6ka2trbRKyEoPYRrFzYxfCHS4vqN98bupq/4kF5oJxqOFFmO
sOxzuPZYSfTp67CA62JXRyV3oigQBvQv2pBII3pH29iLPxnFIs07bg88RSMuqB9M
/6wbzAvkxYzAiJ/rZKGvgxGfuJ0fwGIg6KIbhr26MwdJyrguWnoe24+fvzeFrgml
YAeSolobJcCCQwHA64PYz/JBa0OnJfzR6Z6he86jiQT2mnsNTpLQZ9gsU5P+3kBC
MoFYnM1SMRJGxJWXzPAx7BqQbVRZx0kIdUDZkMzgSUxJ7HMvUqoB16T+AyTgr1cH
+G0nQ//Ycd6fytj17v9+ySMIBK9BvtS7F7mwjA4yvH8YIdWVD1c=3D
=3DdznA
-----END PGP SIGNATURE-----
--===============3802533043197325701==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCau87KwAKCRCb9qggYcy5
IXVCAQC9iQsXyZocP1XfvsjgiUOe2Nm5/U9utIY1Mkt7Z2o3GgEAnvRstAEknV++
1VREmor9gUKI9hlpCl1QxCon+h1gJgY=
=XK5d
-----END PGP SIGNATURE-----
--===============3802533043197325701==--
------------=_1794063182-802716-0--
Technical Details
Message-ID:
<NWQ3E-apnu-69@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.furie.org.uk!piper.furie.org.uk!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWQ3E-apnu-71@gated-at.bofh.it> <NF9eq-Brc-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.furie.org.uk!piper.furie.org.uk!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#1148459: marked as done (python-pyaml-env: FTBFS against python 3.15rc2) Date: Sat, 07 Nov 2026 16:00:03 +0100 Message-ID: <NWQ3E-apnu-69@gated-at.bofh.it> References: <NWQ3E-apnu-71@gated-at.bofh.it> <NF9eq-Brc-1@gated-at.bofh.it> X-Original-To: Nico Della Torre <nicoz91@ubuntu.com> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Nov 7 14:53:14 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 1148459 X-Debian-Pr-Package: src:python-pyaml-env X-Debian-Pr-Keywords: forky ftbfs patch sid X-Debian-Pr-Source: python-pyaml-env Reply-To: 1148459@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1794063182-802716-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837480 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 331 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 07 Nov 2026 14:53:02 +0000 X-Original-Message-ID: <handler.1148459.D1148459.1794063150802562.ackdone@bugs.debian.org> X-Original-References: <E1xPhmN-0000000DSVx-3l8s@fasolo.debian.org> <aq7kxvazqaBDYwsu@hecuba.gnuservers.com.ar>