From 8bfdaee5743858a73c9f9d27ec985c5e1951b805 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 12 Jun 2022 13:00:26 -0700 Subject: [PATCH] pkgs/sage-legacy-install-cleaner/setup.py: Restore multiprocessing fix --- pkgs/sage-legacy-install-cleaner/setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/sage-legacy-install-cleaner/setup.py b/pkgs/sage-legacy-install-cleaner/setup.py index 7c843ddadee..51c9baadd13 100755 --- a/pkgs/sage-legacy-install-cleaner/setup.py +++ b/pkgs/sage-legacy-install-cleaner/setup.py @@ -9,6 +9,12 @@ from distutils import log from setuptools import setup +# Work around a Cython problem in Python 3.8.x on macOS +# https://github.com/cython/cython/issues/3262 +if os.uname().sysname == 'Darwin': + import multiprocessing + multiprocessing.set_start_method('fork', force=True) + ######################################################### ### Set source directory #########################################################