Your message dated Mon, 31 Aug 2026 15:43:25 +0000
with message-id <[email protected]>
and subject line Bug#1145292: fixed in patsy 1.0.3-1
has caused the Debian Bug report #1145292,
regarding patsy: FTBFS against python 3.15rc1
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.)


-- 
1145292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:patsy
Version: 1.0.2-1
User: [email protected]
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that patsy fails to build from source [1].
We found that the necessary fixes have recently been applied in the
upstream repository [2].

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on patsy, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4446312/
[2]: 
https://github.com/pydata/patsy/commit/85f23252caf6c36f4ad91f57e3e983751b50d498
[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 /\/\ /\ >< `/
From 24675f8da0747ad3bfd4da406373054931f1f8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <[email protected]>
Date: Mon, 27 Apr 2026 14:15:54 +0200
Subject: [PATCH] Fix re.Scanner capturing group for Python 3.15 compatibility

Python 3.15 forbids capturing groups in re.Scanner lexicon patterns.
Convert the capturing group to a non-capturing group in num_re.

Assisted-by: Cursor
---
 patsy/constraint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patsy/constraint.py b/patsy/constraint.py
index 6c044144..17ee1dee 100644
--- a/patsy/constraint.py
+++ b/patsy/constraint.py
@@ -187,7 +187,7 @@ def _tokenize_constraint(string, variable_names):
     lparen_re = r"\("
     rparen_re = r"\)"
     op_re = "|".join([re.escape(op.token_type) for op in _ops])
-    num_re = r"[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?"
+    num_re = r"[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?"
     whitespace_re = r"\s+"
 
     # Prefer long matches:

--- End Message ---
--- Begin Message ---
Source: patsy
Source-Version: 1.0.3-1
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
patsy, 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.
Andreas Tille <[email protected]> (supplier of updated patsy 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, 31 Aug 2026 15:49:13 +0200
Source: patsy
Architecture: source
Version: 1.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1145292
Changes:
 patsy (1.0.3-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Alexandre Detiste ]
   * apply Multiarch hint
 .
   [ Andreas Tille ]
   * New upstream version
     Closes: #1145292
   * d/watch: version=5
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
Checksums-Sha1:
 bfafabbdd3c28313b05d53fb9a78ca4fe0f370b3 2266 patsy_1.0.3-1.dsc
 db8fc245049f1ed8a0db8c01446e81dc192a0724 398659 patsy_1.0.3.orig.tar.gz
 6fbd0431df4336b45cae64443bde09e7821f175e 8332 patsy_1.0.3-1.debian.tar.xz
 170218f70d2550dafb926c7963712f4490896a66 10908 patsy_1.0.3-1_amd64.buildinfo
Checksums-Sha256:
 92c72114cab06bc71bf66e5278f8a66d5175cc0a9a67dcdec07b99cd75360a4d 2266 
patsy_1.0.3-1.dsc
 fd8c9f60b9e41276aa92e76dcda4f64ae66defd40e2d551a977442ee174aefa1 398659 
patsy_1.0.3.orig.tar.gz
 ebf91bb2075927c7c8b282b8a8aef1fc3851b0b78c03b18be0f8739b905e6445 8332 
patsy_1.0.3-1.debian.tar.xz
 751de0f21acd0da97fc8335dab856513f52c67a980c129830016d579274df1e4 10908 
patsy_1.0.3-1_amd64.buildinfo
Files:
 91b7331b64e5e6e7a1ff44dedce219f6 2266 python optional patsy_1.0.3-1.dsc
 0a9716999a868be9db50abce3f97b3e5 398659 python optional patsy_1.0.3.orig.tar.gz
 c73dbae3f773dc789ec67b50125cf69f 8332 python optional 
patsy_1.0.3-1.debian.tar.xz
 d9d670fa210674c0421fb9083729be77 10908 python optional 
patsy_1.0.3-1_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmqVmdQRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHf2g//RWVs/EQjZWMEUWa7CYXfWdJgC6th9p5/
TLb38kL9jRCXKmCDKUlnmwYN407m2eZpHAuylSWg3EV2/1WAIaGemNEr7o864uWZ
aCmU8KvEkaNwGW+Ce9B1QVhCsWotLxQNJHeY1Z2PPmW++lBTkHUPXIFaGSq0nrkR
1fh3sUj8VSNAGMjuocuYEshnHac44S4fCUC2MyHEwvNrUui9eQb/FMyNQTXIfm6C
7qc0DaZM8mZRLoMrHA2VbJVCyPf4fCMTuHuz7Tq3JjNzXonoyKCAJCXf7I05YTc7
VBN946fOR2tAEW0PU0EF+/KGbtlRXSp3T8PndhCxr8ECIIZHtm+ocnVXhShpXsn0
pH45hbSM+mWU6pf0IVnZfZADM6wpThIoNggU837d1nBPs9GDNBG96wX78CiwsRjW
fnPnpVQ1NUCdsMKmyG5EYjMDf+kArIfI/3z56sCSYVnKlxMmLZ78fCwnB2CTdd+I
Qz3AH2BklS41HZERmFMBR8M9aX4VO3TVEneKkSnBwpXkMAbIit8aDEpIfyP2+bQ7
UQ8xSf0ThcrMdyRKYQ6otcHyjm5/5xA1e6CIpGrmpNWaX+PfTyOmLc2qfqiZt8Mf
Aj47pOChqVslyUBVi+oFsK4wPrjOEw6Vy/yrl43G/zpJQmtE7mHfSYHLLZDsC5b/
jXwv5n76NU0=
=9po5
-----END PGP SIGNATURE-----

Attachment: pgpiW9WXbFQpl.pgp
Description: PGP signature


--- End Message ---

Reply via email to