Your message dated Sat, 24 Oct 2026 11:06:23 +0000
with message-id <[email protected]>
and subject line Bug#1148922: fixed in bumpversion 1.0.1-1.3
has caused the Debian Bug report #1148922,
regarding bumpversion: 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.)
--
1148922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148922
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:bumpversion
Version: 1.0.1-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 bumpversion fails to build from source [1].
The error is:
E ModuleNotFoundError: No module named 'sre_constants'
This happens because sre_constants is removed in python 3.15, needs to be
replaced. I've added a patch to replace sre_constants with re.
I've applied it in the sandbox [2] to verify that bumpversion 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/4527207/
[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 /\/\ /\ >< `/
Description: Replace sre_constants with re for Python 3.15 compatibility
Author: Maximiliano Curia <[email protected]>
Forwarded: no
---
bumpversion/cli.py | 3 +--
bumpversion/version_part.py | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/bumpversion/cli.py b/bumpversion/cli.py
index b107e10..a8a5c8a 100644
--- a/bumpversion/cli.py
+++ b/bumpversion/cli.py
@@ -6,7 +6,6 @@ import itertools
import logging
import os
import re
-import sre_constants
import sys
import warnings
from configparser import (
@@ -429,7 +428,7 @@ def _setup_versionconfig(known_args, part_configs):
replace=known_args.replace,
part_configs=part_configs,
)
- except sre_constants.error:
+ except re.error:
# TODO: use re.error here mayhaps, also: should we log?
sys.exit(1)
return version_config
diff --git a/bumpversion/version_part.py b/bumpversion/version_part.py
index fc811f5..289907b 100644
--- a/bumpversion/version_part.py
+++ b/bumpversion/version_part.py
@@ -1,6 +1,5 @@
import logging
import re
-import sre_constants
import string
from bumpversion.exceptions import (
@@ -137,7 +136,7 @@ class VersionConfig:
try:
self.parse_regex = re.compile(parse, re.VERBOSE)
- except sre_constants.error as e:
+ except re.error as e:
# TODO: use re.error here mayhaps
logger.error("--parse '%s' is not a valid regex", parse)
raise e
--- End Message ---
--- Begin Message ---
Source: bumpversion
Source-Version: 1.0.1-1.3
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
bumpversion, 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.
Bastian Germann <[email protected]> (supplier of updated bumpversion 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, 24 Oct 2026 12:38:17 +0200
Source: bumpversion
Architecture: source
Version: 1.0.1-1.3
Distribution: unstable
Urgency: medium
Maintainer: Michael Fladischer <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1148922
Changes:
bumpversion (1.0.1-1.3) unstable; urgency=medium
.
* Non-maintainer upload
* Eliminate sre_constants (Closes: #1148922)
.
[ Alexandre Detiste ]
* trim autopkgtest dependencies
Checksums-Sha1:
e18064ca4d3c2d27bb534fc94082e57f8a562741 1915 bumpversion_1.0.1-1.3.dsc
76e7ff97dbcf4a602bcfca229c706b8fefefabe1 5296
bumpversion_1.0.1-1.3.debian.tar.xz
6a95a6c1023e7596bdd0504ce190b5e2ea35ecda 6618
bumpversion_1.0.1-1.3_source.buildinfo
Checksums-Sha256:
0e0312391c9389e6a624dacd56aa6e25ac38f3d41e814a46e7a714ca1ec8e351 1915
bumpversion_1.0.1-1.3.dsc
6689f361c3206456e5ec02c8420366d82a0901770ade717210f136138dadd0f4 5296
bumpversion_1.0.1-1.3.debian.tar.xz
af5fd2d03d9dfa412fea128e40b39bb107660cbe269aed22886d60cd9fdbaa8f 6618
bumpversion_1.0.1-1.3_source.buildinfo
Files:
7eea2fe08e3413b300b6aee0960fe1ec 1915 devel optional bumpversion_1.0.1-1.3.dsc
3260bb4b877f507ac42f7e852d1d891d 5296 devel optional
bumpversion_1.0.1-1.3.debian.tar.xz
9188212875292ee8f17e49c68041e44b 6618 devel optional
bumpversion_1.0.1-1.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmrciuEQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFP5jC/4vVGTMaR6cSiPbQBIQOVtlSRglWCX1jgrY
fABl8mhZprysNysrNhkBkMPC117bKeBljukgnF6ZoWV0siA+HRaKVJRN5qH3hkJs
EfpYdjcY4jRbrwZB1Wig+I4GszwyWmhpVF+xxZo7oK6tXh6dJU6UaWrT8SeOQJxH
hjJcSI/WCfmTUDipGavXVUnhwgqyFZq7nzPNNP59/IVMjhPkDdvVvw7H6zyihbNa
i+wpFv/vK32NNp8AGEVaTqT60Z1v0hF4lkBzytXH7349nRVa1EESO2u2OvF0qvV5
rDn60ZCJtXnopWTv049gzsDWptVmxr9P6CEteEwIRLiLo9y1XnnPV7m0XuFoRbvg
vmd7ijzCGdZYVZ04yRQT4rq88fCPEV+ofdvaT9uXumAQywZY0ppS4TQnz1x69eUt
Po8m1stF3rhOuN4sMcrboNnhearLFqmy/T+BrXC+F66vOaBJasdHg4q7PDH/Soax
Iu6FstI3TajaVCMyx4pQIn7guMWzQek=
=dDbf
-----END PGP SIGNATURE-----
pgpjsgRwhxpmi.pgp
Description: PGP signature
--- End Message ---