public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-toolz] rawhide: Fix compatibility with Python 3.15
Date: Wed, 03 Jun 2026 09:51:51 GMT	[thread overview]
Message-ID: <178048031151.1.9203282290687417099.rpms-python-toolz-3928e5e12a86@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-03  9:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178048031151.1.9203282290687417099.rpms-python-toolz-3928e5e12a86@fedoraproject.org \
    --to=ksurma@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox