[17083] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9197] t_otp.py fails when run using Python 3.14

daemon@ATHENA.MIT.EDU (Simon Johnsson via RT)
Tue Feb 17 11:32:30 2026

From: "Simon Johnsson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To: <CAGCj8J8CeNryJUWk1MFfN5r0qCYa8Wk8uYV=A-uijHDmjhN0NQ@mail.gmail.com>
Message-ID: <rt-4.4.3-2-1685647-1771345943-529.9197-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9197":;
Date: Tue, 17 Feb 2026 11:32:24 -0500
MIME-Version: 1.0
Reply-To: rt-comment@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


Tue Feb 17 11:32:23 2026: Request 9197 was acted upon.
 Transaction: Ticket created by simon.johnsson@canonical.com
       Queue: krb5
     Subject: t_otp.py fails when run using Python 3.14
       Owner: Nobody
  Requestors: simon.johnsson@canonical.com
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9197 >


Hi there!

When building krb5 using Python 3.14, I discovered a test error. Python's
multiprocessing module now uses `forkserver` as the default start method
unless specified otherwise (see
https://docs.python.org/3/whatsnew/3.14.html#multiprocessing). This breaks
`src/tests/t_otp.py` when the daemon starts. A temporary fix is to force
the start method to use `fork` instead. However, this test should probably
be rewritten to respect `forkserver` instead.

All the best,
Simon

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post