Skip to content

Commit 7956ae4

Browse files
authored
fix(ci): pin mtools version to python3.6-compatible one (#1217)
1 parent a50d21c commit 7956ae4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testing/integration-testing-hooks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ export async function getMlaunchPath(): Promise<{ exec: string[], env: Record<st
122122
ciLog('Trying to install mlaunch in ', tmpdir);
123123
// Pin pymongo to 3.12.2 because mlaunch does not seem to be compatible
124124
// with 4.0, see https://jira.mongodb.org/browse/MONGOSH-1072
125-
await execFile('pip3', ['install', '--target', tmpdir, 'mtools[mlaunch]', 'pymongo==3.12.2']);
125+
// Also pin mlaunch to 1.6.4, since we have Python 3.6 in CI and 1.7.0
126+
// drops Python 3.6 support.
127+
await execFile('pip3', ['install', '--target', tmpdir, 'mtools[mlaunch]==1.6.4', 'pymongo==3.12.2']);
126128
ciLog('Installation complete');
127129
[ exec ] = await tryExtensions(mlaunchPy);
128130
if (exec) {

0 commit comments

Comments
 (0)