mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
9 Commits
3.12.12-18
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd4cef5bcc | ||
|
|
ca5c54dde8 | ||
|
|
829afbafac | ||
|
|
e39b5eb019 | ||
|
|
e83463635a | ||
|
|
9aa7b46861 | ||
|
|
990053552b | ||
|
|
c979aa30d9 | ||
|
|
d026dedcb3 |
10
.github/workflows/build-python-packages.yml
vendored
10
.github/workflows/build-python-packages.yml
vendored
@@ -20,7 +20,7 @@ on:
|
||||
PLATFORMS:
|
||||
description: 'Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
|
||||
required: true
|
||||
default: 'ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-13_x64,macos-14_arm64,windows-2022_x64,windows-2022_x86,windows-11_arm64'
|
||||
default: 'ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-15-intel_x64,macos-14_arm64,windows-2022_x64,windows-2022_x86,windows-11_arm64'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'versions-manifest.json'
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Generate execution matrix
|
||||
id: generate-matrix
|
||||
run: |
|
||||
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-13,macos-14_arm64,windows-2022_x64,windows-2022_x86,windows-11_arm64' }}".Split(",").Trim()
|
||||
[String[]]$configurations = "${{ inputs.platforms || 'ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-15-intel,macos-14_arm64,windows-2022_x64,windows-2022_x86,windows-11_arm64' }}".Split(",").Trim()
|
||||
[String[]]$buildModes = "${{ inputs.threading_build_modes || 'default' }}".Split(",").Trim()
|
||||
$matrix = @()
|
||||
|
||||
@@ -89,11 +89,7 @@ jobs:
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Adding Symlink
|
||||
if: matrix.os == 'macos-13'
|
||||
run: ln -sf /usr/local/opt/tcl-tk@8 /usr/local/opt/tcl-tk
|
||||
|
||||
|
||||
- name: Build Python ${{ env.VERSION }}
|
||||
run: |
|
||||
./builders/build-python.ps1 -Version $env:VERSION `
|
||||
|
||||
2
.github/workflows/releases-validation.yml
vendored
2
.github/workflows/releases-validation.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-22.04, ubuntu-latest, macos-13]
|
||||
os: [macos-latest, windows-latest, ubuntu-22.04, ubuntu-latest, macos-15-intel]
|
||||
python: [3.9.13, 3.10.11, 3.11.8, 3.12.7, 3.13.0]
|
||||
steps:
|
||||
- name: setup-python ${{ matrix.python }}
|
||||
|
||||
2
.github/workflows/test-python-version.yml
vendored
2
.github/workflows/test-python-version.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-22.04, ubuntu-latest, macos-13]
|
||||
os: [macos-latest, windows-latest, ubuntu-22.04, ubuntu-latest, macos-15-intel]
|
||||
steps:
|
||||
- name: Setup Python ${{ github.event.inputs.version }}
|
||||
uses: actions/setup-python@main
|
||||
|
||||
@@ -241,6 +241,12 @@ if sys.version_info >= (3, 14):
|
||||
'annotationlib',
|
||||
])
|
||||
|
||||
# https://docs.python.org/3.15/whatsnew/3.15.html
|
||||
if sys.version_info >= (3, 15):
|
||||
standard_library.remove('sre_compile')
|
||||
standard_library.remove('sre_constants')
|
||||
standard_library.remove('sre_parse')
|
||||
|
||||
# Remove tkinter and Easter eggs
|
||||
excluded_modules = [
|
||||
'antigravity',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user