Skip to content

Commit c5801ab

Browse files
authored
Build with Python 3.14 and install stable Python 3 by default (#175)
Fixes #8
1 parent 8e5bc44 commit c5801ab

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ jobs:
4040
- name: Set up NuGet
4141
uses: nuget/[email protected]
4242

43-
- name: Set up Python 3.14.0rc3
43+
- name: Set up Python 3.14.0
4444
run: |
45-
nuget install python -Version 3.14.0-rc3 -x -o .
45+
nuget install python -Version 3.14.0 -x -o .
4646
$py = Get-Item python\tools
4747
Write-Host "Adding $py to PATH"
4848
"$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
4949
working-directory: ${{ runner.temp }}
5050

51-
- name: Check Python version is 3.14.0rc3
51+
- name: Check Python version is 3.14.0
5252
run: >
5353
python -c "import sys;
5454
print(sys.version);
5555
print(sys.executable);
56-
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'candidate', 3) else 1)"
56+
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'final', 0) else 1)"
5757
5858
- name: Install build dependencies
5959
run: python -m pip install "pymsbuild>=1.2.0b1"

ci/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,19 @@ stages:
8787
displayName: 'Install Nuget'
8888

8989
- powershell: |
90-
nuget install python -Version 3.14.0-rc3 -x -noninteractive -o host_python
90+
nuget install python -Version 3.14.0 -x -noninteractive -o host_python
9191
$py = Get-Item host_python\python\tools
9292
Write-Host "Adding $py to PATH"
9393
Write-Host "##vso[task.prependpath]$py"
94-
displayName: Set up Python 3.14.0rc3
94+
displayName: Set up Python 3.14.0
9595
workingDirectory: $(Build.BinariesDirectory)
9696
9797
- powershell: >
9898
python -c "import sys;
9999
print(sys.version);
100100
print(sys.executable);
101-
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'candidate', 3) else 1)"
102-
displayName: Check Python version is 3.14.0rc3
101+
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'final', 0) else 1)"
102+
displayName: Check Python version is 3.14.0
103103
104104
- powershell: |
105105
python -m pip install "pymsbuild>=1.2.0b1"

src/pymanager.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"install": {
33
"source": "%PYTHON_MANAGER_SOURCE_URL%",
44
"fallback_source": "./bundled/fallback-index.json",
5-
6-
"#": "Install 3.14 (prerelease) by default during prerelease PyManager",
7-
"default_install_tag": "3-dev"
5+
"default_install_tag": "3"
86
},
97
"list": {
108
"format": "%PYTHON_MANAGER_LIST_FORMAT%"

0 commit comments

Comments
 (0)