Skip to content

Commit cb03898

Browse files
committed
retry complement
1 parent c669edc commit cb03898

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/github_workflows_build-all_3.13.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,18 @@ jobs:
282282
$outreq = "publish_output\requir.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_').txt"
283283
& "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$destfile_pylock', r'$outreq')"
284284
285+
if ($env:WINPYrequirementswhl -eq "") {
286+
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freezewheel.txt
287+
$destfile_pylockwheel = "publish_output\pylock.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_')_wheels.toml"
288+
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=$env:destwheelhouse -r dotpython\freezewheel.txt -o $destfile_pylockwheel
289+
290+
$outreqwheel = "publish_output\requir.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_')_wheels.txt"
291+
& "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$destfile_pylockwheel', r'$outreqwheel')"
292+
Copy-Item -Path $outreqwheel -Destination (Join-Path $env:build_location "wheelhouse") -Force
293+
Copy-Item -Path $destfile_pylockwheel -Destination (Join-Path $env:build_location "wheelhouse") -Force
294+
295+
}
296+
285297
- name: Zip the result
286298
shell: pwsh
287299
if: ${{ matrix.flavor_config.ZIP == '1' }}

0 commit comments

Comments
 (0)