-
-
Notifications
You must be signed in to change notification settings - Fork 652
Set cython directive binding=True
#40341
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
Conversation
Documentation preview for this PR (built with commit c3de821; changes) is ready! 🎉 |
To fix File "matroid.pyx", line 2698, in init sage.matroids.matroid NameError: name 'dependent_sets' is not defined
@dcoudert The test for
|
Got it, and it's my fault: methods |
Thanks a lot, that worked! |
The CI runs for sage-the-distro are red, but I think it's just because it doesn't recognize the changed compilation options correctly and does an incremental build, without recompiling the necessary cython modules. |
This looks good to me but I'm not sure how to double check that on my laptop. Any advise is more than welcome. |
Thanks! Since all cython modules need to be recompiled, either |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It compiles well on Fedora 39 and passes tests (make ptest).
LGTM.
I hope the tests I did are sufficient |
Thanks for the review! |
Continuation of #26254. This is needed for better integration of Cython functions and thereby unlocks a few further documentation improvements (#27578, #30884, #31309, ...).
Moreover,
binding=True
is the default in Cython 3.📝 Checklist
⌛ Dependencies