mirror of
https://github.com/actions/python-versions.git
synced 2025-12-16 15:58:16 +00:00
Compare commits
1 Commits
3.7.3-4112
...
3.8.15-360
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04ce6b25b8 |
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -1 +1 @@
|
|||||||
* @actions/setup-actions-team
|
* @actions/virtual-environments-owners
|
||||||
|
|||||||
68
.github/workflows/codeql-analysis.yml
vendored
68
.github/workflows/codeql-analysis.yml
vendored
@@ -1,16 +1,70 @@
|
|||||||
name: CodeQL analysis
|
# For most projects, this workflow file will not need changing; you simply need
|
||||||
|
# to commit it to your repository.
|
||||||
|
#
|
||||||
|
# You may wish to alter this file to override the set of languages analyzed,
|
||||||
|
# or to provide custom queries or build logic.
|
||||||
|
#
|
||||||
|
# ******** NOTE ********
|
||||||
|
# We have attempted to detect the languages in your repository. Please check
|
||||||
|
# the `language` matrix defined below to confirm you have the correct set of
|
||||||
|
# supported CodeQL languages.
|
||||||
|
#
|
||||||
|
name: "CodeQL"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 3 * * 0'
|
- cron: '30 8 * * 2'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-codeQL-analysis:
|
analyze:
|
||||||
name: CodeQL analysis
|
name: Analyze
|
||||||
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main
|
runs-on: ubuntu-latest
|
||||||
with:
|
permissions:
|
||||||
languages: "['python']"
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: [ 'python' ]
|
||||||
|
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||||
|
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v2
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||||
|
|
||||||
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||||
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v2
|
||||||
|
|
||||||
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
|
# 📚 https://git.io/JvXDl
|
||||||
|
|
||||||
|
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||||
|
# and modify them (or add more) to build your code if your project
|
||||||
|
# uses a compiled language
|
||||||
|
|
||||||
|
#- run: |
|
||||||
|
# make bootstrap
|
||||||
|
# make release
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v2
|
||||||
|
|||||||
33
.github/workflows/create-pr.yml
vendored
33
.github/workflows/create-pr.yml
vendored
@@ -2,9 +2,32 @@ name: Create Pull Request
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-pr:
|
create_pr:
|
||||||
uses: actions/versions-package-tools/.github/workflows/create-pr-to-update-manifest.yml@main
|
name: Create Pull Request
|
||||||
with:
|
runs-on: ubuntu-latest
|
||||||
tool-name: "python"
|
steps:
|
||||||
secrets: inherit
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Create versions-manifest.json
|
||||||
|
run: |
|
||||||
|
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
||||||
|
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
|
||||||
|
-OutputFile "./versions-manifest.json" `
|
||||||
|
-ConfigurationFile "./config/python-manifest-config.json"
|
||||||
|
- name: Create GitHub PR
|
||||||
|
run: |
|
||||||
|
$formattedDate = Get-Date -Format "MM/dd/yyyy"
|
||||||
|
./helpers/github/create-pull-request.ps1 `
|
||||||
|
-RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
||||||
|
-AccessToken "${{secrets.GITHUB_TOKEN}}" `
|
||||||
|
-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}"
|
||||||
|
|||||||
95
.github/workflows/get-python-versions.yml
vendored
95
.github/workflows/get-python-versions.yml
vendored
@@ -4,10 +4,93 @@ on:
|
|||||||
- cron: '0 3,15 * * *'
|
- cron: '0 3,15 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
TOOL_NAME: "Python"
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-new-python-versions:
|
find_new_versions:
|
||||||
uses: actions/versions-package-tools/.github/workflows/get-new-tool-versions.yml@main
|
if: github.repository_owner == 'actions'
|
||||||
with:
|
name: Find new versions
|
||||||
tool-name: "Python"
|
runs-on: ubuntu-latest
|
||||||
image-url: "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"
|
outputs:
|
||||||
secrets: inherit
|
versions_output: ${{ steps.Get_new_versions.outputs.TOOL_VERSIONS }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
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@v3
|
||||||
|
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@v3
|
||||||
|
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@v3
|
||||||
|
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"
|
||||||
@@ -1,21 +1,20 @@
|
|||||||
name: Build Python package
|
name: Build python package
|
||||||
run-name: Generate Python ${{ inputs.VERSION || '3.11.0' }}
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
VERSION:
|
VERSION:
|
||||||
description: 'Python version to build and upload'
|
description: 'Python version to build and upload'
|
||||||
default: '3.11.0'
|
default: '3.9.9'
|
||||||
required: true
|
required: true
|
||||||
PUBLISH_RELEASES:
|
PUBLISH_RELEASES:
|
||||||
description: 'Whether to publish releases'
|
description: 'Whether to publish releases'
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
default: 'false'
|
||||||
default: false
|
|
||||||
PLATFORMS:
|
PLATFORMS:
|
||||||
description: 'Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
|
description: 'Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
|
||||||
required: true
|
required: true
|
||||||
default: 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-11,windows-2019_x64,windows-2019_x86'
|
default: 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-10.15,windows-2019_x64,windows-2019_x86'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'versions-manifest.json'
|
- 'versions-manifest.json'
|
||||||
@@ -25,7 +24,7 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.VERSION || '3.11.0' }}
|
VERSION: ${{ github.event.inputs.VERSION || '3.9.9' }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -39,7 +38,7 @@ jobs:
|
|||||||
- name: Generate execution matrix
|
- name: Generate execution matrix
|
||||||
id: generate-matrix
|
id: generate-matrix
|
||||||
run: |
|
run: |
|
||||||
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-11,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
[String[]]$configurations = "${{ github.event.inputs.platforms || 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-10.15,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
||||||
$matrix = @()
|
$matrix = @()
|
||||||
|
|
||||||
foreach ($configuration in $configurations) {
|
foreach ($configuration in $configurations) {
|
||||||
@@ -67,7 +66,7 @@ jobs:
|
|||||||
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
|
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
ARTIFACT_NAME: python-${{ github.event.inputs.VERSION || '3.9.9' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@@ -94,7 +93,7 @@ jobs:
|
|||||||
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
|
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
ARTIFACT_NAME: python-${{ github.event.inputs.VERSION || '3.9.9' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@@ -165,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
publish_release:
|
publish_release:
|
||||||
name: Publish release
|
name: Publish release
|
||||||
if: github.event_name == 'workflow_dispatch' && inputs.PUBLISH_RELEASES
|
if: github.event_name == 'workflow_dispatch' && github.event.inputs.PUBLISH_RELEASES == 'true'
|
||||||
needs: test_python
|
needs: test_python
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -208,7 +207,7 @@ jobs:
|
|||||||
- name: Trigger "Create Pull Request" workflow
|
- name: Trigger "Create Pull Request" workflow
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
github.rest.actions.createWorkflowDispatch({
|
github.rest.actions.createWorkflowDispatch({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
2
.github/workflows/python-versions-runner.yml
vendored
2
.github/workflows/python-versions-runner.yml
vendored
@@ -28,4 +28,4 @@ jobs:
|
|||||||
$versions = ${{ github.event.inputs.versions }}
|
$versions = ${{ github.event.inputs.versions }}
|
||||||
./builders/python-versions-runner.ps1 -Versions $versions.Split(",") -PublishRelease ${{ github.event.inputs.publish-releases }}
|
./builders/python-versions-runner.ps1 -Versions $versions.Split(",") -PublishRelease ${{ github.event.inputs.publish-releases }}
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
48
.github/workflows/validate-manifest.yml
vendored
48
.github/workflows/validate-manifest.yml
vendored
@@ -1,21 +1,49 @@
|
|||||||
name: Validate manifest
|
name: Validate manifest
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# The GITHUB_TOKEN secret is used to create a PR
|
|
||||||
# The pull_request event will not be triggered by it
|
|
||||||
# That's one of the reasons we need the schedule to validate the versions-manifest.json file
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8,20 * * *'
|
- cron: '0 8,20 * * *'
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'versions-manifest.json'
|
- 'versions-manifest.json'
|
||||||
|
|
||||||
|
env:
|
||||||
|
TOOL_NAME: "Python"
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
manifest:
|
validation:
|
||||||
uses: actions/versions-package-tools/.github/workflows/validate-manifest.yml@main
|
if: github.repository_owner == 'actions'
|
||||||
with:
|
runs-on: ubuntu-latest
|
||||||
tool-name: "Python"
|
steps:
|
||||||
image-url: "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"
|
- uses: actions/checkout@v3
|
||||||
secrets: inherit
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Validate python-versions manifest
|
||||||
|
run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestPath '.\versions-manifest.json'
|
||||||
|
|
||||||
|
check_build:
|
||||||
|
name: Check validation for failures
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [validation]
|
||||||
|
if: failure()
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Send Slack notification if validation fails
|
||||||
|
run: |
|
||||||
|
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
|
||||||
|
$message = "The validation of python-versions manifest failed. \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://www.python.org/static/community_logos/python-powered-h-100x130.png"
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -4,22 +4,13 @@ File [versions-manifest.json](./versions-manifest.json) contains the list of ava
|
|||||||
|
|
||||||
> Caution: this is prepared for and only permitted for use by actions `runner-images` and `setup-python` action.
|
> Caution: this is prepared for and only permitted for use by actions `runner-images` and `setup-python` action.
|
||||||
|
|
||||||
|
**Status**: Currently under development and in use for beta and preview actions. This repo is undergoing rapid changes.
|
||||||
|
|
||||||
Some versions are pre-installed on [runner-images](https://github.com/actions/runner-images) images.
|
Some versions are pre-installed on [runner-images](https://github.com/actions/runner-images) images.
|
||||||
More versions are available to install on-the-fly through the [`setup-python`](https://github.com/actions/setup-python) action.
|
More versions will (soon!) be available to install on-the-fly through the [`setup-python`](https://github.com/actions/setup-python) action.
|
||||||
|
|
||||||
## Building installation packages
|
## Adding new versions
|
||||||
**Ubuntu:** The official Python sources are downloaded from [python.org](https://www.python.org/ftp/python/), built using the `make` tool, and archived along with the installation script for further distribution and installation. We build each Python version against all [versions of Ubuntu](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) that are available at the time the Python version is released.
|
We are trying to build and release new versions of Python as soon as they are released. Please open an issue in [actions/setup-python](https://github.com/actions/setup-python/issues) if any versions are missing.
|
||||||
|
|
||||||
**macOS:**
|
|
||||||
- For **Python < 3.11**, the official Python sources are downloaded from [python.org](https://www.python.org/ftp/python/), built using the `make` tool, and archived along with the installation script for further distribution and installation. For backward compatibility, we build each Python version against the oldest [version of macOS](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) that is available at the time the Python version is released.
|
|
||||||
- For **Python >= 3.11**, the official macOS `universal2` Python binaries are simply downloaded from [python.org](https://www.python.org/ftp/python/) and archived along with the installation script for further distribution and installation.
|
|
||||||
|
|
||||||
**Windows:** The official Python executables are simply downloaded from [python.org](https://www.python.org/ftp/python/) and archived along with the installation script for further distribution and installation.
|
|
||||||
|
|
||||||
## Support policy
|
|
||||||
We aim to make new versions of Python available as soon as they are released. Both stable and prerelease versions are considered for building and releasing. Please open an issue in [actions/setup-python](https://github.com/actions/setup-python) if a version you're looking for isn't available.
|
|
||||||
|
|
||||||
When a new version of an operating system is released and made available for use with [GitHub hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources), we will provide the **latest existing patch versions of Python for all major versions that have not reached [end-of-life](https://devguide.python.org/versions/)**. Any subsequent Python versions will be made available for the new OS as well.
|
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure
|
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ function Invoke-Workflow {
|
|||||||
}
|
}
|
||||||
} | ConvertTo-Json
|
} | ConvertTo-Json
|
||||||
$headers = @{
|
$headers = @{
|
||||||
Authorization="Bearer $env:TOKEN"
|
Authorization="Bearer $env:PERSONAL_TOKEN"
|
||||||
}
|
}
|
||||||
$actionsRepoUri = "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/actions"
|
$actionsRepoUri = "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/actions"
|
||||||
Invoke-RestMethod -uri "$actionsRepoUri/workflows/build-python-packages.yml/dispatches" -method POST -headers $headers -body $payload
|
Invoke-RestMethod -uri "$actionsRepoUri/workflows/python-builder.yml/dispatches" -method POST -headers $headers -body $payload
|
||||||
|
|
||||||
$result = [PSCustomObject]@{
|
$result = [PSCustomObject]@{
|
||||||
Version = $Version
|
Version = $Version
|
||||||
|
|||||||
@@ -64,14 +64,6 @@ class macOSPythonBuilder : NixPythonBuilder {
|
|||||||
$env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/zlib/include"
|
$env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/zlib/include"
|
||||||
} else {
|
} else {
|
||||||
$configureString += " --with-openssl=/usr/local/opt/openssl@1.1"
|
$configureString += " --with-openssl=/usr/local/opt/openssl@1.1"
|
||||||
|
|
||||||
# For Python 3.7.2 and 3.7.3 we need to provide PATH for zlib to pack it properly. Otherwise the build will fail
|
|
||||||
# with the error: zipimport.ZipImportError: can't decompress data; zlib not available
|
|
||||||
if ($this.Version -eq "3.7.2" -or $this.Version -eq "3.7.3") {
|
|
||||||
$env:LDFLAGS = "-L/usr/local/opt/zlib/lib"
|
|
||||||
$env:CFLAGS = "-I/usr/local/opt/zlib/include"
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this.Version -gt "3.7.12") {
|
if ($this.Version -gt "3.7.12") {
|
||||||
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
|
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,8 +93,7 @@ Describe "Tests" {
|
|||||||
It "Validate Pyinstaller" {
|
It "Validate Pyinstaller" {
|
||||||
"pip install pyinstaller" | Should -ReturnZeroExitCode
|
"pip install pyinstaller" | Should -ReturnZeroExitCode
|
||||||
"pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode
|
"pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode
|
||||||
$distPath = [IO.Path]::Combine($pwd, "dist", "simple-test")
|
"./dist/simple-test" | Should -ReturnZeroExitCode
|
||||||
"$distPath" | Should -ReturnZeroExitCode
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,96 +1,4 @@
|
|||||||
[
|
[
|
||||||
{
|
|
||||||
"version": "3.12.0-alpha.4",
|
|
||||||
"stable": false,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-alpha.4-3890631539",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.4-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.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.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.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.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-20.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.4-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.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.4-win32-x64.zip",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-win32-x64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.4-win32-x86.zip",
|
|
||||||
"arch": "x86",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-win32-x86.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "3.12.0-alpha.3",
|
|
||||||
"stable": false,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-alpha.3-3638209027",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.3-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.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.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.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.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-linux-20.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.3-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.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.3-win32-x64.zip",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-win32-x64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.12.0-alpha.3-win32-x86.zip",
|
|
||||||
"arch": "x86",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.3-3638209027/python-3.12.0-alpha.3-win32-x86.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.12.0-alpha.2",
|
"version": "3.12.0-alpha.2",
|
||||||
"stable": false,
|
"stable": false,
|
||||||
@@ -183,95 +91,49 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "3.11.1",
|
|
||||||
"stable": true,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.1-3646089612",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.1-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.1-3646089612/python-3.11.1-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.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.1-3646089612/python-3.11.1-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.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.1-3646089612/python-3.11.1-linux-20.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.1-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.11.1-3646089612/python-3.11.1-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.1-win32-x64.zip",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.1-3646089612/python-3.11.1-win32-x64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.11.1-win32-x86.zip",
|
|
||||||
"arch": "x86",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.1-3646089612/python-3.11.1-win32-x86.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.11.0",
|
"version": "3.11.0",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-3730290910",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.0-3328127706",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-darwin-x64.tar.gz",
|
"filename": "python-3.11.0-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-linux-18.04-x64.tar.gz",
|
"filename": "python-3.11.0-linux-18.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "18.04",
|
"platform_version": "18.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-linux-18.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-linux-18.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-linux-20.04-x64.tar.gz",
|
"filename": "python-3.11.0-linux-20.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "20.04",
|
"platform_version": "20.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-linux-22.04-x64.tar.gz",
|
"filename": "python-3.11.0-linux-22.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "22.04",
|
"platform_version": "22.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-linux-22.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-win32-x64.zip",
|
"filename": "python-3.11.0-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.0-win32-x86.zip",
|
"filename": "python-3.11.0-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3730290910/python-3.11.0-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -870,52 +732,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "3.10.9",
|
|
||||||
"stable": true,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.9-3636985951",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.9-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.9-3636985951/python-3.10.9-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.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.10.9-3636985951/python-3.10.9-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.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.10.9-3636985951/python-3.10.9-linux-20.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.9-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.10.9-3636985951/python-3.10.9-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.9-win32-x64.zip",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.9-3636985951/python-3.10.9-win32-x64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.10.9-win32-x86.zip",
|
|
||||||
"arch": "x86",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.9-3636985951/python-3.10.9-win32-x86.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.10.8",
|
"version": "3.10.8",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
@@ -1879,51 +1695,11 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "3.9.16",
|
|
||||||
"stable": true,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.16-3647595251",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.9.16-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.16-3647595251/python-3.9.16-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.9.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.9.16-3647595251/python-3.9.16-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.9.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.9.16-3647595251/python-3.9.16-linux-20.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.9.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.9.16-3647595251/python-3.9.16-linux-22.04-x64.tar.gz"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.9.15",
|
"version": "3.9.15",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.15-3271275280",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.15-3271275280",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
|
||||||
"filename": "python-3.9.15-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.15-3271275280/python-3.9.15-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.15-linux-18.04-x64.tar.gz",
|
"filename": "python-3.9.15-linux-18.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
@@ -2859,71 +2635,37 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "3.8.16",
|
|
||||||
"stable": true,
|
|
||||||
"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-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-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-3888430809/python-3.8.16-linux-22.04-x64.tar.gz"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.8.15",
|
"version": "3.8.15",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.15-3601364564",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.15-3582057865",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.15-darwin-x64.tar.gz",
|
"filename": "python-3.8.15-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.15-linux-18.04-x64.tar.gz",
|
"filename": "python-3.8.15-linux-18.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "18.04",
|
"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"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-18.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.15-linux-20.04-x64.tar.gz",
|
"filename": "python-3.8.15-linux-20.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "20.04",
|
"platform_version": "20.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.15-linux-22.04-x64.tar.gz",
|
"filename": "python-3.8.15-linux-22.04-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"platform_version": "22.04",
|
"platform_version": "22.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3601364564/python-3.8.15-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-22.04-x64.tar.gz"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -4599,13 +4341,6 @@
|
|||||||
"platform_version": "20.04",
|
"platform_version": "20.04",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.18-87224/python-2.7.18-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.18-87224/python-2.7.18-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"filename": "python-2.7.18-linux-22.04-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "22.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.18-87224/python-2.7.18-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"filename": "python-2.7.18-win32-x64.zip",
|
"filename": "python-2.7.18-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
|
|||||||
Reference in New Issue
Block a user