@@ -143,12 +143,13 @@ def main(): # noqa: C901
143143
144144 if options ['local_mache' ]:
145145 print ('Install local mache\n ' )
146- commands = f'source { conda_base } /etc/profile.d/conda.sh && ' \
147- f'conda activate { conda_env_name } && ' \
148- f'conda install -y importlib_resources jinja2' \
149- f' lxml pyyaml progressbar2 && ' \
150- f'cd ../build_mache/mache && ' \
151- f'python -m pip install --no-deps .'
146+ commands = \
147+ f'source { conda_base } /etc/profile.d/conda.sh && ' \
148+ f'conda activate { conda_env_name } && ' \
149+ f'conda install -y importlib_resources jinja2' \
150+ f' lxml pyyaml progressbar2 && ' \
151+ f'cd ../build_mache/mache && ' \
152+ f'python -m pip install --no-deps --no-build-isolation .'
152153 check_call (commands , logger = options ['logger' ])
153154
154155 previous_conda_env = conda_env_name
@@ -618,7 +619,7 @@ def _build_conda_env(options, activate_base):
618619 f'{ activate_env } && ' \
619620 f'cd { source_path } && ' \
620621 f'rm -rf polaris.egg-info && ' \
621- f'python -m pip install --no-deps -e .'
622+ f'python -m pip install --no-deps --no-build-isolation - e .'
622623 check_call (commands , logger = logger )
623624
624625 print ('Installing pre-commit\n ' )
@@ -682,7 +683,7 @@ def _build_jigsaw(options, activate_env, source_path, conda_env_path):
682683 commands = \
683684 f'{ activate_env } && ' \
684685 f'cd { source_path } /jigsaw-python && ' \
685- f'python -m pip install --no-deps -e . && ' \
686+ f'python -m pip install --no-deps --no-build-isolation - e . && ' \
686687 f'cp jigsawpy/_bin/* ${{CONDA_PREFIX}}/bin'
687688 check_call (commands , logger = logger )
688689
@@ -1061,7 +1062,8 @@ def _write_load_polaris(options, prefix, spack_script, env_vars):
10611062 # update the polaris installation to point here
10621063 mkdir -p deploy_tmp/logs
10631064 echo Reinstalling polaris package in edit mode...
1064- python -m pip install --no-deps -e . &> deploy_tmp/logs/install_polaris.log
1065+ python -m pip install --no-deps --no-build-isolation -e . \\
1066+ &> deploy_tmp/logs/install_polaris.log
10651067 echo Done.
10661068 echo
10671069 fi
0 commit comments