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 @@ -122,7 +122,9 @@ export async function getMlaunchPath(): Promise<{ exec: string[], env: Record<st
ciLog('Trying to install mlaunch in ', tmpdir);
// 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']);
// 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']);
ciLog('Installation complete');
[ exec ] = await tryExtensions(mlaunchPy);
if (exec) {
Expand Down