-
Notifications
You must be signed in to change notification settings - Fork 7
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
Python 3.10: RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf #190
Comments
I think we hit something like this the other day with tsinfer but couldn't reproduce. Any idea what's going on @benjeffery? |
Yes, I couldn't reproduce that either. I'll try to repro this one (should be easier as it is CI) and dig in. |
Here's how to reproduce. Make sure you install the
|
Ok, so summarising here -
We can fix this by changing kastore's
Which isn't ideal. |
Why not add a pyproject.toml file with the following
Is that the recommended approach these days? |
Yes, we could modernise and use |
Updating to pyproject.toml seems like the way to go. This is probably what should happen in tsinfer as well I guess? |
Note that the kastore wheels have always used |
@grahamgower I've released |
stdpopsim CI looks like its having problems because of the numpy version kastore is built against. Presumably triggered now that numpy have released 1.23.0?
https://github.com/popsim-consortium/stdpopsim/runs/7081344760?check_suite_focus=true
I guess kastore needs a build dependency on
oldest-supported-numpy
?The text was updated successfully, but these errors were encountered: