From 9a65b896635e5f3c600ca93222c456629847b848 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 15 Mar 2024 13:44:12 -0700 Subject: [PATCH] Don't install any dependencies from pip --- conda/bootstrap.py | 8 ++++---- conda/configure_compass_env.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conda/bootstrap.py b/conda/bootstrap.py index fc62f39bd6..12f0807522 100755 --- a/conda/bootstrap.py +++ b/conda/bootstrap.py @@ -383,7 +383,7 @@ def build_conda_env(env_type, recreate, mpi, conda_mpi, version, f'{activate_env} && ' \ f'cd {source_path} && ' \ f'rm -rf compass.egg-info && ' \ - f'python -m pip install -e .' + f'python -m pip install --no-deps -e .' check_call(commands, logger=logger) print('Installing pre-commit\n') @@ -649,11 +649,11 @@ def write_load_compass(template_path, activ_path, conda_base, env_type, mkdir -p conda/logs echo Reinstalling compass package in edit mode... rm -rf compass.egg-info - python -m pip install -e . &> conda/logs/install_compass.log + python -m pip install --no-deps -e . &> conda/logs/install_compass.log echo Done. echo fi - """ + """ # noqa: E501 else: update_compass = '' @@ -1053,7 +1053,7 @@ def main(): # noqa: C901 commands = f'source {conda_base}/etc/profile.d/conda.sh && ' \ f'conda activate {conda_env_name} && ' \ 'cd ../build_mache/mache && ' \ - 'python -m pip install .' + 'python -m pip install --no-deps .' check_call(commands, logger=logger) previous_conda_env = conda_env_name diff --git a/conda/configure_compass_env.py b/conda/configure_compass_env.py index 5f43bfe663..871b43901c 100755 --- a/conda/configure_compass_env.py +++ b/conda/configure_compass_env.py @@ -114,7 +114,7 @@ def main(): f'git clone -b {args.mache_branch} ' \ f'git@github.com:{args.mache_fork}.git mache && ' \ f'cd mache && ' \ - f'python -m pip install .' + f'python -m pip install --no-deps .' check_call(commands, logger=logger)