mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
4 Commits
3.8.12-112
...
fix-macos-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a0de94d02 | ||
|
|
852aa61b41 | ||
|
|
8038923f91 | ||
|
|
989f86547f |
@@ -13,29 +13,35 @@ Import-Module (Join-Path $PSScriptRoot "../builders/python-version.psm1")
|
||||
|
||||
BeforeAll {
|
||||
function Analyze-MissingModules([string] $buildOutputLocation) {
|
||||
$searchStringStart = "Failed to build these modules:"
|
||||
$searchStringEnd = "running build_scripts"
|
||||
$pattern = "$searchStringStart(.*?)$searchStringEnd"
|
||||
$searchStringStart = "Failed to build these modules:"
|
||||
$searchStringEnd = "running build_scripts"
|
||||
$pattern = "$searchStringStart(.*?)$searchStringEnd"
|
||||
|
||||
$buildContent = Get-Content -Path $buildOutputLocation
|
||||
$splitBuiltOutput = $buildContent -split "\n";
|
||||
$buildContent = Get-Content -Path $buildOutputLocation
|
||||
$splitBuiltOutput = $buildContent -split "\n"
|
||||
|
||||
### Search for missing modules that are displayed between the search strings
|
||||
$regexMatch = [regex]::match($SplitBuiltOutput, $Pattern)
|
||||
if ($regexMatch.Success)
|
||||
{
|
||||
$module = $regexMatch.Groups[1].Value.Trim()
|
||||
Write-Host "Failed missing modules:"
|
||||
Write-Host $module
|
||||
if ( ($module -eq "_tkinter") -and ( [semver]"$($Version.Major).$($Version.Minor)" -ge [semver]"3.10" -and $Version.PreReleaseLabel ) ) {
|
||||
Write-Host "$module $Version ignored"
|
||||
} else {
|
||||
return 1
|
||||
}
|
||||
### Search for missing modules that are displayed between the search strings
|
||||
$regexMatch = [regex]::match($splitBuiltOutput, $pattern)
|
||||
if ($regexMatch.Success) {
|
||||
$module = $regexMatch.Groups[1].Value.Trim()
|
||||
Write-Host "Failed missing modules:"
|
||||
Write-Host $module
|
||||
try {
|
||||
$semver = [semver]"$($Version.Major).$($Version.Minor)"
|
||||
} catch {
|
||||
Write-Error "Invalid Semantic Version format: $Version"
|
||||
return 1
|
||||
}
|
||||
|
||||
return 0
|
||||
if (($module -eq "_tkinter") -and ($semver -ge [semver]"3.8")) {
|
||||
Write-Host "$module $Version ignored"
|
||||
} else {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Tests" {
|
||||
@@ -54,7 +60,7 @@ Describe "Tests" {
|
||||
# linux has no display name and no $DISPLAY environment variable - skip tk test
|
||||
# if (-not (($Platform -match "ubuntu") -or ($Platform -match "linux"))) {
|
||||
# It "Check if tcl/tk has the same headed and library versions" {
|
||||
# "python ./sources/tcltk.py" | Should -ReturnZeroExitCode
|
||||
# "python ./sources/tcltk.py" | Should -ReturnZeroExitCode
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
@@ -41,78 +41,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.13.0",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.13.0-11228081754",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.13.0-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-linux-24.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-win32-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.13.0-win32-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-11228081754/python-3.13.0-win32-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.13.0-rc.3",
|
||||
"stable": false,
|
||||
@@ -6187,240 +6115,163 @@
|
||||
{
|
||||
"version": "3.8.17",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.17-11228156509",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.17-5199874912",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.17-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-5199874912/python-3.8.17-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.17-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.17-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-5199874912/python-3.8.17-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.17-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.17-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.17-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-11228156509/python-3.8.17-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.17-5199874912/python-3.8.17-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.16",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.16-11228150325",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.16-3888430809",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.16-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.16-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-11228150325/python-3.8.16-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.15",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.15-11228144472",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.15-3601364564",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.15-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-11228144472/python-3.8.15-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.14",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.14-11228133045",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.14-3008344966",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.14-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-3008344966/python-3.8.14-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-3008344966/python-3.8.14-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-3008344966/python-3.8.14-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.14-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-11228133045/python-3.8.14-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.14-3008344966/python-3.8.14-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.13",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.13-11228121154",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.13-2717995909",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.13-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-2717995909/python-3.8.13-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-2717995909/python-3.8.13-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-2717995909/python-3.8.13-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.13-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-11228121154/python-3.8.13-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.13-2717995909/python-3.8.13-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user