Skip to content

Commit 3f6af8d

Browse files
authored
Update for 3.15 release. (#424)
* Now uses 3.15.0 as the embedded runtime * Repartitions 3.11 to 'legacy' index
1 parent 4f544c2 commit 3f6af8d

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ jobs:
4343
- name: Set up NuGet
4444
uses: nuget/setup-nuget@b26b823c478ee115be5c9403e62c90b0bf943843 # v3.1.0
4545

46-
- name: Set up Python 3.15.0rc2
46+
- name: Set up Python 3.15.0
4747
run: |
48-
nuget install python -Version 3.15.0-rc2 -x -o .
48+
nuget install python -Version 3.15.0 -x -o .
4949
$py = Get-Item python\tools
5050
Write-Host "Adding $py to PATH"
5151
"$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
5252
working-directory: ${{ runner.temp }}
5353

54-
- name: Check Python version is 3.15.0rc2
54+
- name: Check Python version is 3.15.0
5555
run: >
5656
python -c "import sys;
5757
print(sys.version);
5858
print(sys.executable);
59-
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)"
59+
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)"
6060
6161
- name: Install build dependencies
62-
run: python -m pip install "pymsbuild==1.2.2"
62+
run: python -m pip install "pymsbuild==1.2.3"
6363

6464
- name: 'Install test runner'
6565
run: python -m pip install pytest pytest-cov

‎ci/release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,22 +98,22 @@ stages:
9898
displayName: 'Install Nuget'
9999

100100
- powershell: |
101-
nuget install python -Version 3.15.0-rc2 -x -noninteractive -o host_python
101+
nuget install python -Version 3.15.0 -x -noninteractive -o host_python
102102
$py = Get-Item host_python\python\tools
103103
Write-Host "Adding $py to PATH"
104104
Write-Host "##vso[task.prependpath]$py"
105-
displayName: Set up Python 3.15.0rc2
105+
displayName: Set up Python 3.15.0
106106
workingDirectory: $(Build.BinariesDirectory)
107107
108108
- powershell: >
109109
python -c "import sys;
110110
print(sys.version);
111111
print(sys.executable);
112-
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)"
113-
displayName: Check Python version is 3.15.0rc2
112+
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)"
113+
displayName: Check Python version is 3.15.0
114114
115115
- powershell: |
116-
python -m pip install "pymsbuild==1.2.2"
116+
python -m pip install "pymsbuild==1.2.3"
117117
displayName: 'Install build dependencies'
118118
119119
- ${{ if eq(parameters.PreTest, 'true') }}:

‎scripts/repartition-index.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def parse_cli(args):
246246
write = WriteFiles()
247247
for a in args:
248248
if a == "--windows-default":
249-
print("Using equivalent of: --pre --latest-micro -r >=3.11.0 index-windows.json")
250-
print(" --pre -r >=3.11.0 index-windows-recent.json")
249+
print("Using equivalent of: --pre --latest-micro -r >=3.12.0 index-windows.json")
250+
print(" --pre -r >=3.12.0 index-windows-recent.json")
251251
print(" index-windows-legacy.json")
252252
print(" --report index-windows.txt")
253253
plan_split = [SplitToFile(), SplitToFile(), SplitToFile(), SplitToFile()]
@@ -258,8 +258,8 @@ def parse_cli(args):
258258
plan_split[3].report = True
259259
plan_split[0].pre = plan_split[1].pre = plan_split[2].pre = True
260260
plan_split[0].latest_micro = True
261-
plan_split[0].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")]
262-
plan_split[1].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")]
261+
plan_split[0].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")]
262+
plan_split[1].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")]
263263
elif a == "-i":
264264
action = ReadFile()
265265
plan_read.append(action)

0 commit comments

Comments
 (0)