Compare commits

...

30 Commits

Author SHA1 Message Date
Dmitry Shibanov
8beb652c81 extend check for all alpha versions of 3.11 python (#136) 2022-01-27 10:23:10 +03:00
Mikhail Timofeev
7e70acf5f2 Merge pull request #135 from mikhailkoliada/migrate_to_pester5
Migrate build pipeline to Pester v5
2022-01-25 11:28:40 +03:00
Mikhail Koliada
135879dbe3 assign results to a var 2022-01-24 20:31:33 +03:00
Mikhail Timofeev
765df7c393 Merge pull request #134 from shilovmaksim/shilovmaksim/get-python-versions
Migrate get-python-packages workflow from ado to gh
2022-01-24 11:03:27 +03:00
Mikhail Koliada
811f1bc41a install latest pester 2022-01-21 13:26:46 +03:00
Mikhail Koliada
133a2c6b96 Migrate build pipeline to Pester v5 2022-01-21 12:55:40 +03:00
Maksim Shilov
ba826d5d0b Correct names for workflow, jobs and workflows to trigger 2022-01-21 12:06:50 +03:00
Maksim Shilov
9975c96a92 Migrate get-python-packages to gh 2022-01-21 11:56:38 +03:00
Mikhail Timofeev
a5914bfabd Merge pull request #132 from mikhailkoliada/python_versions_gh_migrate
Migrate python-versions pipeline from AzDO to GH Actions
2022-01-17 10:54:57 +03:00
github-actions[bot]
af28f23a02 Update versions-manifest (#133)
Co-authored-by: Service account <no-reply@microsoft.com>
2022-01-16 18:47:43 +03:00
Mikhail Koliada
e3851845a3 Update python-builder.psm1 2022-01-15 14:28:07 +03:00
Mikhail Koliada
3beea61c1f specify architecture on setup 2022-01-14 19:56:43 +03:00
Mikhail Koliada
41f641758a another round of improvements 2022-01-14 19:53:00 +03:00
Mikhail Koliada
3792b6282a misc improvements 2022-01-14 12:03:40 +03:00
Mikhail Koliada
4a2af81ac1 Update .github/workflows/python-builder.yml
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-01-13 19:27:50 +03:00
Mikhail Koliada
59e54b2d8b Migrate python-versions pipeline to GH Actions 2022-01-13 18:38:58 +03:00
Mikhail Timofeev
c310309d73 Merge pull request #131 from actions/v-mkoliada/switch_to_win2019
Migrate windows pipelines to windows-2019
2021-12-22 16:50:33 +03:00
Mikhail Koliada
026f6eb35e Migrate windows pipelines to windows-2019 2021-12-22 14:34:13 +03:00
Mikhail Timofeev
71d3f7dafc Merge pull request #130 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/22/2021
2021-12-22 13:54:20 +03:00
Service account
79fa4f7a23 Update versions-manifest 2021-12-22 10:53:57 +00:00
Mikhail Timofeev
63966c6b23 Merge pull request #128 from actions/v-mkoliada/clean_macos-10.15_migration
Migrate macOS pipelines to macOS-10.15
2021-12-22 13:02:02 +03:00
Mikhail Koliada
e9b568c830 Migrate macOS pipelines to macOS-10.15 2021-12-22 12:34:45 +03:00
Mikhail Timofeev
9e322ab404 Merge pull request #129 from actions/python3.11_sqlite
Skip sqlite module test for python3.11.0-alpha.3
2021-12-22 10:58:11 +03:00
Mikhail Koliada
1499930abd Skip sqlite module test for python3.11 2021-12-21 20:51:08 +03:00
Mikhail Timofeev
5aa825ba9f Merge pull request #127 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/14/2021
2021-12-14 16:33:21 +03:00
Service account
1a5414fab1 Update versions-manifest 2021-12-14 13:26:26 +00:00
github-actions[bot]
2e89c64089 Update versions-manifest (#126) 2021-11-16 09:54:41 +03:00
Mikhail Timofeev
71d75d73e0 Merge pull request #125 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 11/06/2021
2021-11-06 11:03:26 +03:00
Service account
d5c09cb931 Update versions-manifest 2021-11-06 08:02:31 +00:00
github-actions[bot]
6f2b7dc488 Update versions-manifest (#123)
Co-authored-by: Service account <no-reply@microsoft.com>
2021-10-19 15:34:31 +03:00
9 changed files with 671 additions and 102 deletions

View File

@@ -30,4 +30,4 @@ jobs:
-BranchName "update-versions-manifest-file" `
-CommitMessage "Update versions-manifest" `
-PullRequestTitle "[versions-manifest] Update for release from ${formattedDate}" `
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}"
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}"

View File

@@ -0,0 +1,95 @@
name: Get Python versions
on:
schedule:
- cron: '0 3,15 * * *'
workflow_dispatch:
env:
TOOL_NAME: "Python"
defaults:
run:
shell: pwsh
jobs:
find_new_versions:
name: Find new versions
runs-on: ubuntu-latest
outputs:
versions_output: ${{ steps.Get_new_versions.outputs.TOOL_VERSIONS }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- id: Get_new_versions
name: Get new versions
run: ./helpers/get-new-tool-versions/get-new-tool-versions.ps1 -ToolName ${{ env.TOOL_NAME }}
check_new_versions:
name: Check new versions
runs-on: ubuntu-latest
needs: find_new_versions
env:
TOOL_VERSIONS: ${{needs.find_new_versions.outputs.versions_output}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Check Versions
if: env.TOOL_VERSIONS == ''
run: |
Write-Host "No new versions were found"
Import-Module "./helpers/github/github-api.psm1"
$gitHubApi = Get-GitHubApi -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-AccessToken "${{ secrets.PERSONAL_TOKEN }}"
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
Start-Sleep -Seconds 60
- name: Send Slack notification
run: |
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
$message = "The following versions of '${{ env.TOOL_NAME }}' are available to upload: ${{ env.TOOL_VERSIONS }}\nLink to the pipeline: $pipelineUrl"
./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
-ToolName "${{ env.TOOL_NAME }}" `
-ImageUrl "https://avatars.githubusercontent.com/u/1525981?s=200&v=4" `
-Text "$message"
trigger_builds:
name: Trigger builds
runs-on: ubuntu-latest
needs: [find_new_versions, check_new_versions]
env:
TOOL_VERSIONS: ${{needs.find_new_versions.outputs.versions_output}}
environment: Get Available Tools Versions - Publishing Approval
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Trigger "Build python packages" workflow
run:
./helpers/github/run-ci-builds.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-AccessToken "${{ secrets.PERSONAL_TOKEN }}" `
-WorkflowFileName "python-builder.yml" `
-WorkflowDispatchRef "main" `
-ToolVersions "${{ env.TOOL_VERSIONS }}" `
-PublishReleases "true"
check_build:
name: Check build for failures
runs-on: ubuntu-latest
needs: [find_new_versions, check_new_versions, trigger_builds]
if: failure()
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Send Slack notification if build fails
run: |
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
$message = "The build of the '${{ env.TOOL_NAME }}' detection pipeline failed :progress-error:\nLink to the pipeline: $pipelineUrl"
./helpers/get-new-tool-versions/send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
-ToolName "${{ env.TOOL_NAME }}" `
-Text "$message" `
-ImageUrl "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"

215
.github/workflows/python-builder.yml vendored Normal file
View File

@@ -0,0 +1,215 @@
name: Build python package
on:
workflow_dispatch:
inputs:
VERSION:
description: 'Python version to build and upload'
default: '3.9.9'
required: true
PUBLISH_RELEASES:
description: 'Whether to publish releases'
required: true
default: 'false'
pull_request:
paths-ignore:
- 'versions-manifest.json'
- 'LICENSE'
- '**.md'
branches:
- 'main'
env:
VERSION: ${{ github.event.inputs.VERSION || '3.9.9' }}
defaults:
run:
shell: pwsh
jobs:
build_python:
strategy:
fail-fast: false
matrix:
include:
- platform: 'linux-18.04'
os: 'ubuntu-18.04'
arch: 'x64'
- platform: 'linux-20.04'
os: 'ubuntu-20.04'
arch: 'x64'
- platform: 'darwin'
os: 'macos-10.15'
arch: 'x64'
- platform: 'win32'
os: 'windows-2019'
arch: 'x64'
- platform: 'win32'
os: 'windows-2019'
arch: 'x86'
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: python-${{ github.event.inputs.VERSION || '3.9.9' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps:
- name: Check out repository code
uses: actions/checkout@v2
with:
submodules: true
- name: Build Python ${{ env.VERSION }}
run: |
./builders/build-python.ps1 -Version $env:VERSION `
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/artifact
test_python:
needs: build_python
strategy:
fail-fast: false
matrix:
include:
- platform: 'linux-18.04'
os: 'ubuntu-18.04'
arch: 'x64'
- platform: 'linux-20.04'
os: 'ubuntu-20.04'
arch: 'x64'
- platform: 'darwin'
os: 'macos-10.15'
arch: 'x64'
- platform: 'win32'
os: 'windows-2019'
arch: 'x64'
- platform: 'win32'
os: 'windows-2019'
arch: 'x86'
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: python-${{ github.event.inputs.VERSION || '3.9.9' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps:
- name: Check out repository code
uses: actions/checkout@v2
with:
submodules: true
- name: Fully cleanup the toolcache directory before testing
run: ./helpers/clean-toolcache.ps1 -ToolName "Python"
- name: Download artifact
uses: actions/download-artifact@v2
with:
path: ${{ runner.temp }}
- name: Extract files
run: |
if ('${{ matrix.platform }}' -eq 'win32') {
$artifactName = "${{ env.ARTIFACT_NAME }}.zip"
7z.exe x "$artifactName" -y | Out-Null
} else {
$artifactName = "${{ env.ARTIFACT_NAME }}.tar.gz"
tar -xzf $artifactName
}
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Apply build artifact to the local machine
run: |
if ('${{ matrix.platform }}' -eq 'win32') {
powershell ./setup.ps1
} else {
sh ./setup.sh
cp ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}/build_output.txt ${{ runner.temp }}
}
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup Python ${{ env.VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.VERSION }}
architecture: ${{ matrix.arch }}
- name: Verbose sysconfig dump
if: runner.os == 'Linux' || runner.os == 'macOS'
run: python ./sources/python-config-output.py
working-directory: ${{ github.workspace }}/tests
- name: Verbose python binary links
if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
$pythonLocation = which python
if ('${{ matrix.platform }}' -eq 'darwin') { otool -L $pythonLocation } else { ldd $pythonLocation }
- name: Run tests
run: |
Install-Module Pester -Force -Scope CurrentUser
Import-Module Pester
$pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{
Version="${{ env.VERSION }}";
Platform="${{ matrix.platform }}";
}
$Result = Invoke-Pester -Container $pesterContainer -PassThru
if ($Result.FailedCount -gt 0) {
$host.SetShouldExit($Result.FailedCount)
exit $Result.FailedCount
}
working-directory: ${{ github.workspace }}/tests
publish_release:
name: Publish release
if: github.event_name == 'workflow_dispatch' && github.event.inputs.PUBLISH_RELEASES == 'true'
needs: test_python
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- name: Publish Release ${{ env.VERSION }}
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}-${{ github.run_id }}
release_name: ${{ env.VERSION }}
body: |
Python ${{ env.VERSION }}
- name: Upload release assets
uses: actions/github-script@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
for (let artifactDir of fs.readdirSync('.')) {
let artifactName = fs.readdirSync(`${artifactDir}`)[0];
console.log(`Upload ${artifactName} asset`);
github.repos.uploadReleaseAsset({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: ${{ steps.create_release.outputs.id }},
name: artifactName,
data: fs.readFileSync(`./${artifactDir}/${artifactName}`)
});
}
trigger_pr:
name: Trigger "Create Pull Request" workflow
needs: publish_release
runs-on: ubuntu-latest
steps:
- name: Trigger "Create Pull Request" workflow
uses: actions/github-script@v3
with:
github-token: ${{ secrets.PERSONAL_TOKEN }}
script: |
github.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'create-pr.yml',
ref: 'main'
});

View File

@@ -6,7 +6,7 @@ stages:
- stage: Build_Python_MacOS
dependsOn: []
variables:
VmImage: 'macOS-10.14'
VmImage: 'macOS-10.15'
Platform: darwin
Architecture: x64
jobs:
@@ -16,7 +16,7 @@ stages:
condition: succeeded()
dependsOn: Build_Python_MacOS
variables:
VmImage: 'macOS-10.14'
VmImage: 'macOS-10.15'
Platform: darwin
Architecture: x64
jobs:
@@ -63,7 +63,7 @@ stages:
- stage: Build_Python_X64_Windows
dependsOn: []
variables:
VmImage: 'vs2017-win2016'
VmImage: 'windows-2019'
Platform: win32
Architecture: x64
jobs:
@@ -73,7 +73,7 @@ stages:
condition: succeeded()
dependsOn: Build_Python_X64_Windows
variables:
VmImage: 'vs2017-win2016'
VmImage: 'windows-2019'
Platform: win32
Architecture: x64
jobs:
@@ -82,7 +82,7 @@ stages:
- stage: Build_Python_x86_Windows
dependsOn: []
variables:
VmImage: 'vs2017-win2016'
VmImage: 'windows-2019'
Platform: win32
Architecture: x86
jobs:
@@ -92,7 +92,7 @@ stages:
condition: succeeded()
dependsOn: Build_Python_x86_Windows
variables:
VmImage: 'vs2017-win2016'
VmImage: 'windows-2019'
Platform: win32
Architecture: x86
jobs:

View File

@@ -1,6 +1,6 @@
jobs:
- job: Test_Python
pool:
pool:
name: Azure Pipelines
vmImage: $(VmImage)
variables:

View File

@@ -22,6 +22,13 @@ class macOSPythonBuilder : NixPythonBuilder {
[string] $platform
) : Base($version, $architecture, $platform) { }
[void] PrepareEnvironment() {
<#
.SYNOPSIS
Prepare system environment by installing dependencies and required packages.
#>
}
[void] Configure() {
<#
.SYNOPSIS
@@ -40,8 +47,8 @@ class macOSPythonBuilder : NixPythonBuilder {
### and then add the appropriate paths for the header and library files to configure command.
### Link to documentation (https://cpython-devguide.readthedocs.io/setup/#build-dependencies)
if ($this.Version -lt "3.7.0") {
$env:LDFLAGS = "-L/usr/local/opt/openssl@1.1/lib"
$env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include"
$env:LDFLAGS = "-L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/zlib/lib"
$env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/zlib/include"
} else {
$configureString += " --with-openssl=/usr/local/opt/openssl@1.1"
}
@@ -57,15 +64,4 @@ class macOSPythonBuilder : NixPythonBuilder {
Execute-Command -Command $configureString
}
[void] PrepareEnvironment() {
<#
.SYNOPSIS
Prepare system environment by installing dependencies and required packages.
#>
### reinstall header files to Avoid issue with X11 headers on Mojave
$pkgName = "/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg"
Execute-Command -Command "sudo installer -pkg $pkgName -target /"
}
}

View File

@@ -41,10 +41,16 @@ class PythonBuilder {
PythonBuilder ([semver] $version, [string] $architecture, [string] $platform) {
$this.InstallationTemplatesLocation = Join-Path -Path $PSScriptRoot -ChildPath "../installers"
$this.HostedToolcacheLocation = $env:AGENT_TOOLSDIRECTORY
$this.TempFolderLocation = $env:BUILD_SOURCESDIRECTORY
$this.WorkFolderLocation = $env:BUILD_BINARIESDIRECTORY
$this.ArtifactFolderLocation = $env:BUILD_STAGINGDIRECTORY
$artifactDirectory = Join-Path $env:RUNNER_TEMP "artifact"
$workDirectory = Join-Path $env:RUNNER_TEMP "work"
New-Item -Force -Type Directory $artifactDirectory
New-Item -Force -Type Directory $workDirectory
$this.HostedToolcacheLocation = $env:RUNNER_TOOL_CACHE
$this.TempFolderLocation = $env:RUNNER_TEMP
$this.WorkFolderLocation = $workDirectory
$this.ArtifactFolderLocation = $artifactDirectory
$this.Version = $version
$this.Architecture = $architecture

View File

@@ -9,29 +9,31 @@ Import-Module (Join-Path $PSScriptRoot "../helpers/pester-extensions.psm1")
Import-Module (Join-Path $PSScriptRoot "../helpers/common-helpers.psm1")
Import-Module (Join-Path $PSScriptRoot "../builders/python-version.psm1")
function Analyze-MissingModules([string] $buildOutputLocation) {
$searchStringStart = "Failed to build these modules:"
$searchStringEnd = "running build_scripts"
$pattern = "$searchStringStart(.*?)$searchStringEnd"
BeforeAll {
function Analyze-MissingModules([string] $buildOutputLocation) {
$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
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
}
}
}
return 0
return 0
}
}
Describe "Tests" {
@@ -39,7 +41,7 @@ Describe "Tests" {
"python --version" | Should -ReturnZeroExitCode
$pythonLocation = (Get-Command "python").Path
$pythonLocation | Should -Not -BeNullOrEmpty
$expectedPath = Join-Path -Path $env:AGENT_TOOLSDIRECTORY -ChildPath "Python"
$expectedPath = Join-Path -Path $env:RUNNER_TOOL_CACHE -ChildPath "Python"
$pythonLocation.startsWith($expectedPath) | Should -BeTrue
}
@@ -47,7 +49,7 @@ Describe "Tests" {
"python ./sources/simple-test.py" | Should -ReturnZeroExitCode
}
if ($Version -ge "3.2.0") {
if (($Version -ge "3.2.0") -and -not ([semver]"$($Version.Major).$($Version.Minor)" -eq [semver]"3.11" -and $Version.PreReleaseLabel)) {
It "Check if sqlite3 module is installed" {
"python ./sources/python-sqlite3.py" | Should -ReturnZeroExitCode
}
@@ -61,7 +63,7 @@ Describe "Tests" {
if (IsNixPlatform $Platform) {
It "Check for failed modules in build_output" {
$buildOutputLocation = Join-Path $env:BUILD_BINARIESDIRECTORY "build_output.txt"
$buildOutputLocation = Join-Path $env:RUNNER_TEMP "build_output.txt"
Analyze-MissingModules $buildOutputLocation | Should -Be 0
}

View File

@@ -1,79 +1,250 @@
[
{
"version": "3.11.0-alpha.4",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-alpha.4-121430",
"files": [
{
"filename": "python-3.11.0-alpha.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.4-121430/python-3.11.0-alpha.4-darwin-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.4-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.11.0-alpha.4-121430/python-3.11.0-alpha.4-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.4-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.11.0-alpha.4-121430/python-3.11.0-alpha.4-linux-20.04-x64.tar.gz"
}
]
},
{
"version": "3.11.0-alpha.3",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-alpha.3-120611",
"files": [
{
"filename": "python-3.11.0-alpha.3-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.3-120611/python-3.11.0-alpha.3-darwin-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.3-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.11.0-alpha.3-120611/python-3.11.0-alpha.3-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.3-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.11.0-alpha.3-120611/python-3.11.0-alpha.3-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.3-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.3-120611/python-3.11.0-alpha.3-win32-x64.zip"
},
{
"filename": "python-3.11.0-alpha.3-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.3-120611/python-3.11.0-alpha.3-win32-x86.zip"
}
]
},
{
"version": "3.11.0-alpha.2",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-alpha.2-118811",
"files": [
{
"filename": "python-3.11.0-alpha.2-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.2-118811/python-3.11.0-alpha.2-darwin-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.2-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.11.0-alpha.2-118811/python-3.11.0-alpha.2-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.2-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.11.0-alpha.2-118811/python-3.11.0-alpha.2-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.2-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.2-118811/python-3.11.0-alpha.2-win32-x64.zip"
},
{
"filename": "python-3.11.0-alpha.2-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.2-118811/python-3.11.0-alpha.2-win32-x86.zip"
}
]
},
{
"version": "3.11.0-alpha.1",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-alpha.1-117726",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-alpha.1-117932",
"files": [
{
"filename": "python-3.11.0-alpha.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117726/python-3.11.0-alpha.1-darwin-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117932/python-3.11.0-alpha.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.1-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.11.0-alpha.1-117726/python-3.11.0-alpha.1-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117932/python-3.11.0-alpha.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.1-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.11.0-alpha.1-117726/python-3.11.0-alpha.1-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117932/python-3.11.0-alpha.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.11.0-alpha.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117726/python-3.11.0-alpha.1-win32-x64.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117932/python-3.11.0-alpha.1-win32-x64.zip"
},
{
"filename": "python-3.11.0-alpha.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117726/python-3.11.0-alpha.1-win32-x86.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-alpha.1-117932/python-3.11.0-alpha.1-win32-x86.zip"
}
]
},
{
"version": "3.10.2",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.2-121429",
"files": [
{
"filename": "python-3.10.2-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.2-121429/python-3.10.2-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.2-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.10.2-121429/python-3.10.2-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.2-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.10.2-121429/python-3.10.2-linux-20.04-x64.tar.gz"
}
]
},
{
"version": "3.10.1",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.1-120613",
"files": [
{
"filename": "python-3.10.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.1-120613/python-3.10.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.1-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.10.1-120613/python-3.10.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.1-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.10.1-120613/python-3.10.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.1-120613/python-3.10.1-win32-x64.zip"
},
{
"filename": "python-3.10.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.1-120613/python-3.10.1-win32-x86.zip"
}
]
},
{
"version": "3.10.0",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-117470",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-117927",
"files": [
{
"filename": "python-3.10.0-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-darwin-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117927/python-3.10.0-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-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.10.0-117470/python-3.10.0-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117927/python-3.10.0-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.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.10.0-117470/python-3.10.0-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117927/python-3.10.0-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-win32-x64.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117927/python-3.10.0-win32-x64.zip"
},
{
"filename": "python-3.10.0-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-win32-x86.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117927/python-3.10.0-win32-x86.zip"
}
]
},
@@ -654,6 +825,111 @@
}
]
},
{
"version": "3.9.10",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.10-121428",
"files": [
{
"filename": "python-3.9.10-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.10-121428/python-3.9.10-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.10-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.9.10-121428/python-3.9.10-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.10-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.9.10-121428/python-3.9.10-linux-20.04-x64.tar.gz"
}
]
},
{
"version": "3.9.9",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.9-119268",
"files": [
{
"filename": "python-3.9.9-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.9-119268/python-3.9.9-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.9-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.9.9-119268/python-3.9.9-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.9-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.9.9-119268/python-3.9.9-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.9-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.9-119268/python-3.9.9-win32-x64.zip"
},
{
"filename": "python-3.9.9-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.9-119268/python-3.9.9-win32-x86.zip"
}
]
},
{
"version": "3.9.8",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.8-118810",
"files": [
{
"filename": "python-3.9.8-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.8-118810/python-3.9.8-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.8-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.9.8-118810/python-3.9.8-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.8-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.9.8-118810/python-3.9.8-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.8-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.8-118810/python-3.9.8-win32-x64.zip"
},
{
"filename": "python-3.9.8-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.8-118810/python-3.9.8-win32-x86.zip"
}
]
},
{
"version": "3.9.7",
"stable": true,
@@ -703,46 +979,39 @@
{
"version": "3.9.6",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.6-112667",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.6-117960",
"files": [
{
"filename": "python-3.9.6-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-112667/python-3.9.6-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.6-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-112667/python-3.9.6-linux-16.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-117960/python-3.9.6-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.6-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.9.6-112667/python-3.9.6-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-117960/python-3.9.6-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.6-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.9.6-112667/python-3.9.6-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-117960/python-3.9.6-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.6-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-112667/python-3.9.6-win32-x64.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-117960/python-3.9.6-win32-x64.zip"
},
{
"filename": "python-3.9.6-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-112667/python-3.9.6-win32-x86.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.6-117960/python-3.9.6-win32-x86.zip"
}
]
},
@@ -1301,27 +1570,27 @@
{
"version": "3.8.12",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.12-116385",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.12-117929",
"files": [
{
"filename": "python-3.8.12-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-116385/python-3.8.12-darwin-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-117929/python-3.8.12-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.12-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.12-116385/python-3.8.12-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-117929/python-3.8.12-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.12-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.12-116385/python-3.8.12-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-117929/python-3.8.12-linux-20.04-x64.tar.gz"
}
]
},
@@ -1355,46 +1624,39 @@
{
"version": "3.8.10",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.10-109483",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.10-117959",
"files": [
{
"filename": "python-3.8.10-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-109483/python-3.8.10-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.10-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-109483/python-3.8.10-linux-16.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.10-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.10-109483/python-3.8.10-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.10-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.10-109483/python-3.8.10-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.8.10-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-109483/python-3.8.10-win32-x64.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-win32-x64.zip"
},
{
"filename": "python-3.8.10-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-109483/python-3.8.10-win32-x86.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-win32-x86.zip"
}
]
},
@@ -1539,46 +1801,39 @@
{
"version": "3.8.6",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.6-96691",
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.6-117961",
"files": [
{
"filename": "python-3.8.6-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-96691/python-3.8.6-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.6-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-96691/python-3.8.6-linux-16.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-117961/python-3.8.6-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.6-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.6-96691/python-3.8.6-linux-18.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-117961/python-3.8.6-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.6-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.6-96691/python-3.8.6-linux-20.04-x64.tar.gz"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-117961/python-3.8.6-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.8.6-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-96691/python-3.8.6-win32-x64.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-117961/python-3.8.6-win32-x64.zip"
},
{
"filename": "python-3.8.6-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-96691/python-3.8.6-win32-x86.zip"
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.6-117961/python-3.8.6-win32-x86.zip"
}
]
},