Skip to content

Commit ef45ded

Browse files
committed
restoring no-build-isolation
1 parent 3e7c1ec commit ef45ded

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

ci/install_python_env.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
subprocess.run([sys.executable, '-m', 'venv', str(venv_dir)], check=True)
3030

3131
venv_python = str(venv_dir / 'bin' / 'python3')
32-
subprocess.run([venv_python, '-m', 'pip', 'install', '--no-cache-dir', '--upgrade',
33-
'pip', 'setuptools', 'wheel'], check=True)
34-
subprocess.run([venv_python, '-m', 'pip', 'install', '--no-cache-dir', pygemc_src], check=True)
32+
subprocess.run([venv_python, '-m', 'pip', 'install', '--no-cache-dir',
33+
'--upgrade', 'pip', 'setuptools'], check=True)
34+
# --no-build-isolation avoids pip spawning an extra isolated build env, reducing memory pressure.
35+
subprocess.run([venv_python, '-m', 'pip', 'install', '--no-cache-dir',
36+
'--no-build-isolation', pygemc_src], check=True)

0 commit comments

Comments
 (0)