public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/getmail6] epel10: Python 3.14 fixes
@ 2026-08-10 19:05 Dick Marinus
0 siblings, 0 replies; only message in thread
From: Dick Marinus @ 2026-08-10 19:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/getmail6
Branch : epel10
Commit : b6aadf1cd209afaa7dd3f2b4646eb354bb949238
Author : Dick Marinus <dick@mrns.nl>
Date : 2025-05-20T21:07:22+02:00
Stats : +71/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/getmail6/c/b6aadf1cd209afaa7dd3f2b4646eb354bb949238?branch=epel10
Log:
Python 3.14 fixes
---
diff --git a/0001-Python-3.14-fixes.patch b/0001-Python-3.14-fixes.patch
new file mode 100644
index 0000000..f9d75f7
--- /dev/null
+++ b/0001-Python-3.14-fixes.patch
@@ -0,0 +1,70 @@
+From 0bcfa1642b836b21cc9b158dbf05dff2f1032ab6 Mon Sep 17 00:00:00 2001
+From: Dick Marinus <dick@mrns.nl>
+Date: Tue, 20 May 2025 21:03:40 +0200
+Subject: [PATCH] Python 3.14 fixes
+
+---
+ test/test_mock_servers.py | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/test/test_mock_servers.py b/test/test_mock_servers.py
+index 336cff1..ed01fb6 100644
+--- a/test/test_mock_servers.py
++++ b/test/test_mock_servers.py
+@@ -113,7 +113,7 @@ def get_getmail():
+ spec = spec_from_loader("getmail", SourceFileLoader("getmail", "getmail"))
+ getmail = module_from_spec(spec)
+ spec.loader.exec_module(getmail)
+- return getmail
++ getmail.main()
+
+
+ def mbox_init(tmpdir):
+@@ -167,7 +167,7 @@ def test_pop3(destination_type, destination_init):
+ """
+ )
+ )
+- p = multiprocessing.Process(target=get_getmail().main, args=())
++ p = multiprocessing.Process(target=get_getmail, args=())
+ p.start()
+ mock_tcp.accept()
+ mock_tcp.send("+OK:\n")
+@@ -219,7 +219,7 @@ def test_pop3_broken_uidl(destination_type, destination_init):
+ """
+ )
+ )
+- p = multiprocessing.Process(target=get_getmail().main, args=())
++ p = multiprocessing.Process(target=get_getmail, args=())
+ p.start()
+ mock_tcp.accept()
+ mock_tcp.send("+OK:\n")
+@@ -293,7 +293,7 @@ def test_pop3_multidrop(destination_type, destination_init):
+ """
+ )
+ )
+- p = multiprocessing.Process(target=get_getmail().main, args=())
++ p = multiprocessing.Process(target=get_getmail, args=())
+ p.start()
+ mock_tcp.accept()
+ mock_tcp.send("+OK:\n")
+@@ -345,7 +345,7 @@ def test_imap(destination_type, destination_init):
+ """
+ )
+ )
+- p = multiprocessing.Process(target=get_getmail().main, args=())
++ p = multiprocessing.Process(target=get_getmail, args=())
+ p.start()
+ mock_tcp.accept()
+ mock_tcp.send("* OK\r\n")
+@@ -402,7 +402,7 @@ def test_imap_full():
+ """
+ )
+ )
+- p = multiprocessing.Process(target=get_getmail().main, args=())
++ p = multiprocessing.Process(target=get_getmail, args=())
+ p.start()
+ mock_tcp.accept()
+ mock_tcp.send("* OK\r\n")
+--
+2.49.0
+
diff --git a/getmail6.spec b/getmail6.spec
index 236ce7d..6b5dca1 100644
--- a/getmail6.spec
+++ b/getmail6.spec
@@ -5,6 +5,7 @@ Summary: A mail retrieval, sorting, and delivering system
License: GPL-2.0-only and Apache-2.0
URL: https://www.getmail6.org/
Source: %{pypi_source getmail6}
+Patch: 0001-Python-3.14-fixes.patch
BuildArch: noarch
BuildRequires: python3-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 19:05 [rpms/getmail6] epel10: Python 3.14 fixes Dick Marinus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox