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
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ jobs:
- name: Set up NuGet
uses: nuget/setup-nuget@b26b823c478ee115be5c9403e62c90b0bf943843 # v3.1.0

- name: Set up Python 3.15.0rc2
- name: Set up Python 3.15.0
run: |
nuget install python -Version 3.15.0-rc2 -x -o .
nuget install python -Version 3.15.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.15.0rc2
- name: Check Python version is 3.15.0
run: >
python -c "import sys;
print(sys.version);
print(sys.executable);
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)"
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)"
- name: Install build dependencies
run: python -m pip install "pymsbuild==1.2.2"
run: python -m pip install "pymsbuild==1.2.3"

- name: 'Install test runner'
run: python -m pip install pytest pytest-cov
Expand Down
10 changes: 5 additions & 5 deletions ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ stages:
displayName: 'Install Nuget'

- powershell: |
nuget install python -Version 3.15.0-rc2 -x -noninteractive -o host_python
nuget install python -Version 3.15.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.15.0rc2
displayName: Set up Python 3.15.0
workingDirectory: $(Build.BinariesDirectory)
- powershell: >
python -c "import sys;
print(sys.version);
print(sys.executable);
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'candidate', 2) else 1)"
displayName: Check Python version is 3.15.0rc2
sys.exit(0 if sys.version_info[:5] == (3, 15, 0, 'final', 0) else 1)"
displayName: Check Python version is 3.15.0
- powershell: |
python -m pip install "pymsbuild==1.2.2"
python -m pip install "pymsbuild==1.2.3"
displayName: 'Install build dependencies'
- ${{ if eq(parameters.PreTest, 'true') }}:
Expand Down
8 changes: 4 additions & 4 deletions scripts/repartition-index.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def parse_cli(args):
write = WriteFiles()
for a in args:
if a == "--windows-default":
print("Using equivalent of: --pre --latest-micro -r >=3.11.0 index-windows.json")
print(" --pre -r >=3.11.0 index-windows-recent.json")
print("Using equivalent of: --pre --latest-micro -r >=3.12.0 index-windows.json")
print(" --pre -r >=3.12.0 index-windows-recent.json")
print(" index-windows-legacy.json")
print(" --report index-windows.txt")
plan_split = [SplitToFile(), SplitToFile(), SplitToFile(), SplitToFile()]
Expand All @@ -258,8 +258,8 @@ def parse_cli(args):
plan_split[3].report = True
plan_split[0].pre = plan_split[1].pre = plan_split[2].pre = True
plan_split[0].latest_micro = True
plan_split[0].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")]
plan_split[1].tag_or_range = [tag_or_range(">=3.11"), tag_or_range(">=3.13t")]
plan_split[0].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")]
plan_split[1].tag_or_range = [tag_or_range(">=3.12"), tag_or_range(">=3.13t")]
elif a == "-i":
action = ReadFile()
plan_read.append(action)
Expand Down