-
Notifications
You must be signed in to change notification settings - Fork 21
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
"spin build" errors on windows #240
Comments
It looks like deleting the hard-coded prefix lets me get past the error. |
Is this a bug in spin then? I've been trying to get numpy onto 0.12 but I guess you've seen that Matti had concerns about the test modifications. |
Well, I was able to build numpy with spin after making this change to spin:
I have no idea why the I haven't been following the issues with spin in NumPy's CI, this was all just to test a NumPy PR on my Windows PC. |
The Windows tests for spin run in bash, I think. Which environment do you use? |
This is using powershell via windows terminal. |
Ah, OK, that's wild west territory for us. Maybe I can get a subset of tests to run on that platform. This is what you've been using all along, without any difficulty? |
Yes, it should be possible to build numpy using powershell. I'm not sure when the last time I tried was, it may predate switching to spin. |
I just hit this again in CI, trying to update the numpy tests on windows to install python with uv instead of setup-python. For whatever reason, this setup hits the same error: https://github.com/ngoldbaum/numpy/actions/runs/11373312391/job/31639601441#step:10:25 You never explained earlier - is there any particular reason why |
Ah, there's this note in the meson docs:
So clearly |
I don't see a problem with using Note that to actually have a uniform install path within the source tree, the recommended way is to use |
The other thing that annoys me about how it's currently set up is there's no way to override the default. If you try to manually pass So, I think the solution is probably to use I'll try to do that later today. |
When I try to use spin to build numpy on windows, I get:
It looks like this is hard-coded in the
build
command. I've never had an issue with it before so no idea why it's problematic now.The text was updated successfully, but these errors were encountered: