Skip to content

agents: document Windows machine normalization and SOABI support - #4019

Merged
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:update_windows_agent_rules
Aug 8, 2026
Merged

agents: document Windows machine normalization and SOABI support#4019
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:update_windows_agent_rules

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Agents resolving platform tags on Windows may encounter uppercase
strings from platform.machine(), leading to mismatch errors when
matching PEP 508 tags. Additionally, agents lacked guidance on Windows
CPython native support for SOABI ABI infix tags.

Document the requirement to normalize platform.machine() to lowercase
and clarify native SOABI platform tag support for Windows CPython.

…BI infix support

Document in .agents/rules/windows.md that platform.machine() returns uppercase on Windows and requires .lower() normalization, and that CPython on Windows natively supports loading SOABI ABI-tagged .pyd files with platform tags.
Agents resolving platform tags on Windows may encounter uppercase
strings from platform.machine(), leading to mismatch errors when
matching PEP 508 tags. Additionally, agents lacked guidance on Windows
CPython native support for SOABI ABI infix tags.

Document the requirement to normalize platform.machine() to lowercase
and clarify native SOABI platform tag support for Windows CPython.
@rickeylev
rickeylev requested a review from aignas as a code owner August 8, 2026 21:45
@rickeylev
rickeylev merged commit a2da0a9 into bazel-contrib:main Aug 8, 2026
6 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