Skip to content

Commit 2f73265

Browse files
committed
Try installing typing-extensions
Signed-off-by: Pavel Chekin <[email protected]>
1 parent 0523c77 commit 2f73265

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/wheels-pytorch.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ jobs:
8282
8383
cd pytorch
8484
85-
# We need ninja >= 1.12.0 to support long names on Windows. At the moment there is no required
86-
# version in pypi, so instead of installing ninja with pip we use a preinstalled 1.12.1 on the
87-
# runner.
88-
# Set-Content -Path pyproject.toml -Value (get-content -Path pyproject.toml | Select-String -Pattern '"ninja"' -NotMatch)
89-
9085
# Required to build on Windows
9186
$env:CMAKE_SHARED_LINKER_FLAGS = "/FORCE:MULTIPLE"
9287
$env:CMAKE_MODULE_LINKER_FLAGS = "/FORCE:MULTIPLE"
@@ -98,6 +93,7 @@ jobs:
9893
$env:CIBW_BUILD = "cp3{9,10,11,12,13}*-win_amd64"
9994
$env:CIBW_CACHE_PATH = "${{ env.NEW_WORKSPACE }}/cibw"
10095
$env:USE_XCCL = "1"
96+
$env:CIBW_BEFORE_BUILD = "pip install 'typing-extensions>=4.10.0'"
10197
10298
python -m cibuildwheel --output-dir wheelhouse
10399

0 commit comments

Comments
 (0)