Skip to content

Conversation

@hawkinsp
Copy link
Collaborator

No description provided.

@hawkinsp hawkinsp requested a review from jakevdp September 13, 2024 20:28
@hawkinsp hawkinsp changed the title Limitedapi Switch ml_dtypes to use the Python limited API Sep 13, 2024
@jakevdp
Copy link
Collaborator

jakevdp commented Sep 13, 2024

Looks great! I'm going to try to get 0.5.1 released (I think #197 should do it) and then we can merge this.

Will this let us cut down on the number of wheels we need to build?

This allows us to build a single wheel using Python 3.9 and deploy it on
all platforms, with the exception of 3.13t.

The main downside of this change is it made the hash function for
scalars slightly more expensive.
@hawkinsp
Copy link
Collaborator Author

I might hold off on merging this one, since I'm not 100% sure I can make it compatible with the NumPy 2 dtypes API.

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