Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testing/integration-testing-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export async function getMlaunchPath(): Promise<{ exec: string[], env: Record<st
// with 4.0, see https://jira.mongodb.org/browse/MONGOSH-1072
// Also pin mlaunch to 1.6.4, since we have Python 3.6 in CI and 1.7.0
// drops Python 3.6 support.
await execFile('pip3', ['install', '--target', tmpdir, 'mtools[mlaunch]==1.6.4', 'pymongo==3.12.2']);
await execFile('pip3', ['install', '--no-cache-dir', '--target', tmpdir, 'mtools[mlaunch]==1.6.4', 'pymongo==3.12.2']);
ciLog('Installation complete');
[ exec ] = await tryExtensions(mlaunchPy);
if (exec) {
Expand All @@ -145,7 +145,7 @@ export async function getMlaunchPath(): Promise<{ exec: string[], env: Record<st
}
}
ciLog('Trying to install mlaunch in ', { pythonBase, pythonPath });
await execFile('pip3', ['install', '--user', 'mtools[mlaunch]']);
await execFile('pip3', ['install', '--no-cache-dir', '--user', 'mtools[mlaunch]']);
ciLog('Installation complete');
const [ exec, lastErr ] = await tryExtensions(mlaunchExec);
if (exec) {
Expand Down