[krbdev.mit.edu #9197] t_otp.py fails when run using Python 3.14
"Simon Johnsson via RT" <[email protected]> Tue, 17 Feb 2026 11:32:24 -0500
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Tue Feb 17 11:32:23 2026: Request 9197 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: t_otp.py fails when run using Python 3.14 Owner: Nobody Requestors: [email protected] 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