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-reportlab] epel10: Fix the patch for python 3.15
Date: Tue, 10 Nov 2026 12:27:38 GMT	[thread overview]
Message-ID: <179431365885.1.4069062158231505446.rpms-python-reportlab-82814d25ef11@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-reportlab
Branch : epel10
Commit : 82814d25ef11966a578a3d375064461cf75adcbe
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-05-21T22:12:36+02:00
Stats  : +5/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-reportlab/c/82814d25ef11966a578a3d375064461cf75adcbe?branch=epel10

Log:
Fix the patch for python 3.15

---
diff --git a/python-reportlab-fix_python_3.15.patch b/python-reportlab-fix_python_3.15.patch
index 7e67408..b329cc1 100644
--- a/python-reportlab-fix_python_3.15.patch
+++ b/python-reportlab-fix_python_3.15.patch
@@ -1,15 +1,8 @@
---- a/src/reportlab/lib/utils.orig.py	2025-12-25 09:47:51.097384010 +0100
-+++ a/src/reportlab/lib/utils.py	2025-12-25 09:51:30.360382737 +0100
-@@ -581,7 +581,7 @@
-         path = os.path.join(dir,name+ext)
-         if os.path.isfile(path):
-             spec = importlib_util.spec_from_file_location(name,path)
--            return spec.loader.load_module()
-+            return spec.loader.exec_module()
-     raise ImportError('no suitable file found')
- 
- def rl_get_module(name,dir):
-@@ -600,7 +600,7 @@
+diff --git a/src/reportlab/lib/utils.py b/src/reportlab/lib/utils.py
+index 29ca08a..1024634 100644
+--- a/src/reportlab/lib/utils.py
++++ b/src/reportlab/lib/utils.py
+@@ -604,7 +604,7 @@ def rl_get_module(name,dir):
                  dir = _startswith_rl(dir)
                  dir = (dir=='.' or not dir) and _archive or os.path.join(_archive,dir.replace('/',os.sep))
                  zi = zipimport.zipimporter(dir)

                 reply	other threads:[~2026-11-10 12:27 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=179431365885.1.4069062158231505446.rpms-python-reportlab-82814d25ef11@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