public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-reportlab] f44: Fix the patch for python 3.15
@ 2026-11-10 12:49 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-11-10 12:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-reportlab
Branch : f44
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=f44
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 12:49 [rpms/python-reportlab] f44: Fix the patch for 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