fix: update setup-python and other deps

This commit is contained in:
Amin Yahyaabadi 2023-04-21 11:38:35 -07:00
parent 941bccce95
commit 7b993ab70d
15 changed files with 227 additions and 236 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -67,16 +67,16 @@
"@npmcli/ci-detect": "^3.0.2", "@npmcli/ci-detect": "^3.0.2",
"@types/cross-spawn": "^6.0.2", "@types/cross-spawn": "^6.0.2",
"@types/eslint": "^8.37.0", "@types/eslint": "^8.37.0",
"@types/jest": "^29.5.0", "@types/jest": "^29.5.1",
"@types/mri": "^1.1.1", "@types/mri": "^1.1.1",
"@types/node": "^18.15.11", "@types/node": "^18.15.13",
"@types/npmcli__ci-detect": "^2.0.0", "@types/npmcli__ci-detect": "^2.0.0",
"@types/prettier": "2.7.2", "@types/prettier": "2.7.2",
"@types/semver": "^7.3.13", "@types/semver": "^7.3.13",
"@types/which": "^3.0.0", "@types/which": "^3.0.0",
"admina": "^0.1.3", "admina": "^0.1.3",
"caxa": "^3.0.1", "caxa": "^3.0.1",
"ci-log": "workspace:1.0.0", "ci-log": "workspace:*",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"cspell": "^6.31.1", "cspell": "^6.31.1",
@ -85,26 +85,26 @@
"escape-string-regexp": "^5.0.0", "escape-string-regexp": "^5.0.0",
"eslint": "^8.38.0", "eslint": "^8.38.0",
"eslint-config-atomic": "^1.18.3", "eslint-config-atomic": "^1.18.3",
"exec-powershell": "workspace:1.0.0", "exec-powershell": "workspace:*",
"execa": "^5.1.1", "execa": "^5.1.1",
"gen-readme": "^1.6.0", "gen-readme": "^1.6.0",
"is-url-online": "^1.5.0", "is-url-online": "^1.5.0",
"jest": "^29.5.0", "jest": "^29.5.0",
"mri": "^1.2.0", "mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#9f672c1", "msvc-dev-cmd": "github:aminya/msvc-dev-cmd#9f672c1",
"npm-check-updates": "^16.10.8", "npm-check-updates": "^16.10.9",
"npm-run-all2": "^6.0.5", "npm-run-all2": "^6.0.5",
"numerous": "1.0.3", "numerous": "1.0.3",
"parcel": "2.8.3", "parcel": "2.8.3",
"path-exists": "^4.0.0", "path-exists": "^4.0.0",
"patha": "^0.4.1", "patha": "^0.4.1",
"prettier": "2.8.7", "prettier": "2.7.1",
"prettier-config-atomic": "^3.1.0", "prettier-config-atomic": "^3.1.0",
"quote-unquote": "^1.0.0", "quote-unquote": "^1.0.0",
"readme-md-generator": "^1.0.0", "readme-md-generator": "^1.0.0",
"retry-as-promised": "^7.0.4", "retry-as-promised": "^7.0.4",
"semver": "7.4.0", "semver": "7.3.8",
"setup-python": "github:actions/setup-python#v4.5.0", "setup-python": "github:actions/setup-python#v4.6.0",
"shx": "0.3.4", "shx": "0.3.4",
"terser-config-atomic": "^0.1.1", "terser-config-atomic": "^0.1.1",
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e", "time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
@ -113,8 +113,8 @@
"ts-readme": "^1.1.3", "ts-readme": "^1.1.3",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"ubuntu-version": "^2.0.0", "ubuntu-version": "^2.0.0",
"untildify-user": "workspace:1.0.0", "untildify-user": "workspace:*",
"user-access": "workspace:1.0.0", "user-access": "workspace:*",
"which": "^3.0.0" "which": "^3.0.0"
}, },
"engines": { "engines": {

File diff suppressed because it is too large Load Diff

View File

@ -36,11 +36,11 @@ export async function setupActionsPython(version: string, _setupDir: string, arc
if (version) { if (version) {
let pythonVersion: string let pythonVersion: string
if (isPyPyVersion(version)) { if (isPyPyVersion(version)) {
const installed = await findPyPyVersion(version, arch, true, checkLatest) const installed = await findPyPyVersion(version, arch, true, checkLatest, false)
pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}` pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`
info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`) info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)
} else { } else {
const installed = await useCpythonVersion(version, arch, true, checkLatest) const installed = await useCpythonVersion(version, arch, true, checkLatest, false)
pythonVersion = installed.version pythonVersion = installed.version
info(`Successfully set up ${installed.impl} (${pythonVersion})`) info(`Successfully set up ${installed.impl} (${pythonVersion})`)
} }