Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BLD: Enable wheels on Windows-on-ARM#28554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
QuLogic wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromQuLogic:winarm

Conversation

QuLogic
Copy link
Member

@QuLogicQuLogic commentedJul 12, 2024
edited
Loading

PR summary

This needs to wait for NumPy to be usefulnumpy/numpy#22530

PR checklist

@QuLogicQuLogic added the CI: Run cibuildwheelRun wheel building tests on a PR labelJul 12, 2024
@QuLogicQuLogic added this to thev3.9.2 milestoneJul 12, 2024
@QuLogic
Copy link
MemberAuthor

I somewhat forgot that NumPy hasn't yet moved, so this really needs to wait until GHA has proper runner support, and some of the lower ecosystem moves forward.

@QuLogicQuLogic marked this pull request as draftJuly 12, 2024 21:46
@QuLogicQuLogicforce-pushed thewinarm branch 2 times, most recently fromfb39f7e to19220caCompareOctober 10, 2024 08:58
@QuLogic
Copy link
MemberAuthor

QuLogic commentedOct 10, 2024
edited
Loading

OK, while technically we recently dropped NumPy as a build requirement, this still fails becausemeson-python doesn't support cross-compiling. Apparently the macOS stuff was just asetuptools-specific thing that they also implemented, but more generic cross-compiling support is not really a standardized thing in the Python ecosystem, even if that's whatcibuildwheel is trying to do here.

@QuLogic
Copy link
MemberAuthor

QuLogic commentedApr 16, 2025
edited
Loading

GitHub Actions now has native Windows-on-ARM runners:https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/

So this is now able to build, but I've had to skip testing right now because NumPy wheels are not available (see linked issue.)

@QuLogic
Copy link
MemberAuthor

NumPy wheels were just merged today. It looks like nightlies are uploaded Sunday and Wednesday mornings, so by next week we should be able to try testing this out.

khmyznikov reacted with thumbs up emoji

@finnagin
Copy link

Looks like the arm64 windows wheels are available for thenumpy pre-release on pypi now.

@QuLogic
Copy link
MemberAuthor

Looks like we need to install the NumPy pre-release, but otherwise this does appear to work. It also builds contourpy from source, though without any error, so I will open a PR there to make wheels.

@QuLogicQuLogic marked this pull request as ready for reviewJune 5, 2025 22:42
@QuLogic
Copy link
MemberAuthor

contourpy has a bit of a bootstrap problem of us not having wheels and we seem to be okay building theirs without testing, so I'll mark this ready.

@ianthomas23
Copy link
Member

contourpy has a bit of a bootstrap problem of us not having wheels and we seem to be okay building theirs without testing, so I'll mark this ready.

Just so that it is written down somewhere, when adding a new platform to contourpy I usually follow this process:

  1. Wait for numpy nightly wheels to be built and uploaded.
  2. Enable building, testing and wheel building in contourpy but with image testing disabled so that matplotlib isn't required.
  3. Tell matplotlib that contourpy wheel are now available.
  4. Wait for matplotlib nightly wheels to be built and uploaded.
  5. Re-enable image testing in contourpy CI for the new platform.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
CI: Run cibuildwheelRun wheel building tests on a PR
Projects
None yet
Milestone
v3.11.0
Development

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@finnagin@ianthomas23

[8]ページ先頭

©2009-2025 Movatter.jp