From 44256e4aa566b5cfea4ae82fa2cca72d3736bc3c Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Sun, 10 Mar 2019 22:25:28 +0100 Subject: [PATCH] Revert "Running 'pip install --upgrade setuptools' with 'sudo' on macOS, fixing #122" (#129) This reverts commit d79ca07bbbb1f515f706ab17b25d6ec1b5f95329. --- cibuildwheel/macos.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index a62aadd08..5ef450a1d 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -86,8 +86,7 @@ def call(args, env=None, cwd=None, shell=False): # install pip & wheel call(['python', get_pip_script, '--no-setuptools', '--no-wheel'], env=env) call(['pip', '--version'], env=env) - # sudo required, because the removal of the old version of setuptools might cause problems with newer pip versions (see issue #122) - call(['sudo', 'pip', 'install', '--upgrade', 'setuptools'], env=env) + call(['pip', 'install', '--upgrade', 'setuptools'], env=env) call(['pip', 'install', 'wheel'], env=env) call(['pip', 'install', 'delocate'], env=env)