Skip to content
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

Update to Cython 3.0.0 #3716

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jul 18, 2023

This PR contains the minimal set of changes to compile using Cython 3 without warnings. Future PRs can be made to take advantage of new or improved features.

The main change is that a the graph_primtypes module runs into cython/cython#5554. I was able to work around that issue by removing all the fused type logic and instead just duplicate one function. There were multiple functions present that were not used at all corresponding to fused type specializations that were never instantiated, so the changes still ended up being a net reduction in code.

@vyasr vyasr added improvement Improvement / enhancement to an existing function breaking Breaking change labels Jul 18, 2023
@vyasr vyasr self-assigned this Jul 18, 2023
@alexbarghi-nv alexbarghi-nv added this to the 23.10 milestone Jul 18, 2023
@vyasr vyasr changed the title Switch to Cython 3 Update to Cython 3.0.0 Jul 27, 2023
@vyasr vyasr changed the base branch from branch-23.08 to branch-23.10 July 27, 2023 21:56
@vyasr vyasr marked this pull request as ready for review August 4, 2023 16:01
@vyasr vyasr requested review from a team as code owners August 4, 2023 16:01
Copy link
Contributor

@rlratzel rlratzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you very much for doing this.
I have one question below, mostly just curiosity.

@rlratzel
Copy link
Contributor

rlratzel commented Aug 4, 2023

/merge

@rapids-bot rapids-bot bot merged commit d1c5343 into rapidsai:branch-23.10 Aug 4, 2023
54 checks passed
@vyasr vyasr deleted the feat/cython3 branch August 4, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement / enhancement to an existing function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants