5050 REQUIREMENTS_313 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_13_11_0dotb4.txt"
5151 REQUIREMENTS_314 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_14_2_0dotb4.txt"
5252 REQUIREMENTS_315 : " "
53- REQUIREMENTS_WHL_313 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_13_11_0whlb3_wheels .txt"
54- REQUIREMENTS_WHL_314 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_14_2_0whlb3_wheels .txt"
53+ REQUIREMENTS_WHL_313 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_13_11_0whlb4_wheels .txt"
54+ REQUIREMENTS_WHL_314 : " winpython\\ portable\\ cycle_2025_05\\ requir.64-3_14_2_0whlb4_wheels .txt"
5555 REQUIREMENTS_WHL_315 : " "
5656 ZIP : " 0"
5757 SEVEN_Z : " 1"
@@ -140,7 +140,6 @@ jobs:
140140 echo "WINPYVER=${WINPYVER2}${{ matrix.flavor.name }}${{ env.my_release_level }}" >> $GITHUB_ENV
141141
142142 # Centralized mapping of python binaries and SHAs by version and arch.
143- # NOTE: fill the 3.15 URLs and SHA values when available.
144143 # 3.13 x64 (GIL)
145144 if [ "$PYTHON_VERSION" = "3.13" ] && [ "$WINPYARCHDET" = "64" ]; then
146145 echo "python_source=https://github.com/astral-sh/python-build-standalone/releases/download/20251205/cpython-3.13.11+20251205-x86_64-pc-windows-msvc-install_only_stripped.tar.gz" >> $GITHUB_ENV
@@ -227,16 +226,8 @@ jobs:
227226 Write-Host "Downloading Pandoc from $env:pandoc_source"
228227 curl.exe -L -o $pandocZipPath $env:pandoc_source
229228
230- Write-Host "Creating temporary directory for extraction"
231- mkdir -p $tempDir
232-
233- Write-Host "Extracting archive to temporary directory"
234- Expand-Archive -Path $pandocZipPath -DestinationPath $tempDir
235-
236- Write-Host "Creating final target directory: $targetDir"
237- if (-not (Test-Path -Path $targetDir)) {
238- mkdir -p $targetDir
239- }
229+ Expand-Archive -Path $pandocZipPath -DestinationPath $tempDir -Force
230+ New-Item -ItemType Directory -Path $targetDir -Force | Out-Null
240231
241232 Write-Host "Copying pandoc.exe to $targetDir"
242233 Copy-Item -Path (Join-Path $tempDir "pandoc-3.1.9\pandoc.exe") -Destination $targetDir -Force
@@ -245,18 +236,14 @@ jobs:
245236 Write-Host "Listing contents of $targetDir"
246237 Get-ChildItem -Path $targetDir
247238
248- # Calculate SHA256 hash
249239 $expectedHash = $env:pandoc_sha256.ToLower()
250-
251- $hashObject = Get-FileHash -Path $pandocZipPath -Algorithm SHA256
252- $actualHash = $hashObject.Hash.ToLower()
240+ $actualHash = (Get-FileHash -Path $pandocZipPath -Algorithm SHA256).Hash.ToLower()
253241
254242 if ($actualHash -ne $expectedHash) {
255243 Write-Error "Pandoc SHA mismatch: $actualHash vs expected $expectedHash"
256244 exit 1
257245 } else { Write-Host "Pandoc SHA ok" }
258246
259- # Optional: Clean up temporary files
260247 Write-Host "Cleaning up temporary files..."
261248 Remove-Item -Path $tempDir -Recurse -Force
262249 Remove-Item -Path $pandocZipPath -Force
@@ -286,7 +273,6 @@ jobs:
286273 if : env.WINPYREQUIREMENTS != ''
287274 shell : pwsh
288275 run : |
289-
290276 & "$env:build_location\python\python.exe" -m pip download --dest $env:dotwheelhouse --no-deps --require-hashes -r $env:WINPYREQUIREMENTS
291277
292278 - name : Download additional wheelhouse requirements
0 commit comments