mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
49 Commits
3.9.13-883
...
testwin201
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff809fd183 | ||
|
|
d61647554c | ||
|
|
34303ccc22 | ||
|
|
6de7c9a0ec | ||
|
|
465890b8c8 | ||
|
|
0526828581 | ||
|
|
9ad4c1fcaa | ||
|
|
3f1c6125df | ||
|
|
b1d12fe818 | ||
|
|
d464ee3cc6 | ||
|
|
61e93b288d | ||
|
|
8d965711ba | ||
|
|
b228cba84e | ||
|
|
fd9b186705 | ||
|
|
a15689f2ac | ||
|
|
be0e5a895c | ||
|
|
04c0db46b5 | ||
|
|
cb822fbaf1 | ||
|
|
1d262fc400 | ||
|
|
06ec0e912f | ||
|
|
30c053652b | ||
|
|
411060a14d | ||
|
|
45c77b2a3a | ||
|
|
3af71f81fb | ||
|
|
2031f98157 | ||
|
|
ac6f4c6a01 | ||
|
|
a185c39c53 | ||
|
|
9c2e25fa64 | ||
|
|
c87f998dfb | ||
|
|
a18ca9186b | ||
|
|
12f1ddaf19 | ||
|
|
22bd58f5ab | ||
|
|
91d36e5783 | ||
|
|
567e9060f4 | ||
|
|
10da5bd845 | ||
|
|
b6f9ad0531 | ||
|
|
0d0f3060e3 | ||
|
|
948f51aaf0 | ||
|
|
43b4fed22f | ||
|
|
c990e6da95 | ||
|
|
521be20d1e | ||
|
|
064829bd03 | ||
|
|
b77a7dee85 | ||
|
|
37e7166250 | ||
|
|
eb9433f569 | ||
|
|
7c3d29faf2 | ||
|
|
c03f98f186 | ||
|
|
2573fc9af9 | ||
|
|
b643f0d07f |
138
.github/workflows/build-python-packages.yml
vendored
138
.github/workflows/build-python-packages.yml
vendored
@@ -1,11 +1,11 @@
|
|||||||
name: Build Python package
|
name: Build Python package
|
||||||
run-name: Generate Python ${{ inputs.VERSION || '3.11.0' }}
|
run-name: Generate Python ${{ inputs.VERSION || '3.12.3' }}
|
||||||
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.12.3'
|
||||||
required: true
|
required: true
|
||||||
PUBLISH_RELEASES:
|
PUBLISH_RELEASES:
|
||||||
description: 'Whether to publish releases'
|
description: 'Whether to publish releases'
|
||||||
@@ -15,7 +15,7 @@ on:
|
|||||||
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-20.04,ubuntu-22.04,macos-11_x64,macos-11_arm64,windows-2019_x64,windows-2019_x86'
|
default: 'ubuntu-20.04,ubuntu-20.04_arm64,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-11_x64,macos-14_arm64,windows-2019_x64,windows-2019_x86'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'versions-manifest.json'
|
- 'versions-manifest.json'
|
||||||
@@ -25,7 +25,7 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.VERSION || '3.11.0' }}
|
VERSION: ${{ inputs.VERSION || '3.12.3' }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -39,9 +39,8 @@ jobs:
|
|||||||
- name: Generate execution matrix
|
- name: Generate execution matrix
|
||||||
id: generate-matrix
|
id: generate-matrix
|
||||||
run: |
|
run: |
|
||||||
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,macos-11,macos-11_arm64,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-20.04_arm64,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-11,macos-14_arm64,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
||||||
$matrix = @()
|
$matrix = @()
|
||||||
|
|
||||||
foreach ($configuration in $configurations) {
|
foreach ($configuration in $configurations) {
|
||||||
$parts = $configuration.Split("_")
|
$parts = $configuration.Split("_")
|
||||||
$os = $parts[0]
|
$os = $parts[0]
|
||||||
@@ -58,7 +57,6 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
|
echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
|
||||||
|
|
||||||
build_python:
|
build_python:
|
||||||
needs: generate_matrix
|
needs: generate_matrix
|
||||||
strategy:
|
strategy:
|
||||||
@@ -67,24 +65,68 @@ 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-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Chocolatey
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
||||||
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
echo "C:\ProgramData\Chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
- name: Install PowerShell
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install powershell-core -y
|
||||||
|
- name: Add PowerShell to PATH
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
- name: Install Git
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install git -y
|
||||||
|
- name: Add Git to PATH
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
- name: Check git version
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
run: |
|
||||||
|
git --version
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
- name: Install 7-Zip
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install 7zip -y
|
||||||
|
- name: Add 7-Zip to PATH
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
- name: Build Python ${{ env.VERSION }}
|
- name: Build Python ${{ env.VERSION }}
|
||||||
run: |
|
run: |
|
||||||
./builders/build-python.ps1 -Version $env:VERSION `
|
./builders/build-python.ps1 -Version $env:VERSION `
|
||||||
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
|
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
|
||||||
|
|
||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ARTIFACT_NAME }}
|
name: ${{ env.ARTIFACT_NAME }}
|
||||||
path: ${{ runner.temp }}/artifact
|
path: ${{ runner.temp }}/artifact
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
test_python:
|
test_python:
|
||||||
needs: [generate_matrix, build_python]
|
needs: [generate_matrix, build_python]
|
||||||
@@ -94,22 +136,70 @@ 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-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Install Chocolatey
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
||||||
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
echo "C:\ProgramData\Chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
- name: Install PowerShell
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install powershell-core -y
|
||||||
|
- name: Add PowerShell to PATH
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
- name: Install Git
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install git -y
|
||||||
|
- name: Add Git to PATH
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
- name: Check git version
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
run: |
|
||||||
|
git --version
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Fully cleanup the toolcache directory before testing
|
- name: Fully cleanup the toolcache directory before testing
|
||||||
run: ./helpers/clean-toolcache.ps1 -ToolName "Python"
|
run: ./helpers/clean-toolcache.ps1 -ToolName "Python"
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Delete macOS /Library/Frameworks/Python.framework
|
||||||
uses: actions/download-artifact@v3
|
if: matrix.platform == 'darwin'
|
||||||
with:
|
shell: bash
|
||||||
path: ${{ runner.temp }}
|
run: if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi
|
||||||
|
|
||||||
|
- name: Download artifact
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ env.ARTIFACT_NAME }}
|
||||||
|
path: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
|
||||||
|
|
||||||
|
- name: Install 7-Zip
|
||||||
|
if: runner.os == 'Windows' && runner.architecture == 'ARM64'
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install 7zip -y
|
||||||
|
- name: Add 7-Zip to PATH
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
- name: Extract files
|
- name: Extract files
|
||||||
run: |
|
run: |
|
||||||
if ('${{ matrix.platform }}' -eq 'win32') {
|
if ('${{ matrix.platform }}' -eq 'win32') {
|
||||||
@@ -123,6 +213,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Apply build artifact to the local machine
|
- name: Apply build artifact to the local machine
|
||||||
run: |
|
run: |
|
||||||
|
$PSNativeCommandUseErrorActionPreference = $true
|
||||||
if ('${{ matrix.platform }}' -eq 'win32') {
|
if ('${{ matrix.platform }}' -eq 'win32') {
|
||||||
powershell ./setup.ps1
|
powershell ./setup.ps1
|
||||||
} else {
|
} else {
|
||||||
@@ -132,7 +223,7 @@ jobs:
|
|||||||
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
|
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
|
||||||
|
|
||||||
- name: Setup Python ${{ env.VERSION }}
|
- name: Setup Python ${{ env.VERSION }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ env.VERSION }}
|
python-version: ${{ env.VERSION }}
|
||||||
architecture: ${{ matrix.arch }}
|
architecture: ${{ matrix.arch }}
|
||||||
@@ -147,10 +238,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$pythonLocation = which python
|
$pythonLocation = which python
|
||||||
if ('${{ matrix.platform }}' -eq 'darwin') { otool -L $pythonLocation } else { ldd $pythonLocation }
|
if ('${{ matrix.platform }}' -eq 'darwin') { otool -L $pythonLocation } else { ldd $pythonLocation }
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
Install-Module Pester -Force -Scope CurrentUser
|
Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
$pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{
|
$pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{
|
||||||
Version="${{ env.VERSION }}";
|
Version="${{ env.VERSION }}";
|
||||||
@@ -170,7 +260,7 @@ jobs:
|
|||||||
needs: test_python
|
needs: test_python
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
|
|
||||||
- name: Publish Release ${{ env.VERSION }}
|
- name: Publish Release ${{ env.VERSION }}
|
||||||
id: create_release
|
id: create_release
|
||||||
@@ -182,7 +272,6 @@ jobs:
|
|||||||
release_name: ${{ env.VERSION }}
|
release_name: ${{ env.VERSION }}
|
||||||
body: |
|
body: |
|
||||||
Python ${{ env.VERSION }}
|
Python ${{ env.VERSION }}
|
||||||
|
|
||||||
- name: Generate hash for packages
|
- name: Generate hash for packages
|
||||||
run: |
|
run: |
|
||||||
$childItems = Get-Childitem -Path '.'
|
$childItems = Get-Childitem -Path '.'
|
||||||
@@ -196,7 +285,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: Upload release assets
|
- name: Upload release assets
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -220,7 +309,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger "Create Pull Request" workflow
|
- name: Trigger "Create Pull Request" workflow
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -230,4 +319,3 @@ jobs:
|
|||||||
workflow_id: 'create-pr.yml',
|
workflow_id: 'create-pr.yml',
|
||||||
ref: 'main'
|
ref: 'main'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/releases-validation.yml
vendored
4
.github/workflows/releases-validation.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
|
||||||
python: [3.9.12, 3.10.8, 3.11.8]
|
python: [3.9.13, 3.10.11, 3.11.8]
|
||||||
steps:
|
steps:
|
||||||
- name: setup-python ${{ matrix.python }}
|
- name: setup-python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
|
|||||||
@@ -37,16 +37,9 @@ class UbuntuPythonBuilder : NixPythonBuilder {
|
|||||||
$configureString += " --enable-shared"
|
$configureString += " --enable-shared"
|
||||||
$configureString += " --enable-optimizations"
|
$configureString += " --enable-optimizations"
|
||||||
|
|
||||||
### Compile with ucs4 for Python 2.x. On 3.x, ucs4 is enabled by default
|
### Compile with support of loadable sqlite extensions.
|
||||||
if ($this.Version -lt "3.0.0") {
|
|
||||||
$configureString += " --enable-unicode=ucs4"
|
|
||||||
}
|
|
||||||
|
|
||||||
### Compile with support of loadable sqlite extensions. Unavailable for Python 2.*
|
|
||||||
### Link to documentation (https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.enable_load_extension)
|
### Link to documentation (https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.enable_load_extension)
|
||||||
if ($this.Version -ge "3.2.0") {
|
|
||||||
$configureString += " --enable-loadable-sqlite-extensions"
|
$configureString += " --enable-loadable-sqlite-extensions"
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "The passed configure options are: "
|
Write-Host "The passed configure options are: "
|
||||||
Write-Host $configureString
|
Write-Host $configureString
|
||||||
@@ -60,17 +53,13 @@ class UbuntuPythonBuilder : NixPythonBuilder {
|
|||||||
Prepare system environment by installing dependencies and required packages.
|
Prepare system environment by installing dependencies and required packages.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
if (($this.Version -gt "3.0.0") -and ($this.Version -lt "3.5.3")) {
|
if ($this.Version -lt "3.5.3") {
|
||||||
Write-Host "Python3 versions lower than 3.5.3 are not supported"
|
Write-Host "Python versions lower than 3.5.3 are not supported"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
### Compile with tkinter support
|
### Compile with tkinter support
|
||||||
if ($this.Version -gt "3.0.0") {
|
|
||||||
$tkinterInstallString = "sudo apt-get install -y --allow-downgrades python3-tk tk-dev"
|
$tkinterInstallString = "sudo apt-get install -y --allow-downgrades python3-tk tk-dev"
|
||||||
} else {
|
|
||||||
$tkinterInstallString = "sudo apt install -y python-tk tk-dev"
|
|
||||||
}
|
|
||||||
|
|
||||||
Execute-Command -Command "sudo apt-get update"
|
Execute-Command -Command "sudo apt-get update"
|
||||||
Execute-Command -Command $tkinterInstallString
|
Execute-Command -Command $tkinterInstallString
|
||||||
@@ -85,7 +74,8 @@ class UbuntuPythonBuilder : NixPythonBuilder {
|
|||||||
"libsqlite3-dev",
|
"libsqlite3-dev",
|
||||||
"libncursesw5-dev",
|
"libncursesw5-dev",
|
||||||
"libreadline-dev",
|
"libreadline-dev",
|
||||||
"libgdbm-dev"
|
"libgdbm-dev",
|
||||||
|
"liblzma-dev"
|
||||||
) | ForEach-Object {
|
) | ForEach-Object {
|
||||||
Execute-Command -Command "sudo apt install -y $_"
|
Execute-Command -Command "sudo apt install -y $_"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,8 +60,11 @@ class WinPythonBuilder : PythonBuilder {
|
|||||||
} else {
|
} else {
|
||||||
$ArchitectureExtension = ".amd64"
|
$ArchitectureExtension = ".amd64"
|
||||||
}
|
}
|
||||||
|
}elseif ($this.Architecture -eq "arm64") {
|
||||||
|
$ArchitectureExtension = "-arm64"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $ArchitectureExtension
|
return $ArchitectureExtension
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJOR_MINOR pyt
|
|||||||
echo "Upgrading pip..."
|
echo "Upgrading pip..."
|
||||||
export PIP_ROOT_USER_ACTION=ignore
|
export PIP_ROOT_USER_ACTION=ignore
|
||||||
./python -m ensurepip
|
./python -m ensurepip
|
||||||
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location
|
./python -m pip install --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location
|
||||||
|
|
||||||
echo "Install OpenSSL certificates"
|
echo "Install OpenSSL certificates"
|
||||||
sh -e "${PYTHON_APPLICATION_PATH}/Install Certificates.command"
|
sh -e "${PYTHON_APPLICATION_PATH}/Install Certificates.command"
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ fi
|
|||||||
chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR python
|
chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR python
|
||||||
|
|
||||||
echo "Upgrading pip..."
|
echo "Upgrading pip..."
|
||||||
|
export PIP_ROOT_USER_ACTION=ignore
|
||||||
./python -m ensurepip
|
./python -m ensurepip
|
||||||
./python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location --root-user-action=ignore
|
./python -m pip install --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location
|
||||||
|
|
||||||
echo "Create complete file"
|
echo "Create complete file"
|
||||||
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete
|
touch $PYTHON_TOOLCACHE_VERSION_PATH/x64.complete
|
||||||
|
|||||||
@@ -133,8 +133,12 @@ if ($MajorVersion -ne "2") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Install and upgrade Pip"
|
Write-Host "Install and upgrade Pip"
|
||||||
|
$Env:PIP_ROOT_USER_ACTION = "ignore"
|
||||||
$PythonExePath = Join-Path -Path $PythonArchPath -ChildPath "python.exe"
|
$PythonExePath = Join-Path -Path $PythonArchPath -ChildPath "python.exe"
|
||||||
cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location --root-user-action=ignore"
|
cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade --force-reinstall pip --no-warn-script-location"
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
Throw "Error happened during pip installation / upgrade"
|
||||||
|
}
|
||||||
|
|
||||||
Write-Host "Create complete file"
|
Write-Host "Create complete file"
|
||||||
New-Item -ItemType File -Path $PythonVersionPath -Name "$Architecture.complete" | Out-Null
|
New-Item -ItemType File -Path $PythonVersionPath -Name "$Architecture.complete" | Out-Null
|
||||||
|
|||||||
@@ -103,4 +103,8 @@ Describe "Tests" {
|
|||||||
It "Check urlopen with HTTPS works" {
|
It "Check urlopen with HTTPS works" {
|
||||||
"python ./sources/python-urlopen-https.py" | Should -ReturnZeroExitCode
|
"python ./sources/python-urlopen-https.py" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
It "Check a single dist-info per distribution is present" {
|
||||||
|
"python ./sources/dist-info.py" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
24
tests/sources/dist-info.py
Normal file
24
tests/sources/dist-info.py
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
import glob
|
||||||
|
import os.path
|
||||||
|
import sysconfig
|
||||||
|
from collections import defaultdict
|
||||||
|
|
||||||
|
|
||||||
|
def check_dist_info():
|
||||||
|
paths = set([sysconfig.get_path("purelib"), sysconfig.get_path("platlib")])
|
||||||
|
versions = defaultdict(list)
|
||||||
|
for path in paths:
|
||||||
|
pattern = os.path.join(path, "*.dist-info")
|
||||||
|
for dist_info in glob.glob(pattern):
|
||||||
|
name = os.path.basename(dist_info).split("-", maxsplit=1)[0]
|
||||||
|
versions[name].append(dist_info)
|
||||||
|
exit_code = 0
|
||||||
|
for name in versions:
|
||||||
|
if len(versions[name]) > 1:
|
||||||
|
print("multiple dist-info found for {}: {}".format(name, versions[name]))
|
||||||
|
exit_code = 1
|
||||||
|
exit(exit_code)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
check_dist_info()
|
||||||
@@ -1,4 +1,56 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "3.13.0-beta.1",
|
||||||
|
"stable": false,
|
||||||
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.13.0-beta.1-9019422448",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.1-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-beta.1-9019422448/python-3.13.0-beta.1-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.1-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-beta.1-9019422448/python-3.13.0-beta.1-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.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.13.0-beta.1-9019422448/python-3.13.0-beta.1-linux-20.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.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.13.0-beta.1-9019422448/python-3.13.0-beta.1-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.1-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-beta.1-9019422448/python-3.13.0-beta.1-linux-24.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.1-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-beta.1-9019422448/python-3.13.0-beta.1-win32-x64.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.13.0-beta.1-win32-x86.zip",
|
||||||
|
"arch": "x86",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.0-beta.1-9019422448/python-3.13.0-beta.1-win32-x86.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "3.13.0-alpha.6",
|
"version": "3.13.0-alpha.6",
|
||||||
"stable": false,
|
"stable": false,
|
||||||
@@ -272,45 +324,52 @@
|
|||||||
{
|
{
|
||||||
"version": "3.12.3",
|
"version": "3.12.3",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.3-8625548520",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.3-9019007027",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-darwin-arm64.tar.gz",
|
"filename": "python-3.12.3-darwin-arm64.tar.gz",
|
||||||
"arch": "arm64",
|
"arch": "arm64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-8625548520/python-3.12.3-darwin-arm64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-darwin-arm64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-darwin-x64.tar.gz",
|
"filename": "python-3.12.3-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-8625548520/python-3.12.3-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-linux-20.04-x64.tar.gz",
|
"filename": "python-3.12.3-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.12.3-8625548520/python-3.12.3-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-linux-22.04-x64.tar.gz",
|
"filename": "python-3.12.3-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.12.3-8625548520/python-3.12.3-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.12.3-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.12.3-9019007027/python-3.12.3-linux-24.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-win32-x64.zip",
|
"filename": "python-3.12.3-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-8625548520/python-3.12.3-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.12.3-win32-x86.zip",
|
"filename": "python-3.12.3-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-8625548520/python-3.12.3-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.3-9019007027/python-3.12.3-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1088,45 +1147,52 @@
|
|||||||
{
|
{
|
||||||
"version": "3.11.9",
|
"version": "3.11.9",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.9-8525206794",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.9-9018502536",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-darwin-arm64.tar.gz",
|
"filename": "python-3.11.9-darwin-arm64.tar.gz",
|
||||||
"arch": "arm64",
|
"arch": "arm64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-8525206794/python-3.11.9-darwin-arm64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-darwin-arm64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-darwin-x64.tar.gz",
|
"filename": "python-3.11.9-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-8525206794/python-3.11.9-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-linux-20.04-x64.tar.gz",
|
"filename": "python-3.11.9-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.9-8525206794/python-3.11.9-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-linux-22.04-x64.tar.gz",
|
"filename": "python-3.11.9-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.9-8525206794/python-3.11.9-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.11.9-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.11.9-9018502536/python-3.11.9-linux-24.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-win32-x64.zip",
|
"filename": "python-3.11.9-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-8525206794/python-3.11.9-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.11.9-win32-x86.zip",
|
"filename": "python-3.11.9-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-8525206794/python-3.11.9-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.9-9018502536/python-3.11.9-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -2136,27 +2202,34 @@
|
|||||||
{
|
{
|
||||||
"version": "3.10.14",
|
"version": "3.10.14",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.14-8361245787",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.14-9004012336",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.10.14-darwin-x64.tar.gz",
|
"filename": "python-3.10.14-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.14-8361245787/python-3.10.14-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.14-9004012336/python-3.10.14-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.10.14-linux-20.04-x64.tar.gz",
|
"filename": "python-3.10.14-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.10.14-8361245787/python-3.10.14-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.14-9004012336/python-3.10.14-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.10.14-linux-22.04-x64.tar.gz",
|
"filename": "python-3.10.14-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.10.14-8361245787/python-3.10.14-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.14-9004012336/python-3.10.14-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.10.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.10.14-9004012336/python-3.10.14-linux-24.04-x64.tar.gz"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3317,27 +3390,34 @@
|
|||||||
{
|
{
|
||||||
"version": "3.9.19",
|
"version": "3.9.19",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.19-8362510609",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.19-9003651947",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.19-darwin-x64.tar.gz",
|
"filename": "python-3.9.19-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.19-8362510609/python-3.9.19-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.19-9003651947/python-3.9.19-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.19-linux-20.04-x64.tar.gz",
|
"filename": "python-3.9.19-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.9.19-8362510609/python-3.9.19-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.19-9003651947/python-3.9.19-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.19-linux-22.04-x64.tar.gz",
|
"filename": "python-3.9.19-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.9.19-8362510609/python-3.9.19-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.19-9003651947/python-3.9.19-linux-22.04-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "python-3.9.19-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.9.19-9003651947/python-3.9.19-linux-24.04-x64.tar.gz"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3500,46 +3580,45 @@
|
|||||||
{
|
{
|
||||||
"version": "3.9.13",
|
"version": "3.9.13",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.13-2717571420",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.13-8879985561",
|
||||||
"files": [
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "python-3.9.13-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.13-darwin-x64.tar.gz",
|
"filename": "python-3.9.13-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-2717571420/python-3.9.13-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-darwin-x64.tar.gz"
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.9.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.9.13-2717571420/python-3.9.13-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.13-linux-20.04-x64.tar.gz",
|
"filename": "python-3.9.13-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.9.13-2717571420/python-3.9.13-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.13-linux-22.04-x64.tar.gz",
|
"filename": "python-3.9.13-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.9.13-2717571420/python-3.9.13-linux-22.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-linux-22.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.13-win32-x64.zip",
|
"filename": "python-3.9.13-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-2717571420/python-3.9.13-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.9.13-win32-x86.zip",
|
"filename": "python-3.9.13-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-2717571420/python-3.9.13-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.13-8879985561/python-3.9.13-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -4629,39 +4708,38 @@
|
|||||||
{
|
{
|
||||||
"version": "3.8.10",
|
"version": "3.8.10",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.10-117959",
|
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.10-8879978422",
|
||||||
"files": [
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "python-3.8.10-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/python-3.8.10-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.10-darwin-x64.tar.gz",
|
"filename": "python-3.8.10-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/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-117959/python-3.8.10-linux-18.04-x64.tar.gz"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.10-linux-20.04-x64.tar.gz",
|
"filename": "python-3.8.10-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.10-117959/python-3.8.10-linux-20.04-x64.tar.gz"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/python-3.8.10-linux-20.04-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.10-win32-x64.zip",
|
"filename": "python-3.8.10-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-win32-x64.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/python-3.8.10-win32-x64.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "python-3.8.10-win32-x86.zip",
|
"filename": "python-3.8.10-win32-x86.zip",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-117959/python-3.8.10-win32-x86.zip"
|
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-8879978422/python-3.8.10-win32-x86.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user