-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bump to Flint version 3 #80
Conversation
Hmm some things are now failing, so I imagine I've messed up this PR. I'll work through the error messages.
Doesn't look like the most helpful message though! :D |
The error is
You have to expand the little triangle on the line that says "Building wheel..." to see the build failures from cibuildwheel in GitHub Actions. |
Yeah I had just done that and I've pushed a fix, thanks for the help |
Hmm the tests on the CI pass but I seem to have some issues locally, not 100% sure this is ready yet. Some errors on compiling:
Maybe I just have some flint2 and flint3 polluting things. I'll try and fix that, |
It is better to keep a local build of Flint etc for python-flint development. That is why the build scripts build in .local which also means that you can just |
Yeah I have deleted the |
Has it just got to do with the cython names colliding with the C ones? e.g. this line in the scraping script:
|
You have a build of Flint in
This is being picked up somehow. |
I don't see the |
It's this file: https://github.com/GiacomoPope/python-flint/blob/flint3/src/flint/flintlib/nmod_poly_factor.pxd Or am I missing something inside |
Oh, yes it was added separately |
I think that the errors that you see are just because you have a Flint 2 installed into |
If I uninstall the
I have no idea why the changes made would be doing this and don't have that much time to debug my side tonight. Something about this change has meant all the path stuff is weird |
You need to remove the runtime shared libraries as well as the header files before recompiling: $ ls .local/lib/
libarb.so libflint.so.17 libgmp.la libmpfr.la pkgconfig
libarb.so.2 libflint.so.17.0.0 libgmp.so libmpfr.so
libarb.so.2.14.0 libflint.so.18 libgmp.so.10 libmpfr.so.6
libflint.so libflint.so.18.0.0 libgmp.so.10.4.1 libmpfr.so.6.1.0 What does |
I'll have an explore tomorrow but I'm really confused about exactly what has caused this to break, unless everything was always drawing from /local/ for me and now the breakage is that I used to have 2.9 and now have 3.0... |
I messed around with a few things this morning and now it all magically works my end. Kind of confused but I think this is good to go now |
Okay, looks good! Let's get this in so we don't have to resolve merge conflicts for a fourth time. |
This PR follows #43 but from the latest commits to master avoiding conflicts.