diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index 049dff4b7e73..d63fe3f357af 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -197,7 +197,7 @@ def _activate_virtualenv(topdir, is_firefox): if need_pip_upgrade: # Upgrade pip when virtualenv is created to fix the issue # https://github.com/servo/servo/issues/11074 - _process_exec([python, "-m", "pip", "install", "-I", "-U", "pip"]) + _process_exec([python, "-m", "pip", "install", "-I", "-U", "pip<20"]) for req_rel_path in requirements_paths: req_path = os.path.join(topdir, req_rel_path)