Skip to content

Build and test native Windows and macOS wheels - #6

Merged
tobyrjackson merged 5 commits into
mainfrom
feat/windows-macos-wheels
Nov 17, 2026
Merged

tobyrjackson merged 5 commits into
mainfrom
feat/windows-macos-wheels

Conversation

@tobyrjackson

@tobyrjackson tobyrjackson commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

The release workflow currently builds native wheels only for Linux. Windows
and macOS installations need a working VAD and decision-model engine as well.
This PR adds native Windows x64, macOS Intel, and macOS Apple Silicon builds.

Each job uses the existing pinned engine revision. It builds both libraries,
checks the package metadata and binary architecture, and installs the wheel
into a new virtual environment. The installed-package tests require both native
engines. Model loading stays offline and text tests use synthetic checkpoints.
Private engine and training source remain outside public distributions.

The metadata check now accepts Windows
line endings without changing the exact model-byte checks. macOS wheel tags now
use the bundled Mach-O architecture instead of the universal Python interpreter's
tag. A thin library can no longer produce a misleading universal2 wheel.

Cache writes also retry temporary Windows file-sharing failures for a bounded
period. The previous valid entry stays in place until replacement succeeds.
Permanent failures still raise an error. The Windows job repeats both existing
concurrent-cache tests five times after the complete installed-package suite.

The normal release path requires Linux, Windows, and both macOS wheels.
A desktop_only manual input runs the desktop checks with publication disabled.
The release guide describes the matrix and artifact names.

No optimization work or private engine pin change is included. This PR does not
publish a release. The new wheels need a future package release for PyPI delivery.

Validation: 420 local tests passed with 11 optional checks skipped. All 27
packaging checks passed. Ruff, YAML lint, workflow validation, and shell syntax
checks passed. Hosted Windows x64, macOS Intel, and macOS Apple Silicon builds
all passed on the PR head. Each installed wheel passed 405 tests with 19
optional checks skipped. Windows also passed five repetitions of the two
concurrent-cache tests.

Verified native wheels are available in the artifacts of
https://github.com/Akiki-AI/akiki-python/actions/runs/44155378050 .

@tobyrjackson
tobyrjackson marked this pull request as ready for review November 17, 2026 19:17
@tobyrjackson
tobyrjackson merged commit 61ff241 into main Nov 17, 2026
11 checks passed
@tobyrjackson
tobyrjackson deleted the feat/windows-macos-wheels branch November 17, 2026 19:45
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.

1 participant