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

A new commit has been pushed.

Repo   : rpms/eric
Branch : rawhide
Commit : bef8116d79e0945d7d7c1078754c848dfaaaef6e
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-05-04T12:53:29+02:00
Stats  : +77/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/eric/c/bef8116d79e0945d7d7c1078754c848dfaaaef6e?branch=rawhide

Log:
Allow building with Python 3.15

---
diff --git a/allow-python3.15-build.patch b/allow-python3.15-build.patch
new file mode 100644
index 0000000..8314008
--- /dev/null
+++ b/allow-python3.15-build.patch
@@ -0,0 +1,75 @@
+From 344cc02ba269673443e79bbc7d74c6750dfbcf45 Mon Sep 17 00:00:00 2001
+From: Karolina Surma <ksurma@redhat.com>
+Date: Mon, 4 May 2026 10:26:17 +0200
+Subject: [PATCH] Allow building with Python 3.15
+
+---
+ eric/scripts/install-debugclients.py | 4 ++--
+ eric/scripts/install.py              | 4 ++--
+ install-debugclients.py              | 4 ++--
+ install.py                           | 4 ++--
+ 4 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/eric/scripts/install-debugclients.py b/eric/scripts/install-debugclients.py
+index ab46e3f..531e39b 100644
+--- a/eric/scripts/install-debugclients.py
++++ b/eric/scripts/install-debugclients.py
+@@ -351,8 +351,8 @@ def doDependancyChecks():
+         print("\n")
+ 
+     # perform dependency checks
+-    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 15, 0):
+-        print("Sorry, you must have Python 3.9.0 or higher, but less 3.15.0.")
++    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 16, 0):
++        print("Sorry, you must have Python 3.9.0 or higher, but less 3.16.0.")
+         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
+         exit(5)
+ 
+diff --git a/eric/scripts/install.py b/eric/scripts/install.py
+index 9279db5..60d05e9 100644
+--- a/eric/scripts/install.py
++++ b/eric/scripts/install.py
+@@ -1608,8 +1608,8 @@ def doDependancyChecks():
+         print("\n")
+ 
+     # perform dependency checks
+-    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 15, 0):
+-        print("Sorry, you must have Python 3.9.0 or higher, but less 3.15.0.")
++    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 16, 0):
++        print("Sorry, you must have Python 3.9.0 or higher, but less 3.16.0.")
+         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
+         exit(5)
+ 
+diff --git a/install-debugclients.py b/install-debugclients.py
+index ab46e3f..531e39b 100644
+--- a/install-debugclients.py
++++ b/install-debugclients.py
+@@ -351,8 +351,8 @@ def doDependancyChecks():
+         print("\n")
+ 
+     # perform dependency checks
+-    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 15, 0):
+-        print("Sorry, you must have Python 3.9.0 or higher, but less 3.15.0.")
++    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 16, 0):
++        print("Sorry, you must have Python 3.9.0 or higher, but less 3.16.0.")
+         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
+         exit(5)
+ 
+diff --git a/install.py b/install.py
+index 9279db5..60d05e9 100644
+--- a/install.py
++++ b/install.py
+@@ -1608,8 +1608,8 @@ def doDependancyChecks():
+         print("\n")
+ 
+     # perform dependency checks
+-    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 15, 0):
+-        print("Sorry, you must have Python 3.9.0 or higher, but less 3.15.0.")
++    if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 16, 0):
++        print("Sorry, you must have Python 3.9.0 or higher, but less 3.16.0.")
+         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
+         exit(5)
+ 
+-- 
+2.54.0
+

diff --git a/eric.spec b/eric.spec
index a68e2aa..291b53e 100644
--- a/eric.spec
+++ b/eric.spec
@@ -22,6 +22,8 @@ Source32: eric-64.png
 Patch100: eric7-23.9-defaults.patch
 # build with Python 3.14
 Patch101: eric7-25.6.1-python314.patch
+# build with Python 3.15
+Patch102: allow-python3.15-build.patch
 
 BuildArch: noarch
 # webengine not available on all archs

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

only message in thread, other threads:[~2026-06-03  9:21 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:21 [rpms/eric] rawhide: Allow building 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