-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
numpy v1.26.0 with meson #297
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
I based this off of the scipy recipe, and this went pretty far on unix:
However we then have:
I think this might be because the default meson install sets a local
On windows, the same invocation as on unix fails:
This is not a very comprehensive take yet, just a first shot. But it's getting late here, so this'll have to suffice for tonight. |
I would not expect that to be relevant, it's an implementation detail that's contained inside what If the produced intermediate wheel is empty, |
My suspicion is that it gets installed somewhere other than
Sure. As I said I haven't had much time for this yesterday, just started with opening the PR. |
So the devdocs about building are not up-to-date, but that's being tracked, and at I also found numpy/numpy#24279. Not sure what's up with pkgconfig, our netlib blas/lapack builds do have the respective |
So for cross-compiling osx-arm64, we get
which seems to imply that the patterns used for detecting the @matoro, I see you authored numpy/numpy@f1cddd3, could it be that osx-arm64 has a different in-memory representation than what you've coded up for size 8? |
Hey, I just tried to copy the python code 1-for-1. Does it somehow work on the setuptools implementation? Could you run this snippet and share the output?
|
The size of meson.get_compiler('c').run(...) It should run under QEMU I think, and it likely doesn't here, or that is not working (can't tell from the CI log). You can backport numpy/numpy#24414 to bypass this check for now. |
Thanks for the response @matoro and the reference @rgommers. This is looking good now! Is the successful build with the beta enough from your POV (I'm guessing with a passing test suite we should be good normally?), or do you want to publish it to an rc-label to be able to test it against other packages? |
This is fine I think for now; quite a few downstream packages are testing in CI themselves, because they already need it for Python 3.12 support. So I don't think we'll learn much more from a testing exercise in conda-forge now. Thanks for verifying this beta though, great to see it working. |
This is a legit complaint though and it's my fault for breaking direct compatibility with cross-compiling. I don't think there is any way to make meson |
I see the remaining CI failure is PyPy + windows, where |
This seems to be some kind of pytest ineteraction? Using this works with no error:
|
And/or meson interaction
|
Anyway, it looks like this'll have to get fixed on the meson-side. I don't think we should hold up 1.26 of win+pypy for now, it's already in high demand due to the impending 3.12. |
Let's see if we can build with meson (esp. on windows...)