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: 3 additions & 1 deletion testing/integration-testing-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ export async function getMlaunchPath(): Promise<{ exec: string[], env: Record<st
return mlaunchPath = { exec: [ python, exec ], env: { PYTHONPATH: tmpdir } };
}
ciLog('Trying to install mlaunch in ', tmpdir);
await execFile('pip3', ['install', '--target', tmpdir, 'mtools[mlaunch]']);
// Pin pymongo to 3.12.2 because mlaunch does not seem to be compatible
// with 4.0, see https://jira.mongodb.org/browse/MONGOSH-1072
await execFile('pip3', ['install', '--target', tmpdir, 'mtools[mlaunch]', 'pymongo==3.12.2']);
ciLog('Installation complete');
[ exec ] = await tryExtensions(mlaunchPy);
if (exec) {
Expand Down