public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-toolz] rawhide: Fix compatibility with Python 3.15
@ 2026-06-03  9:51 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-03  9:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-toolz
Branch : rawhide
Commit : 3928e5e12a8605e1592a145d7b8b9a63fe945de1
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-05-21T23:33:49+02:00
Stats  : +25/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-toolz/c/3928e5e12a8605e1592a145d7b8b9a63fe945de1?branch=rawhide

Log:
Fix compatibility with Python 3.15

---
diff --git a/624.patch b/624.patch
new file mode 100644
index 0000000..dbd332a
--- /dev/null
+++ b/624.patch
@@ -0,0 +1,23 @@
+From 8f23a9a2d5f07ff0c790ee1e2bdef023ff252cc1 Mon Sep 17 00:00:00 2001
+From: Karolina Surma <ksurma@redhat.com>
+Date: Thu, 21 May 2026 23:30:41 +0200
+Subject: [PATCH] Add frozendict signature (Python 3.15 compatibility)
+
+---
+ toolz/_signatures.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/toolz/_signatures.py b/toolz/_signatures.py
+index 27229ef4..a14ca33a 100644
+--- a/toolz/_signatures.py
++++ b/toolz/_signatures.py
+@@ -109,6 +109,9 @@
+     format=[
+         lambda value: None,
+         lambda value, format_spec: None],
++    frozendict=[
++        lambda **kwargs: None,
++        lambda mapping, **kwargs: None],
+     frozenset=[
+         lambda: None,
+         lambda iterable: None],

diff --git a/python-toolz.spec b/python-toolz.spec
index 23ead03..bdf7df7 100644
--- a/python-toolz.spec
+++ b/python-toolz.spec
@@ -39,6 +39,8 @@ URL:            https://github.com/pytoolz/%{srcname}/
 Source0:        https://github.com/pytoolz/toolz/archive/%{version}/%{srcname}-%{version}.tar.gz
 # Add python 3.14 support
 Patch:          %{url}/pull/592.patch
+# Add python 3.15 support
+Patch:          %{url}/pull/624.patch
 BuildArch:      noarch
 
 %description

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

only message in thread, other threads:[~2026-06-03  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03  9:51 [rpms/python-toolz] rawhide: Fix compatibility with Python 3.15 Karolina Surma

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