Skip to content

Commit c80fe7b

Browse files
authored
Remove workaround related to LongPathsEnabled on Windows (#1826)
* Remove free-threaded Python workaround, verify LongPathsEnabled The CI runners now have LongPathsEnabled=1 (nv-gha-runners/vm-images#241), so remove the skip of pip install and all_must_work tests for py3.14t on Windows. Add a fail-early step to catch runners that lack the setting. Closes #1820 Made-with: Cursor * TEMPORARY: restrict CI to Windows 3.14t jobs only Disable Linux builds/tests and docs, filter Windows test matrix to py3.14t to verify LongPathsEnabled fix in isolation. Revert before merge. Made-with: Cursor * Revert "TEMPORARY: restrict CI to Windows 3.14t jobs only" This reverts commit a92790a.
1 parent bfa862d commit c80fe7b

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/test-wheel-windows.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,15 @@ jobs:
208208
with:
209209
python-version: ${{ matrix.PY_VER }}
210210

211+
- name: Verify LongPathsEnabled
212+
run: |
213+
$val = (Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled').LongPathsEnabled
214+
echo "LongPathsEnabled = $val"
215+
if ($val -ne 1) {
216+
echo "::error::LongPathsEnabled is not set to 1 (see issue #1820)"
217+
exit 1
218+
}
219+
211220
- name: Set up mini CTK
212221
if: ${{ matrix.LOCAL_CTK == '1' }}
213222
uses: ./.github/actions/fetch_ctk
@@ -263,7 +272,6 @@ jobs:
263272
}
264273
265274
- name: Install cuda.pathfinder extra wheels for testing
266-
if: ${{ !endsWith(matrix.PY_VER, 't') }} # see issue #1820
267275
shell: bash --noprofile --norc -xeuo pipefail {0}
268276
run: |
269277
pushd cuda_pathfinder
@@ -272,7 +280,6 @@ jobs:
272280
popd
273281
274282
- name: Run cuda.pathfinder tests with all_must_work
275-
if: ${{ !endsWith(matrix.PY_VER, 't') }} # see issue #1820
276283
env:
277284
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
278285
CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS: all_must_work

0 commit comments

Comments
 (0)