From 340d1768511a36e002cc9321424e88662bf3b563 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 9 Oct 2026 12:46:00 +0100 Subject: [PATCH] Update for 3.15 release. * Now uses 3.15.0 as the embedded runtime * Repartitions 3.11 to 'legacy' index --- .github/workflows/build.yml | 10 +++++----- ci/release.yml | 10 +++++----- scripts/repartition-index.py | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19052fd..861c1f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,23 +43,23 @@ jobs: - name: Set up NuGet uses: nuget/setup-nuget@b26b823c478ee115be5c9403e62c90b0bf943843 # v3.1.0 - - name: Set up Python 3.15.0rc2 + - name: Set up Python 3.15.0 run: | - nuget install python -Version 3.15.0-rc2 -x -o . + nuget install python -Version 3.15.0 -x -o . $py = Get-Item python\tools Write-Host "Adding $py to PATH" "$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append working-directory: ${{ runner.temp }} - - name: Check Python version is 3.15.0rc2 + - name: Check Python version is 3.15.0 run: > python -c "import sys; print(sys.version); print(sys.executable); - sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)" + sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)" - name: Install build dependencies - run: python -m pip install "pymsbuild==1.2.2" + run: python -m pip install "pymsbuild==1.2.3" - name: 'Install test runner' run: python -m pip install pytest pytest-cov diff --git a/ci/release.yml b/ci/release.yml index db73e11..4ef1da3 100644 --- a/ci/release.yml +++ b/ci/release.yml @@ -98,22 +98,22 @@ stages: displayName: 'Install Nuget' - powershell: | - nuget install python -Version 3.15.0-rc2 -x -noninteractive -o host_python + nuget install python -Version 3.15.0 -x -noninteractive -o host_python $py = Get-Item host_python\python\tools Write-Host "Adding $py to PATH" Write-Host "##vso[task.prependpath]$py" - displayName: Set up Python 3.15.0rc2 + displayName: Set up Python 3.15.0 workingDirectory: $(Build.BinariesDirectory) - powershell: > python -c "import sys; print(sys.version); print(sys.executable); - sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)" - displayName: Check Python version is 3.15.0rc2 + sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)" + displayName: Check Python version is 3.15.0 - powershell: | - python -m pip install "pymsbuild==1.2.2" + python -m pip install "pymsbuild==1.2.3" displayName: 'Install build dependencies' - ${{ if eq(parameters.PreTest, 'true') }}: diff --git a/scripts/repartition-index.py b/scripts/repartition-index.py index 788c192..fc2e283 100644 --- a/scripts/repartition-index.py +++ b/scripts/repartition-index.py @@ -246,8 +246,8 @@ def parse_cli(args): write = WriteFiles() for a in args: if a == "--windows-default": - print("Using equivalent of: --pre --latest-micro -r >=3.11.0 index-windows.json") - print(" --pre -r >=3.11.0 index-windows-recent.json") + print("Using equivalent of: --pre --latest-micro -r >=3.12.0 index-windows.json") + print(" --pre -r >=3.12.0 index-windows-recent.json") print(" index-windows-legacy.json") print(" --report index-windows.txt") plan_split = [SplitToFile(), SplitToFile(), SplitToFile(), SplitToFile()] @@ -258,8 +258,8 @@ def parse_cli(args): plan_split[3].report = True plan_split[0].pre = plan_split[1].pre = plan_split[2].pre = True plan_split[0].latest_micro = True - plan_split[0].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")] - plan_split[1].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")] + plan_split[0].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")] + plan_split[1].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")] elif a == "-i": action = ReadFile() plan_read.append(action)