public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-patsy] f45: New upstream source 1.0.3
@ 2026-09-07 14:17 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-09-07 14:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-patsy
Branch : f45
Commit : c492071631907a48c877a039ed9fecc8e9a27d80
Author : Sergio Pascual <sergiopr@fedoraproject.org>
Date   : 2026-09-07T15:57:52+02:00
Stats  : +3/-31 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-patsy/c/c492071631907a48c877a039ed9fecc8e9a27d80?branch=f45

Log:
New upstream source 1.0.3

---
diff --git a/.gitignore b/.gitignore
index dda2a27..b6cb99b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /patsy-0.5.6.tar.gz
 /patsy-1.0.1.tar.gz
 /patsy-1.0.2.tar.gz
+/patsy-1.0.3.tar.gz

diff --git a/258.patch b/258.patch
deleted file mode 100644
index 7d045eb..0000000
--- a/258.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 24675f8da0747ad3bfd4da406373054931f1f8ff Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
-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:

diff --git a/python-patsy.spec b/python-patsy.spec
index 13024f7..0093d80 100644
--- a/python-patsy.spec
+++ b/python-patsy.spec
@@ -8,7 +8,7 @@ design matrices. It is closely inspired by and compatible with
 the 'formula' mini-language used in R and S.}
 
 Name: python-%{srcname}
-Version: 1.0.2
+Version: 1.0.3
 Release: %autorelease
 Summary: Describing statistical models in Python using symbolic formulas
 # All code is under BSD except patsy.compat that is under Python
@@ -18,9 +18,6 @@ License: BSD-2-Clause AND PSF-2.0
 URL: https://github.com/pydata/patsy
 Source0:  %{pypi_source %srcname} 
 
-# Fix re.Scanner capturing group for Python 3.15+
-Patch: https://github.com/pydata/patsy/pull/258.patch
-
 BuildArch: noarch
 BuildRequires: python3-devel
 

diff --git a/sources b/sources
index 70b0597..250795e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (patsy-1.0.2.tar.gz) = 2a1d785359e8de364378785dcd00c882ec85b93e1075822b5399466ef7b4b71626725fd43a0fb01ad472aef5488ba0906ef4b5156b59c8a53846040d85866d35
+SHA512 (patsy-1.0.3.tar.gz) = e07e4aa27a6e78a2a0248e7d7834fd400fbea459ffe48120e639ccf0b924fd36daba349b914539ffba10de800ae3489408e104b002d229d2e3634fb0bd906ca9

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 14:17 [rpms/python-patsy] f45: New upstream source 1.0.3 Sergio Pascual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox