Skip to content

Conversation

@HaoZeke
Copy link

@HaoZeke HaoZeke commented May 22, 2025

Implements (1) as suggested by @rgommers in #47 (comment). Basically builds without a warning, but isn't really safe.

@HaoZeke
Copy link
Author

HaoZeke commented May 22, 2025

Subsumed the typo PR #48 into this one

@HaoZeke HaoZeke mentioned this pull request May 22, 2025
Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks @HaoZeke. Looks largely right. A few small comments.

Also note that the cibuildwheel version needs bumping to the latest released version or the enable = part won't work, here:

self.matrices = <SparseMatrix**>self.mem.alloc(self.length, sizeof(SparseMatrix*))
for i, py_matrix in enumerate(py_matrices):
self.matrices[i] = sparse_matrix_init(self.mem, py_matrix)
self.matrices[i] = sparse_matrix_init_cymem(self.mem, py_matrix)
Copy link
Contributor

Choose a reason for hiding this comment

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

It's minor, but this would have been better left as a separate PR, since it's unrelated to the topic of this PR, trivial to review/merge, and after that CI will run on this PR without approval.

Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

This LGTM now, and the added cp313t CI jobs pass after rebasing on top of gh-51. I think that PR should be merged first, and then this one after triggering CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants