Compare commits

...

18 Commits

Author SHA1 Message Date
github-actions[bot] d9a6f719c1 Update versions-manifest (#382)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-03-12 22:04:16 -05:00
priya-kinthali 9563bbdac5 Apply upstream cpython patch to fix test_bz2 on 3.15.0a6 (Ubuntu-22.04 arm64) (#381)
* patch for 3.15.0a6

* patch for 3.15.0a6
2026-03-12 11:03:49 -05:00
github-actions[bot] 8cf18c1668 Update versions-manifest (#380)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-03-10 21:56:52 -05:00
Matthieu Darbois 2f93389231 fix: do not include CPython source archive in unix artefacts (#287) 2026-03-10 10:47:45 -05:00
github-actions[bot] 922a545faa Update versions-manifest (#379)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-03-03 21:09:27 -06:00
github-actions[bot] e49da09661 Update versions-manifest (#375)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-02-04 10:31:07 -06:00
dependabot[bot] 61c4d12583 Bump actions/download-artifact from 4 to 6 (#364)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 16:35:56 -06:00
dependabot[bot] 96ebf90b73 Bump actions/upload-artifact from 4 to 5 (#363)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 16:35:36 -06:00
dependabot[bot] d36fd1a300 Bump actions/github-script from 7 to 8 (#355)
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 16:35:05 -06:00
dependabot[bot] 9b2be034cb Bump actions/setup-python from 5 to 6 (#354)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 16:34:33 -06:00
dependabot[bot] 74d59deab1 Bump actions/checkout from 5 to 6 (#368)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 15:42:08 -06:00
github-actions[bot] 4d5c7515bd Update versions-manifest (#374)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-01-15 10:42:36 -06:00
github-actions[bot] f499afd94b Update versions-manifest (#373)
Co-authored-by: Service account <no-reply@microsoft.com>
2026-01-14 10:51:11 -06:00
github-actions[bot] e110a8cf3d Update versions-manifest (#372)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-12-16 21:53:45 -06:00
github-actions[bot] dd4cef5bcc Update versions-manifest (#371)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-12-07 22:00:27 -06:00
github-actions[bot] ca5c54dde8 Update versions-manifest (#370)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-12-02 22:36:26 -06:00
github-actions[bot] 829afbafac Update versions-manifest (#367)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-11-19 12:06:07 -06:00
Haritha e39b5eb019 update macOS version in CI workflows to macos-15-intel (#366) 2025-11-12 11:48:59 -06:00
7 changed files with 1612 additions and 21 deletions
+11 -15
View File
@@ -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 = @()
@@ -86,21 +86,17 @@ jobs:
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps:
- name: Check out repository code
uses: actions/checkout@v5
uses: actions/checkout@v6
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 `
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
- name: Publish artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/artifact
@@ -117,7 +113,7 @@ jobs:
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps:
- name: Check out repository code
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
submodules: true
@@ -130,7 +126,7 @@ jobs:
run: if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
@@ -158,7 +154,7 @@ jobs:
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup Python ${{ env.VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.VERSION }}
architecture: ${{ matrix.arch }}
@@ -199,7 +195,7 @@ jobs:
needs: test_python
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
- name: Publish Release ${{ env.VERSION }}
id: create_release
@@ -225,7 +221,7 @@ jobs:
}
- name: Upload release assets
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
@@ -249,7 +245,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger "Create Pull Request" workflow
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
submodules: true
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Trigger python workflow
run: |
+2 -2
View File
@@ -14,11 +14,11 @@ 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 }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
+1 -1
View File
@@ -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
+9 -1
View File
@@ -73,7 +73,7 @@ class NixPythonBuilder : PythonBuilder {
$sourceUri = $this.GetSourceUri()
Write-Host "Sources URI: $sourceUri"
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.WorkFolderLocation
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.TempFolderLocation
$expandedSourceLocation = Join-Path -Path $this.TempFolderLocation -ChildPath "SourceCode"
New-Item -Path $expandedSourceLocation -ItemType Directory
@@ -146,6 +146,14 @@ class NixPythonBuilder : PythonBuilder {
$sourcesLocation = $this.Download()
Push-Location -Path $sourcesLocation
# Patch for 3.15.0a6: Fix test_bz2 BIG_DATA to ensure two compressed blocks
# See: https://github.com/python/cpython/pull/145730
if (($this.Architecture -match "arm64") -and ($this.Platform -match "22\.04") -and ($this.Version -eq [semver]"3.15.0-alpha.6")) {
Write-Host "Applying patch for python/cpython#145730 (test_bz2 fix)..."
Execute-Command -Command "curl -sL -o Lib/test/test_bz2.py https://raw.githubusercontent.com/python/cpython/19676e5fc28bdee8325a062a31ddeee60960cf75/Lib/test/test_bz2.py"
}
Write-Host "Configure for $($this.Platform)..."
$this.Configure()
File diff suppressed because it is too large Load Diff