Skip to content

Lowercase the machine in wheel platform tags - #130

Merged
timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/lowercase-wheel-tag
Sep 7, 2026
Merged

Lowercase the machine in wheel platform tags#130
timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/lowercase-wheel-tag

Conversation

@timkpaine

Copy link
Copy Markdown
Member

platform.machine() returns "AMD64" (or "ARM64") on Windows, so wheels were tagged win_AMD64 instead of the PEP 425 lowercase win_amd64. pip tolerates this because packaging.tags.Tag lowercases on parse, but uv rejects the wheel as incompatible with the platform.

Description

Brief description of the changes in this PR.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup
  • CI / build configuration
  • Other (describe below)

Checklist

  • Linting passes (make lint)
  • Tests pass (make test)
  • New tests added for new functionality
  • Documentation updated (if applicable)
  • Changelog / version bump (if applicable)

platform.machine() returns "AMD64" (or "ARM64") on Windows, so wheels were
tagged win_AMD64 instead of the PEP 425 lowercase win_amd64. pip tolerates
this because packaging.tags.Tag lowercases on parse, but uv rejects the wheel
as incompatible with the platform.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.90%. Comparing base (19dd006) to head (0e383fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
+ Coverage   95.81%   95.90%   +0.09%     
==========================================
  Files          14       14              
  Lines        1266     1271       +5     
==========================================
+ Hits         1213     1219       +6     
+ Misses         53       52       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timkpaine
timkpaine merged commit 31c984f into python-project-templates:main Sep 7, 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