From 70b86614bd15347e28ec2cab4c87c01122faae16 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Wed, 5 Jan 2022 15:08:27 -0500 Subject: [PATCH] tools/provision: Bump required pip version from >=9.0 to >=10. pip 10 was the first release to support PEP 518. Using pip<10 can lead to errors when installing dependencies. Thanks to @andersk for suggesting this fix! --- tools/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/provision b/tools/provision index 0ca5436a..6f1d7546 100755 --- a/tools/provision +++ b/tools/provision @@ -97,7 +97,7 @@ the Python version this command is executed with.""" def install_dependencies(requirements_filename): pip_path = os.path.join(venv_dir, venv_exec_dir, "pip") # We first install a modern version of pip that supports --prefix - subprocess.call([pip_path, "install", "pip>=9.0"]) + subprocess.call([pip_path, "install", "pip>=10"]) if subprocess.call( [ pip_path,