From db467aac631f04e1e21bfe63963b43bac3efd230 Mon Sep 17 00:00:00 2001 From: Chandrika Sivaramakrishnan Date: Tue, 26 Mar 2024 14:31:49 -0700 Subject: [PATCH] fix for issue#3159 (fix for deprecated pip --install-options) --- bootstrap.py | 2 +- requirements.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.py b/bootstrap.py index 19548817a4..8121b03c4c 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -123,7 +123,7 @@ def update(operation, verbose=None, offline=False, optional_requirements=[], rab # option_requirements contains wheel as first entry # Build option_requirements separately to pass install options - build_option = '--build-option' if wheeling else '--install-option' + build_option = '--build-option' if wheeling else '--config-settings' for requirement, options in option_requirements: args = [] diff --git a/requirements.py b/requirements.py index 80fa44c40e..249d9b56ce 100644 --- a/requirements.py +++ b/requirements.py @@ -30,7 +30,7 @@ # wheel version 0.31 has removed metadata.json file # https://github.com/pypa/wheel/issues/195 # so sticking to 0.30 for now. Could upgrade to wheel 0.31 with code changes -option_requirements = [('wheel==0.30', []), ('pyzmq==22.2.1', ['--zmq=bundled'])] +option_requirements = [('pip==24.0', []), ('wheel==0.30', []), ('pyzmq==22.2.1', ['--zmq=bundled'])] install_requires = ['gevent==21.12.0',