Skip to content

refactor(whl_library): reimplement wheel platform parsing in starlark#1636

Merged
rickeylev merged 11 commits intobazel-contrib:mainfrom
aignas:fix/universal2-mac-wheel-parsing
Dec 22, 2023
Merged

refactor(whl_library): reimplement wheel platform parsing in starlark#1636
rickeylev merged 11 commits intobazel-contrib:mainfrom
aignas:fix/universal2-mac-wheel-parsing

Conversation

@aignas
Copy link
Copy Markdown
Collaborator

@aignas aignas commented Dec 20, 2023

It seems that the CI did not catch the macosx_10_9_universal2 wheels
edge case, which this new code is handling. I moved the implementation
to starlark because #1625 needs this.

No changelog is needed because the feature this is fixing/refactoring
an unreleased feature.

…parsing

It seems that the CI did not catch this and I am wondering if we run our
bzlmod example on a Mac. In the future I think that this code may need
to move to starlark, because the same parsing from wheel name to
platform identifiers is needed in bazel-contrib#1685, but I'll do that in a separate
PR.

No changelog is needed because the feature this is fixing is unreleased
yet.
@aignas aignas requested a review from rickeylev December 20, 2023 00:22
@aignas aignas changed the title fix(whl_library): correctly handle osx universal2 wheel platform_tag parsing refactor(whl_library): reimplement wheel platform parsing in starlark Dec 20, 2023
aignas added a commit to aignas/rules_python that referenced this pull request Dec 20, 2023
@rickeylev rickeylev added this pull request to the merge queue Dec 22, 2023
Merged via the queue into bazel-contrib:main with commit 02591a5 Dec 22, 2023
@aignas aignas deleted the fix/universal2-mac-wheel-parsing branch May 13, 2024 06:49
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