File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44import argparse
55import configparser
66from contextlib import closing
7+ import multiprocessing
78from multiprocessing import Event , Process , Pipe
89from multiprocessing .managers import BaseManager
910import os
1718import keepmenu
1819from keepmenu .keepmenu import DmenuRunner
1920
21+ # Python 3.14 changes the default to 'forkserver' on Linux.
22+ # Set to 'fork' for backward compatibility.
23+ multiprocessing .set_start_method ('fork' )
24+
2025
2126def find_free_port ():
2227 """Find random free port to use for BaseManager server
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ classifiers = [
3232 " Programming Language :: Python :: 3.11" ,
3333 " Programming Language :: Python :: 3.12" ,
3434 " Programming Language :: Python :: 3.13" ,
35+ " Programming Language :: Python :: 3.14" ,
3536 " Topic :: Utilities" ,
3637]
3738dependencies = [
You can’t perform that action at this time.
0 commit comments