Skip to content

v0.2.0 · ci: python-wheels on Windows — install the pinned toolchain with rustup show - #64

Merged
akosidencio merged 2 commits into
feat/v0.2.0-developer-adoptionfrom
ci/v0.2.0-wheels-windows-toolchain
Nov 21, 2026
Merged

akosidencio merged 2 commits into
feat/v0.2.0-developer-adoptionfrom
ci/v0.2.0-wheels-windows-toolchain

Conversation

@akosidencio

Copy link
Copy Markdown
Member

Follow-up to #63. The first native run passed Linux x86_64 (3.11, 3.13), Linux aarch64, macOS x86_64, macOS arm64 (3.11, 3.13); Windows failed before compiling: dtolnay/rust-toolchain@stable installed stable, then cargo fetched the rust-toolchain.toml pin and rustup refused to add clippy (detected conflict: bin\cargo-clippy.exe). Not an SDK defect.

Uses rustup show (installs exactly the pinned toolchain), the pattern release.yml already uses for its native Windows builds. This PR's own run re-tests all seven jobs.

On windows-latest the job failed before compiling anything: dtolnay
installed stable, then cargo fetched the rust-toolchain.toml pin and rustup
refused to add clippy (detected conflict: bin\cargo-clippy.exe). release.yml's
native builds already use `rustup show`, which installs exactly the pin.
Path.read_text() decodes with the locale encoding, cp1252 on Windows, which
turned the unicode-user-key case's 'ユーザー-ü' into 'ユーザー-ü' — a
different user, a different rollout bucket, and 2 failures on
windows-x86_64. The SDK itself already reads and writes UTF-8 explicitly
(offline cache, SSE, snapshots); only the test fixture was wrong. The
conformance adapter's stdin gets the same treatment.
@akosidencio

Copy link
Copy Markdown
Member Author

Second Windows run: the toolchain fix worked (build + 154 tests pass). The 2 failures were the unicode-user-key vector: test_vectors.py read the vectors file with the locale encoding (cp1252 on Windows), garbling ユーザー-ü into ユーザー-ü — a different user and bucket. Test-fixture bug, not an SDK bug: the SDK's cache, SSE and snapshot paths all decode UTF-8 explicitly. Fixed in the latest commit (plus the conformance adapter's stdin).

@akosidencio
akosidencio merged commit 02d3e1d into feat/v0.2.0-developer-adoption Nov 21, 2026
7 checks passed
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