public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/ganglia] rawhide: Support Python 3.16
Date: Sat, 21 Nov 2026 10:32:21 GMT	[thread overview]
Message-ID: <179525714162.1.4062402629318337423.rpms-ganglia-13b1b876da28@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ganglia
Branch : rawhide
Commit : 13b1b876da28e4780d2fbbac80f78ab45a891ab8
Author : Terje Røsten <terjeros@gmail.com>
Date   : 2026-11-21T10:31:42+00:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ganglia/c/13b1b876da28e4780d2fbbac80f78ab45a891ab8?branch=rawhide

Log:
Support Python 3.16

---
diff --git a/ganglia-3.7.2-py316.patch b/ganglia-3.7.2-py316.patch
new file mode 100644
index 0000000..d2595c5
--- /dev/null
+++ b/ganglia-3.7.2-py316.patch
@@ -0,0 +1,12 @@
+diff --git a/gmond/modules/python/mod_python.c b/gmond/modules/python/mod_python.c
+index ed5a401..438b6e3 100644
+--- a/gmond/modules/python/mod_python.c
++++ b/gmond/modules/python/mod_python.c
+@@ -590,7 +590,6 @@ static int pyth_metric_init (apr_pool_t *p)
+     PyObject *addpath = PyString_FromString(path);
+     PyList_Append(sys_path, addpath);
+ 
+-    PyEval_InitThreads();
+     gtstate = PyEval_SaveThread();
+ 
+     /* Initialize each python module */

diff --git a/ganglia.spec b/ganglia.spec
index 329c903..c7636e1 100644
--- a/ganglia.spec
+++ b/ganglia.spec
@@ -31,10 +31,14 @@
 %global httpd24         1
 %endif
 
+%if 0%{?fedora} > 44
+%global py316           1
+%endif
+
 Summary:            Distributed Monitoring System
 Name:               ganglia
 Version:            %{gangver}
-Release:            67%{?dist}
+Release:            68%{?dist}
 # Automatically converted from old format: BSD - review is highly recommended.
 License:            LicenseRef-Callaway-BSD
 URL:                https://github.com/ganglia
@@ -62,6 +66,7 @@ Patch34:            0005-First-loop-might-contain-non-integer-input.patch
 Patch35:            0001-Fix-return-value-from-mod_python-init.patch
 Patch40:            ganglia-3.7.2-autoconf-python3.patch
 Patch50:            ganglia-3.7.2-pcre2.patch
+Patch51:            ganglia-3.7.2-py316.patch
 %if 0%{?systemd}
 BuildRequires:      systemd
 %endif
@@ -211,6 +216,9 @@ programmers can use to build scalable cluster or grid applications
 %if 0%{?pcre2}
 %patch -P 50 -p1
 %endif
+%if 0%{?py316}
+%patch -P 51 -p1
+%endif
 # fix broken systemd support
 install -m 0644 %{SOURCE2} gmond/gmond.service.in
 install -m 0644 %{SOURCE3} gmetad/gmetad.service.in
@@ -501,6 +509,9 @@ end
 %dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name}-web/dwoo/compiled
 
 %changelog
+* Sat Nov 21 2026 Terje Røsten <terjeros@gmail.com> - 3.7.2-68
+- Support Python 3.16
+
 * Mon Jul 27 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 3.7.2-67
 - Use sysusers on RHEL 11
 

                 reply	other threads:[~2026-11-21 10:32 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=179525714162.1.4062402629318337423.rpms-ganglia-13b1b876da28@fedoraproject.org \
    --to=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