@@ -68,25 +68,21 @@ jobs:
6868 switch ($env:PYTHON_VERSIONF) {
6969 '3.13' {
7070 Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.13.11.1'
71- Add-Content -Path $env:GITHUB_OUTPUT -Value 'v_tag=3_13_11_1'
7271 Add-Content -Path $env:GITHUB_OUTPUT -Value 'src=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'
7372 Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=d8a2b5e05ef71fc71f048a6f409d69b940bc5d33da8b112611cfba68fc5b86c3'
7473 }
7574 '3.14' {
7675 Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.14.2.1'
77- Add-Content -Path $env:GITHUB_OUTPUT -Value 'v_tag=3_14_2_1'
7876 Add-Content -Path $env:GITHUB_OUTPUT -Value 'src=https://github.com/astral-sh/python-build-standalone/releases/download/20251205/cpython-3.14.2+20251205-x86_64-pc-windows-msvc-install_only_stripped.tar.gz'
7977 Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=512744d8a86dc6042a712035ada5d87c5e2ce4218f5dbdc74d039cee46e76fb4'
8078 }
8179 '3.14F' {
8280 Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.14.2.1'
83- Add-Content -Path $env:GITHUB_OUTPUT -Value 'v_tag=3_14_2_1'
8481 Add-Content -Path $env:GITHUB_OUTPUT -Value 'src=https://github.com/astral-sh/python-build-standalone/releases/download/20251205/cpython-3.14.2+20251205-x86_64-pc-windows-msvc-freethreaded+pgo-full.tar.zst'
8582 Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=536cf813857ea566fcfae18a1b7dbcd185385f1dc1f04d5a0951bad235c8fc61'
8683 }
8784 '3.15' {
8885 Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.15.0.1'
89- Add-Content -Path $env:GITHUB_OUTPUT -Value 'v_tag=3_15_0_1'
9086 Add-Content -Path $env:GITHUB_OUTPUT -Value 'src=https://github.com/astral-sh/python-build-standalone/releases/download/20251217/cpython-3.15.0a3+20251217-x86_64-pc-windows-msvc-install_only_stripped.tar.gz'
9187 Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=4cac37170050bb402eaabad84e7ceb4679ec8ffaf43fbea71d62651ca761dcd7'
9288 }
10096 WINPYVER2 : ${{ steps.python_config.outputs.ver2 }}
10197 my_cycle : ${{ env.my_cycle }}
10298 my_release_level : ${{ env.my_release_level }}
103- V_TAG : ${{ steps.python_config.outputs.v_tag }}
10499 FLAVOR_NAME : ${{ matrix.flavor.name }}
105100 run : |
106101 # Normalize PYTHON_VERSION by removing trailing 'F' if present
@@ -116,8 +111,11 @@ jobs:
116111
117112 $WINPYREQUIREMENTS = ''
118113 $WINPYREQUIREMENTSwhl = ''
119- $testreq = "$($env:my_cycle)/requir.64-$($env:V_TAG)$($env:FLAVOR_NAME)$($env:my_release_level).txt"
120- $testwhl = "$($env:my_cycle)/requir.64-$($env:V_TAG)$($env:FLAVOR_NAME)_wheels$($env:my_release_level).txt"
114+
115+ # 2. Generate requirement files expected names dynamically
116+ $V_TAG = $env:WINPYVER2 -replace '\.', '-'
117+ $testreq = "$($env:my_cycle)/requir.64-$($V_TAG)$($env:FLAVOR_NAME)$($env:my_release_level).txt"
118+ $testwhl = "$($env:my_cycle)/requir.64-$($V_TAG)$($env:FLAVOR_NAME)_wheels$($env:my_release_level).txt"
121119
122120 Write-Host "Checking for requirements files: $testreq and $testwhl (expected arch $detected_arch)"
123121
0 commit comments