fix: use python 3.9.7

This commit is contained in:
Amin Yahyaabadi 2021-09-18 09:16:07 -05:00
parent 520073832d
commit d749362c4e
4 changed files with 4 additions and 4 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ const DefaultVersions: Record<string, string> = {
gcovr: "5.0",
conan: "1.40.1",
meson: "0.59.1",
python: "3.x",
python: "3.9.7",
gcc: process.platform === "win32" ? "11.2.0" : "11",
}

View File

@ -10,7 +10,7 @@ let hasChoco = false
/** A function that installs a package using choco */
export async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise<InstallationInfo> {
if (!hasChoco || which.sync("choco", { nothrow: true }) === null) {
await setupChocolatey("", "", process.arch)
setupChocolatey("", "", process.arch)
hasChoco = true
}