Your message dated Mon, 05 Oct 2026 11:04:49 +0000 with message-id <[email protected]> and subject line Bug#1146870: fixed in sphinx-toolbox 4.3.1-1 has caused the Debian Bug report #1146870, regarding sphinx-toolbox: 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.) -- 1146870: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146870 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:sphinx-toolbox Version: 4.3.0-1 User: [email protected] Usertags: python3.15 Tags: patch, ftbfs, forky, sid Severity: important Hi! While rebuilding the python related packages against the Python 3.15rc2version we found that sphinx-toolbox fails to build from source [1].It fails with the following error: ModuleNotFoundError: No module named 'sre_parse'. Did you mean: 'argparse'? This is because sre_parse was deprecated in python 3.11, and removed in python 3.15. I've added a patch that uses re._parser and re._constants instead. And applied the fix in the sandbox [2], to be able to build the packages that depend on sphinx-toolbox, 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/4545233/ [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 /\/\ /\ >< `/From: Maximiliano Curia <[email protected]> Date: Sun, 6 Sep 2026 14:33:12 +0200 Subject: Support Python 3.15 --- sphinx_toolbox/more_autodoc/regex.py | 80 ++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 26 deletions(-) diff --git a/sphinx_toolbox/more_autodoc/regex.py b/sphinx_toolbox/more_autodoc/regex.py index 675e7cd..0fd92d5 100644 --- a/sphinx_toolbox/more_autodoc/regex.py +++ b/sphinx_toolbox/more_autodoc/regex.py @@ -111,32 +111,60 @@ Usage # stdlib import itertools import re -import sre_parse -from sre_constants import ( - ANY, - AT, - AT_BEGINNING, - AT_BEGINNING_STRING, - AT_BOUNDARY, - AT_END, - AT_END_STRING, - AT_NON_BOUNDARY, - BRANCH, - CATEGORY, - CATEGORY_DIGIT, - CATEGORY_NOT_DIGIT, - CATEGORY_NOT_SPACE, - CATEGORY_NOT_WORD, - CATEGORY_SPACE, - CATEGORY_WORD, - IN, - LITERAL, - MAX_REPEAT, - MAXREPEAT, - MIN_REPEAT, - RANGE, - SUBPATTERN - ) +try: + import sre_parse + from sre_constants import ( + ANY, + AT, + AT_BEGINNING, + AT_BEGINNING_STRING, + AT_BOUNDARY, + AT_END, + AT_END_STRING, + AT_NON_BOUNDARY, + BRANCH, + CATEGORY, + CATEGORY_DIGIT, + CATEGORY_NOT_DIGIT, + CATEGORY_NOT_SPACE, + CATEGORY_NOT_WORD, + CATEGORY_SPACE, + CATEGORY_WORD, + IN, + LITERAL, + MAX_REPEAT, + MAXREPEAT, + MIN_REPEAT, + RANGE, + SUBPATTERN + ) +except ImportError: + import re._parser as sre_parse # type: ignore[no-redef] + from re._constants import ( # type: ignore[no-redef] + ANY, + AT, + AT_BEGINNING, + AT_BEGINNING_STRING, + AT_BOUNDARY, + AT_END, + AT_END_STRING, + AT_NON_BOUNDARY, + BRANCH, + CATEGORY, + CATEGORY_DIGIT, + CATEGORY_NOT_DIGIT, + CATEGORY_NOT_SPACE, + CATEGORY_NOT_WORD, + CATEGORY_SPACE, + CATEGORY_WORD, + IN, + LITERAL, + MAX_REPEAT, + MAXREPEAT, + MIN_REPEAT, + RANGE, + SUBPATTERN + ) from textwrap import dedent from typing import Any, Callable, List, Optional, Pattern, Tuple
--- End Message ---
--- Begin Message ---Source: sphinx-toolbox Source-Version: 4.3.1-1 Done: Alexandre Detiste <[email protected]> We believe that the bug you reported is fixed in the latest version of sphinx-toolbox, 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. Alexandre Detiste <[email protected]> (supplier of updated sphinx-toolbox 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: Mon, 05 Oct 2026 12:39:25 +0200 Source: sphinx-toolbox Architecture: source Version: 4.3.1-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <[email protected]> Changed-By: Alexandre Detiste <[email protected]> Closes: 1146870 Changes: sphinx-toolbox (4.3.1-1) unstable; urgency=medium . * Team upload. * Add debian/salsa-ci.yml * d/watch: use dedicated GitHub template * New upstream version 4.3.1 * update d/py3dist-overrides: sphinx_jinja2_compat is not needed anymore * Move python3-whey to Build-Depends to make it obvious that it is the build engine . [ Maximiliano Curia ] * Add a patch to support Python 3.15 (Closes: #1146870) Checksums-Sha1: 63104b7d8a46691579e1e53c0f35ec9817232d22 3111 sphinx-toolbox_4.3.1-1.dsc 73a34d1d1dcfe0b9e946c228f3bff4c534791f00 443213 sphinx-toolbox_4.3.1.orig.tar.gz 844eb1e01c8530a6140d1bb950ebb7b653f7077f 8404 sphinx-toolbox_4.3.1-1.debian.tar.xz 25a0a4074b6d2bc757d2d28ba903ef6385ea3783 6861 sphinx-toolbox_4.3.1-1_source.buildinfo Checksums-Sha256: 991706cc2a53cdc1591abdc9aa8be2206ad3b7b6825e457b6cb085574e9d75af 3111 sphinx-toolbox_4.3.1-1.dsc e397fbcf96d991737b3d0efe28f6b4e7c10493187eaa1499cde03081c1d465fe 443213 sphinx-toolbox_4.3.1.orig.tar.gz 3f7e4359866a225ba9e7f70fa1ffd10dba2d0e02250dd02c9c672b3af77ea75c 8404 sphinx-toolbox_4.3.1-1.debian.tar.xz c481d7ae53d6f45b8cf09640aea9f9e6609d6ffd308fa572b12939a559bd878c 6861 sphinx-toolbox_4.3.1-1_source.buildinfo Files: 5458c3a684ddd278298b50cd6ab2cb1b 3111 python optional sphinx-toolbox_4.3.1-1.dsc 3cce8b595bc318534622fdeb3e6dab8a 443213 python optional sphinx-toolbox_4.3.1.orig.tar.gz 5318e842a5bdcf1a836f86f4474c5ab7 8404 python optional sphinx-toolbox_4.3.1-1.debian.tar.xz 20c41cea10a8a520e3826dc60adba723 6861 python optional sphinx-toolbox_4.3.1-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrDgRURHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBqsKA/+PSYPICndwla4GWAc+b26LynI7+kPdSPF tTH2rFGV7S/N7+mtgxzAxZEKIYGUL9kfdYWWVZBGEtqXVuMlSLuYymdB0bIXNjTB MdrVKhPJ1iEfd8silRzbdmabKS5N6CP2/IebehC32TzozYlH3cWNVtiw6E7BzoCU 0H/Pfty8FwkhkLgqJJ1595N7jRHXiEQyJen5hjSY/KLovw19FFmL65YMwROJbos7 sHId4Lyx5Ahii7sqqGxW962BLwVy6nnNL2wtQRsWgFAe3xngwdxeZvd8Rnu4nSki L0/lxUJj5Bn5qppp9XRR7y2h8EwoxZhduxZkUxWdgM7O3bk+W9zEOS0X6aPAwFZi IFI33KmJfxmteyor3hZw+PyUyBDESQI44ocpnuQQHP0r/JLuJlSGbNAqTuF1gPCO 93hNT2vvsrPGld4V+hbczmNex/6FqdPyoK7v8MjS0ZiE70y83V/mnayZcp4RXkDi Ohr5Q+eFtI7czsiDqraiM5Zyd0hu6G8xReHR/ai9Q7rMKhiWfqg9X9mfTUoD253w tLYwRwmpOEVMqSUhOf88WrQcifjMqRhHgQX47MKz3hiE0YUILe6tNA5mUCE3E1uj S3Hi04ExX1oTusefuka5uZAcX9Gm7UQRSNT131Ywq+4UHWkGha0FbnRhdKisQ23v p2Xj8j6suMk= =slJG -----END PGP SIGNATURE-----
pgpt1m83XmynG.pgp
Description: PGP signature
--- End Message ---

