From ae6ec425b7de580d13cf1f8fa5d5b6fe769de861 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 26 May 2025 16:47:55 +0100 Subject: [PATCH 1/2] Build using 3.14.0b2 --- .github/workflows/build.yml | 8 ++++---- ci/release.yml | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7412d78..1419115 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,20 +40,20 @@ jobs: - name: Set up NuGet uses: nuget/setup-nuget@v2.0.1 - - name: Set up Python 3.14.0b1 + - name: Set up Python 3.14.0b2 run: | - nuget install python -Version 3.14.0-b1 -x -o . + nuget install python -Version 3.14.0-b2 -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.14.0b1 + - name: Check Python version is 3.14.0b2 run: > python -c "import sys; print(sys.version); print(sys.executable); - sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 1) else 1)" + sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 2) else 1)" - name: Install build dependencies run: python -m pip install "pymsbuild>=1.2.0b1" diff --git a/ci/release.yml b/ci/release.yml index 4c3bdf8..ed0cd26 100644 --- a/ci/release.yml +++ b/ci/release.yml @@ -87,10 +87,19 @@ stages: displayName: 'Install Nuget' - powershell: | - nuget install -o host_python -x -noninteractive -prerelease python - Write-Host "##vso[task.prependpath]$(gi host_python\python\tools)" - displayName: 'Install host Python' - workingDirectory: $(Build.BinariesDirectory) + nuget install python -Version 3.14.0-b2 -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.14.0b2 + working-directory: $(Build.BinariesDirectory) + + - powershell: > + python -c "import sys; + print(sys.version); + print(sys.executable); + sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 2) else 1)" + displayName: Check Python version is 3.14.0b2 - powershell: | python -m pip install "pymsbuild>=1.2.0b1" From 680c7fa502b51019dd6c21d7fa8d926a0dbe6c3d Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 26 May 2025 16:50:37 +0100 Subject: [PATCH 2/2] Fix copy-pasted GHism --- ci/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release.yml b/ci/release.yml index ed0cd26..838420d 100644 --- a/ci/release.yml +++ b/ci/release.yml @@ -92,7 +92,7 @@ stages: Write-Host "Adding $py to PATH" Write-Host "##vso[task.prependpath]$py" displayName: Set up Python 3.14.0b2 - working-directory: $(Build.BinariesDirectory) + workingDirectory: $(Build.BinariesDirectory) - powershell: > python -c "import sys;