From b53a98e5e34a1a039fd0cbdf730f339d2f313e76 Mon Sep 17 00:00:00 2001 From: JalinWang Date: Fri, 3 Apr 2026 11:30:32 +0800 Subject: [PATCH] clean up --- .github/workflows/build_wheel_on_windows.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_wheel_on_windows.yml b/.github/workflows/build_wheel_on_windows.yml index 35fc228..7f7fc92 100644 --- a/.github/workflows/build_wheel_on_windows.yml +++ b/.github/workflows/build_wheel_on_windows.yml @@ -64,7 +64,7 @@ jobs: where cl & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -products * -prerelease -format json shell: powershell - + - name: Enable git long paths shell: powershell run: git config --global core.longpaths true @@ -90,11 +90,6 @@ jobs: with: arch: x64 - - name: Install cibuildwheel - run: | - pip install --upgrade pip - pip install cibuildwheel==3.4.0 - - name: Add Git bin to PATH run: echo "C:\Program Files\Git\usr\bin" >> $env:GITHUB_PATH shell: powershell @@ -111,7 +106,9 @@ jobs: shell: powershell run: | # 1. Generate and capture the version from setuptools_scm - pip install setuptools-scm + pip install --upgrade pip + pip install cibuildwheel==3.4.0 + pip install setuptools-scm>=8.0 $SCM_VERSION = python -m setuptools_scm echo "Detected Version: $SCM_VERSION" "zvec version: $version" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append