Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
15 changes: 12 additions & 3 deletions ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,20 @@ 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'
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
workingDirectory: $(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"
displayName: 'Install build dependencies'
Expand Down