public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dick Marinus <dick@mrns.nl>
To: git-commits@fedoraproject.org
Subject: [rpms/getmail6] epel10: Python 3.14 fixes
Date: Mon, 10 Aug 2026 19:05:46 GMT	[thread overview]
Message-ID: <178638874654.1.2667551768256389187.rpms-getmail6-b6aadf1cd209@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-10 19:05 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=178638874654.1.2667551768256389187.rpms-getmail6-b6aadf1cd209@fedoraproject.org \
    --to=dick@mrns.nl \
    --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