Skip to content

Commit 2c89220

Browse files
committed
fix(ci): setup MSVC for x86 to fix dependency builds
The x86 (32-bit) build job was failing at 'Install dependencies' (uv sync) because packages like pyyaml and greenlet lack cp314-win32 wheels for Python 3.14 and must be built from sdist. Building on Windows requires the 32-bit MSVC toolchain, which was not activated. Added: - name: Setup MSVC for x86 if: matrix.arch == 'x86' uses: ilammy/msvc-dev-cmd@v1 with: arch: x86 This complements the cryptography>=46,<49 pin (to avoid builds where possible) and allows the x86 matrix entry to succeed for dependabot PRs like #1260 (google-genai) and similar.
1 parent dab988e commit 2c89220

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build_app.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
with:
4545
python-version: 'cpython-3.14-windows-${{ matrix.arch }}-none'
4646
working-directory: ${{ github.workspace }}/repo
47+
- name: Setup MSVC for x86
48+
if: matrix.arch == 'x86'
49+
uses: ilammy/msvc-dev-cmd@v1
50+
with:
51+
arch: x86
4752
- name: Install dependencies
4853
working-directory: ${{ github.workspace }}/repo
4954
run: uv sync --frozen --compile --group build --group test

0 commit comments

Comments
 (0)