🚀 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 Sat, 24 Oct 2026 11:20
Bug#1148922: marked as done (bumpversion: FTBFS against python 3.15rc2)
#1618
Author: Debian Bug Tracking System
Date: Sat, 24 Oct 2026 11:20
341 lines
15051 bytes
This is a multi-part message in MIME format...

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

Your message dated Sat, 24 Oct 2026 11:06:23 +0000
with message-id <E1xKZZv-000000060Uy-0C9L@fasolo.debian.org>
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 owner@bugs.debian.org
immediately.)


--=20
1148922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148922
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1792840146-27734-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 25 Sep 2026 08:44:32 +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, 36; hammy, 150; neutral, 113; 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]:37638)
	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 1xA1Xk-00DtyH-2c
	for submit@bugs.debian.org;
	Fri, 25 Sep 2026 08:44:32 +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=/wgzScQyzcgIERTRIumr7gZc66lEFiqEqWq/k6tr1cc=; b=OSbTvmZeE+WksHNqWiWtZWd89Y
	QyB/XisDYxbmQAtL+KuBsgQrbco5x4Wl+i/LghHB2GoBFXr/vD0DK0b88sX0cHjVpRhOo5yZ3vHLf
	4UbABKR3Wl51vxKegjUyDqjJcoWd/3hn1mAMz80G29bSEIVoVrzczMzopnqdSBcZTKJgKRaOaRhDQ
	DEZhvk5YbC8Rz0+fFeizwBHvwV8s6hVIBBJyhyVILECp1Dwd7/nEc15Bbq+TXTiTleqzjsDoV4U4U
	beYF5NVBc9ALCZBXbH/JVD57xnH6Q53EaW3fMUDG5F7NbcijseQZg+U6J59Q77N1LILk1gSB1qDtI
	QDaqgQyw==;
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 1xA1Xi-005BJ8-1x
	for submit@bugs.debian.org;
	Fri, 25 Sep 2026 08:44:31 +0000
Date: Fri, 25 Sep 2026 10:44:29 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: bumpversion: FTBFS against python 3.15rc2
Message-ID: <arY0bUreRTC0IjdC@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="RV8JykvMuYiYLYQH"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

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

Package: src:bumpversion
Version: 1.0.1-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 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 /\/\ /\ >< `/

--RV8JykvMuYiYLYQH
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=0004-Replace-deprecated-sre_constants-with-re.patch

Description: Replace sre_constants with re for Python 3.15 compatibility
Author: Maximiliano Curia <maxy@debian.org>
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

--RV8JykvMuYiYLYQH--

------------=_1792840146-27734-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1148922-close) by bugs.debian.org; 24 Oct 2026 11:06:23 +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=-113.7 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,MONEY,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, 73; hammy, 150; neutral, 109; 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]:42910)
	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 1xKZZw-0006gs-1t
	for 1148922-close@bugs.debian.org;
	Sat, 24 Oct 2026 11:06:23 +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 1xKZZx-005DYf-0Y
	for 1148922-close@bugs.debian.org;
	Sat, 24 Oct 2026 11:06:23 +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=Ym8bb8nWEFvRKxPldqhOv7MJPu2mSO5fFY9uRmqT/co=; b=O4bL3TTR9Ly0ahlFF1hdvZ8NeC
	R5/8EebNPGAZvCbXofWftceq54vuUFlXcHTBsTNm9kApDYIMf0ADjGXa+ceCEa7gDursqfQn7jYEr
	nl4fsmxgYubDIFu6B9cE18Rc+fIWd0h6yC8LgMAETbKUAVsvVKq8VYanRh4jHrVgR8nvFwX66WQBy
	ICKKSRC4aHoNJPIg+qO4SJ++JCRutxcj8/6nck/lZDqTuH2pELLUVHlEXfVRbyI5okpLCu/oIxCIf
	fTFTraYoia0WC/yDLIb91dQ+32r6uh6sCgDl9rxVBOm/0hpttdKDA27YksK/avtwzH3F4DtZQi7Ww
	B5vPXkIg==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xKZZv-000000060Uy-0C9L;
	Sat, 24 Oct 2026 11:06:23 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Bastian Germann <bage@debian.org>
To: 1148922-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: bumpversion
Debian: DAK
Debian-Changes: bumpversion_1.0.1-1.3_source.changes
Debian-Source: bumpversion
Debian-Version: 1.0.1-1.3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1148922: fixed in bumpversion 1.0.1-1.3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============4761912738379848355=="
Message-Id: <E1xKZZv-000000060Uy-0C9L@fasolo.debian.org>
Date: Sat, 24 Oct 2026 11:06:23 +0000

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

Source: bumpversion
Source-Version: 1.0.1-1.3
Done: Bastian Germann <bage@debian.org>

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 1148922@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (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 ftpmaster@ftp-master.debian.org)


-----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 <fladi@debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1148922
Changes:
 bumpversion (1.0.1-1.3) unstable; urgency=3Dmedium
 .
   * 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.t=
ar.xz
 6a95a6c1023e7596bdd0504ce190b5e2ea35ecda 6618 bumpversion_1.0.1-1.3_source.b=
uildinfo
Checksums-Sha256:
 0e0312391c9389e6a624dacd56aa6e25ac38f3d41e814a46e7a714ca1ec8e351 1915 bumpve=
rsion_1.0.1-1.3.dsc
 6689f361c3206456e5ec02c8420366d82a0901770ade717210f136138dadd0f4 5296 bumpve=
rsion_1.0.1-1.3.debian.tar.xz
 af5fd2d03d9dfa412fea128e40b39bb107660cbe269aed22886d60cd9fdbaa8f 6618 bumpve=
rsion_1.0.1-1.3_source.buildinfo
Files:
 7eea2fe08e3413b300b6aee0960fe1ec 1915 devel optional bumpversion_1.0.1-1.3.d=
sc
 3260bb4b877f507ac42f7e852d1d891d 5296 devel optional bumpversion_1.0.1-1.3.d=
ebian.tar.xz
 9188212875292ee8f17e49c68041e44b 6618 devel optional bumpversion_1.0.1-1.3_s=
ource.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=3D
=3DdDbf
-----END PGP SIGNATURE-----


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

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCatyRLwAKCRCb9qggYcy5
Ido7AP9QB/uUNA439dpNQq9KB7zr3p+hk/He9mATrPzFqa9Q5AEAqdU1NpV0Va1y
nekaN7GkFkD3l10Ka1Ty+81n9+HOsQE=
=jfGv
-----END PGP SIGNATURE-----

--===============4761912738379848355==--
------------=_1792840146-27734-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