Your message dated Sat, 07 Nov 2026 14:52:27 +0000
with message-id <[email protected]>
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 [email protected]
immediately.)
--
1148459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148459
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-pyaml-env
Version: 1.2.1-2
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 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 /\/\ /\ >< `/
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 = {
--- End Message ---
--- Begin Message ---
Source: python-pyaml-env
Source-Version: 1.2.1-3
Done: Nico Della Torre <[email protected]>
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 [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 python-pyaml-env
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: 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 <[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1148459
Changes:
python-pyaml-env (1.2.1-3) unstable; urgency=medium
.
* 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.debian.tar.xz
e9ac6edc5d5407ae17158b40705e1c17b80408b7 6773
python-pyaml-env_1.2.1-3_source.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=
=dznA
-----END PGP SIGNATURE-----
pgp3D_5Q0NWZR.pgp
Description: PGP signature
--- End Message ---