Your message dated Thu, 01 Oct 2026 04:19:36 +0000
with message-id <[email protected]>
and subject line Bug#1149351: fixed in plastex 3.1-5
has caused the Debian Bug report #1149351,
regarding plastex: FTBFS against python 3.15rc2 (ValueError: Cannot use 
capturing groups in re.Scanner)
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.)


-- 
1149351: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149351
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:plastex
Version: 3.1-4
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 version we found that plastex fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856615/

There are a lot of tests that are failing with errors like this one:

    def test_colorparser_next():
        c = ColorParser()
      c.scan('1 2 3 4')

unittests/Packages/xcolor.py:5:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
plasTeX/Packages/xcolor.py:524: in scan
    scanner = Scanner([
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <re.Scanner object at 0x7efc938870e0>
lexicon = [(',\\s*', <function ColorParser.scan.<locals>.<lambda> at 0x7efc93a11380>), ('RGB|rgb|cmyk|cmy|HSB|hsb|Gray|gray|HTML...als>.<lambda> at 0x7efc93a135e0>), ('[-+]?\\d+', <function ColorParser.scan.<locals>.<lambda> at 0x7efc93a13690>), ...]
flags = 0

    def __init__(self, lexicon, flags=0):
        from ._constants import BRANCH, SUBPATTERN
        if isinstance(flags, RegexFlag):
            flags = flags.value
        self.lexicon = lexicon
        # combine phrases into a compound pattern
        p = []
        s = _parser.State()
        s.flags = flags
        for phrase, action in lexicon:
            sub_pattern = _parser.parse(phrase, flags)
            if sub_pattern.state.groups != 1:
raise ValueError("Cannot use capturing groups in re.Scanner")
E               ValueError: Cannot use capturing groups in re.Scanner

This was a change in behaviour in Python 3.15 and the code needs to get adapted:
https://github.com/python/cpython/issues/140797

Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.

--
Regards,
Marga

--- End Message ---
--- Begin Message ---
Source: plastex
Source-Version: 3.1-5
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
plastex, 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.
Stuart Prescott <[email protected]> (supplier of updated plastex 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: Thu, 01 Oct 2026 13:07:09 +1000
Source: plastex
Architecture: source
Version: 3.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1149351
Changes:
 plastex (3.1-5) unstable; urgency=medium
 .
   * Fix use of re.Scanner for compatibility with Python 3.15
     (Closes: #1149351).
   * Update Standards-Version to 4.7.4 (no changes required).
   * Update d/watch to v5 format.
Checksums-Sha1:
 95742908812e2ee0d19df9fef3187001e3af6384 3156 plastex_3.1-5.dsc
 1599655db3f83b126ca17de358581785285cd816 90332 plastex_3.1-5.debian.tar.xz
 f50c4568a66843aa732fc5b3bf3bf900dada7241 1551440 plastex_3.1-5.git.tar.xz
 a0bb6396d7187f0c7008a91c73d4acc5eed71e20 17716 plastex_3.1-5_source.buildinfo
Checksums-Sha256:
 7b9b56f02dff7302e8db9374c3287b7c279711e713eaf1e6ab1c720473b59f28 3156 
plastex_3.1-5.dsc
 4bd1208e49bd07b3785666527b02cf82fe268a266bda3d79c2a1d9304b874e6d 90332 
plastex_3.1-5.debian.tar.xz
 466081011b8884153ffeec6ec23031bfa026ad2475c1428a09b5b80c035254a1 1551440 
plastex_3.1-5.git.tar.xz
 71f1533f8ed43914e8b3814a43b5a8934a6d55758b290f86f0a65250fe3107a6 17716 
plastex_3.1-5_source.buildinfo
Files:
 bf6e680309783a00a982229d22f9bb49 3156 python optional plastex_3.1-5.dsc
 c6de2272371a5f9ee6d5625f7e7df6ad 90332 python optional 
plastex_3.1-5.debian.tar.xz
 7514206a8fd4d56c157c46287c0ed5f0 1551440 python None plastex_3.1-5.git.tar.xz
 9483995fc1d6d957055d803fc242287c 17716 python optional 
plastex_3.1-5_source.buildinfo
Git-Tag-Info: tag=689f49bd1b6e7f1bae40f7b2b15edcbb3db6b275 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq92qEACgkQYG0ITkaD
wHnJnw//fGG/t/GImR/RqPUpYftK7q8CPnqtXe6nrBuInWX6zWAwr9QRXGfqgDSt
PAvFXmflz8dDOXZglz6zRU4b8BfIThrtidWj7RP4xr0BcATjucQWDBsi7E/LMiQR
IftYvLkfZPWR04KEhtKm+rClxC3m4r3YxDItmYrixSXNr4Q91nwBbI5Od3gY/P9E
qrtthliddQ2UxSbGTnVVTjj8o0nzIGxnhPQBO8+P2xI9WeRZGSCdu9rEcR2yjt07
Voybhj4N7vHicO2Fo4q03j5V+VRT5+NLXrS++ESvJ2I89aklut3cVLbvNvZ7oiGY
Ya8D4kI+Ie1KhxkJ5UTdCGpcyR6ekL7IC9pOPNveBvTwlSE2Xjt83+QMX4XncBMw
FyK5d2pxzxQVv8sPN8LGtHX70V5T2JtDrdPwt+QG075CgXpl5rkDtqmOIpUuS4C5
kJQe94NvV/t5x1k7eTS0Lk7MEFT7CwHaA6+Q5oqDlgONMIcjvW7W172+iJVaQE1J
96+P8SZCwM3/iSryF+OlrJdxbRqCPjb1inmU0EHKTO8I8X1BZ9R0mu/E0qaZcK1W
ec8xbMFl3VeRPRcVKMrBwi07gFI/7M5BpTsAoqWSAiRMRUlCIa8aBSBaxHomfAzl
f0OAGu80hOlxrDq1Te0Zk9b8mfjvBRWxh2LQs3CXXNZgyefSC1g=
=fyRp
-----END PGP SIGNATURE-----

Attachment: pgpdVLtiTvscd.pgp
Description: PGP signature


--- End Message ---

Reply via email to