Skip to content

ci(windows): build and publish PyPI wheels - #1113

Open
IvanaGyro wants to merge 1 commit into
codex/windows-cuda-releasefrom
codex/windows-pypi-workflows
Open

ci(windows): build and publish PyPI wheels#1113
IvanaGyro wants to merge 1 commit into
codex/windows-cuda-releasefrom
codex/windows-pypi-workflows

Conversation

@IvanaGyro

@IvanaGyro IvanaGyro commented Jul 22, 2026

Copy link
Copy Markdown
Member

Stack

master → #1110 → codex/windows-msvc-cuda-stack (#1116 patch) → #1117 → #1118 → #1119 → #1113

This workflow-only PR depends on #1119. Its own diff is limited to the two existing PyPI workflow files.

Summary

  • add Windows Server 2022 CPU and CUDA wheel jobs using the locked wheel-cpu and wheel-cuda Pixi environments;
  • run prepare-windows before CPU wheels and prepare-cuda before CUDA wheels, creating ARPACK/CUDA import libraries before CMake configures;
  • build CPython 3.10 through 3.14 win_amd64 wheels;
  • cache compilation output and upload Windows artifacts separately;
  • include Windows artifacts in stable PyPI publication while leaving nightly/Conda behavior unchanged;
  • retain the existing Linux and macOS jobs.

Prior failure and fix

The split Windows CUDA job reached native linking but failed in device LTO against the PyPI CUDA/NVVM layout. #1119 now disables IPO only for Windows CUDA release wheels while preserving Linux LTO. The earlier Windows MODULE install issue is fixed in #1118.

Validation

  • both workflow files pass repository-pinned hooks and git diff --check;
  • the top-layer diff contains only the two workflow files;
  • local locked CPU/CUDA environments, all-target MSVC builds, wheel tooling, downstream package consumption, and release-manifest tests pass in the implementation layers;
  • fresh GitHub checks were triggered by the rebase onto current master.

Part of #1114.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@IvanaGyro
IvanaGyro force-pushed the codex/windows-pypi-workflows branch from b58122d to 786e0cc Compare July 22, 2026 16:30
@IvanaGyro
IvanaGyro force-pushed the codex/windows-pypi-workflows branch from 786e0cc to 816dc1c Compare July 22, 2026 16:49
@IvanaGyro
IvanaGyro force-pushed the codex/windows-pypi-workflows branch 2 times, most recently from ffde89d to 940c746 Compare July 23, 2026 00:43
@IvanaGyro
IvanaGyro changed the base branch from codex/windows-msvc-pypi to codex/windows-cuda-release July 23, 2026 00:46
@IvanaGyro
IvanaGyro force-pushed the codex/windows-pypi-workflows branch from 940c746 to aee5968 Compare July 23, 2026 00:53
@IvanaGyro
IvanaGyro marked this pull request as ready for review July 23, 2026 02:04
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@IvanaGyro
IvanaGyro force-pushed the codex/windows-pypi-workflows branch from aee5968 to aca9fd2 Compare July 23, 2026 02:44
@yingjerkao

Copy link
Copy Markdown
Collaborator

I thought we don't support native Windows?

@IvanaGyro

Copy link
Copy Markdown
Member Author

I thought we don't support native Windows?

It is just a proposal. If we really exclude supporting Windows, the PR chain can be close. Only partially #1109 and partially #1116 are needed.

@yingjerkao

Copy link
Copy Markdown
Collaborator

I thought we don't support native Windows?

It is just a proposal. If we really exclude supporting Windows, the PR chain can be close. Only partially #1109 and partially #1116 are needed

I will approve this PR chain as a whole.

Co-Authored-By: OpenAI Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants