mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
Since Python 3.14, the multiprocessing library API has changed. Quoting [1]: """ On POSIX platforms the default start method was changed from fork to forkserver to retain the performance but avoid common multithreaded process incompatibilities. """ Since this is expected to be under "if __name__ == '__main__'", we need to have this in support/testing/run-tests regardless of how this will be fixed in nose2. See [2]. Fixes: [3] [1] https://docs.python.org/3.14/library/multiprocessing.html#contexts-and-start-methods [2] https://docs.python.org/3.14/library/multiprocessing.html#multiprocessing.set_start_method [3] https://gitlab.com/buildroot.org/buildroot/-/issues/156 Signed-off-by: Jimmy Durand Wesolowski <jimmy.wesolowski@mobileye.com> [Julien: slightly reword commit log and add links] Signed-off-by: Julien Olivain <ju.o@free.fr>