-
Notifications
You must be signed in to change notification settings - Fork 86
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port from setuptools to meson-python #345
Conversation
cea6e89
to
40476af
Compare
Is there an upstream bug for meson-python not supporting arm64 ? |
It's not about arm64, it's about cross compiling. And from what I remember the Python build backend APIs don't provide interfaces for cross compiling, so there is no standard way to implement it in a build backend, and in setuptools it works because of hacks. mesonbuild/meson-python#321 seems relevant. |
I wouldn't mind dropping arm64 again... but I also don't mind just keeping this open until something changes. |
Do you have any download stats for the win/arm64 wheel? |
I don't know how I would get that. |
There are rumors that we'll get arm64 windows CI this year, so I think it's fine to continue with this, since there is a fix in sight. |
Got some numbers now using pypinfo: In the last 90 days, there were 49047 Windows wheel downloads, 24 (0.05%) of those for arm64, 598 (1.22%) of those for win32, 48449 (98.83%) for win_amd64. |
arm64 is dropped since cross compiling isn't supported except with setuptools. We'll have to wait for native GHA runners
This is currently blocked on meson-python not supporting cross compiling for arm64 on Windows.
Cross compiling is currently a hack between setuptools and cibuildwheel and not part of any spec, so it's not clear where this should be fixed.
We could drop arm64 wheels to unblock this.