public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Gansser <mgansser@netcom-mail.de>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyliblo3] rawhide: Remove obsolete PyEval_InitThreads() call from generated C code for Python 3.16
Date: Wed, 25 Nov 2026 13:18:15 GMT	[thread overview]
Message-ID: <179561269514.1.15176777203684973741.rpms-python-pyliblo3-fa1af31f627b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pyliblo3
Branch : rawhide
Commit : fa1af31f627b0639d5bc22cd1c501167af282bbc
Author : Martin Gansser <mgansser@netcom-mail.de>
Date   : 2026-11-25T14:17:55+01:00
Stats  : +7/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyliblo3/c/fa1af31f627b0639d5bc22cd1c501167af282bbc?branch=rawhide

Log:
Remove obsolete PyEval_InitThreads() call from generated C code for Python 3.16

---
diff --git a/python-pyliblo3.spec b/python-pyliblo3.spec
index e0fe26a..ec4d7b1 100644
--- a/python-pyliblo3.spec
+++ b/python-pyliblo3.spec
@@ -5,7 +5,7 @@ Name:           python-pyliblo3
 %global snapinfo ^%{snapdate}git%{sub %{commit} 1 7}
 #Version:        0.16.2%%{snapinfo}
 Version:        0.16.3
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Python bindings for the liblo Open Sound Control (OSC) library
 # Main code is LGPL-2.1-or-later
 License:        LGPL-2.1-or-later
@@ -64,6 +64,9 @@ chmod 644 NEWS README.md COPYING
 
 %build
 cython -I pyliblo3 pyliblo3/_liblo.pyx
+# PyEval_InitThreads() was removed in Python 3.16. It has been a no-op
+# since Python 3.7, so remove the obsolete call from Cython's generated C code.
+sed -i '/^[[:space:]]*PyEval_InitThreads();[[:space:]]*$/d' pyliblo3/_liblo.c
 %pyproject_wheel
 
 %install
@@ -89,6 +92,9 @@ cp -a scripts/dump_osc.1 scripts/send_osc.1 %{buildroot}%{_mandir}/man1/
 %doc examples/
 
 %changelog
+* Wed Nov 25 2026 Martin Gansser <martinkg@fedoraproject.org> - 0.16.3-12
+- Remove obsolete PyEval_InitThreads() call from generated C code for Python 3.16
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 0.16.3-11
 - Rebuilt for Python 3.15.0b4 ABI change
 

                 reply	other threads:[~2026-11-25 13:18 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=179561269514.1.15176777203684973741.rpms-python-pyliblo3-fa1af31f627b@fedoraproject.org \
    --to=mgansser@netcom-mail.de \
    --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