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.0rc3
- name: Set up Python 3.14.0
run: |
nuget install python -Version 3.14.0-rc3 -x -o .
nuget install python -Version 3.14.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.14.0rc3
- name: Check Python version is 3.14.0
run: >
python -c "import sys;
print(sys.version);
print(sys.executable);
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'candidate', 3) else 1)"
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'final', 0) else 1)"

- name: Install build dependencies
run: python -m pip install "pymsbuild>=1.2.0b1"
Expand Down
8 changes: 4 additions & 4 deletions ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ stages:
displayName: 'Install Nuget'

- powershell: |
nuget install python -Version 3.14.0-rc3 -x -noninteractive -o host_python
nuget install python -Version 3.14.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.14.0rc3
displayName: Set up Python 3.14.0
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, 'candidate', 3) else 1)"
displayName: Check Python version is 3.14.0rc3
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'final', 0) else 1)"
displayName: Check Python version is 3.14.0

- powershell: |
python -m pip install "pymsbuild>=1.2.0b1"
Expand Down
4 changes: 1 addition & 3 deletions src/pymanager.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"install": {
"source": "%PYTHON_MANAGER_SOURCE_URL%",
"fallback_source": "./bundled/fallback-index.json",

"#": "Install 3.14 (prerelease) by default during prerelease PyManager",
"default_install_tag": "3-dev"
"default_install_tag": "3"
},
"list": {
"format": "%PYTHON_MANAGER_LIST_FORMAT%"
Expand Down