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

Julien Rische via RT rt-comment at krbdev.mit.edu
Tue Feb 17 13:47:21 EST 2026


https://krbdev.mit.edu/rt/Ticket/Display.html?id=9197
This is a comment.  It is not sent to the Requestor(s):

Hello Simon,

Indeed, I opened a pull request fixing this problem:
https://github.com/krb5/krb5/pull/1483

--
Julien Rische

On Tue, Feb 17, 2026 at 5:32 PM Simon Johnsson via RT
<rt-comment at krbdev.mit.edu> wrote:
>
>
> Tue Feb 17 11:32:23 2026: Request 9197 was acted upon.
>  Transaction: Ticket created by simon.johnsson at canonical.com
>        Queue: krb5
>      Subject: t_otp.py fails when run using Python 3.14
>        Owner: Nobody
>   Requestors: simon.johnsson at 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 at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krb5-bugs
>




More information about the krb5-bugs mailing list