-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tidy: Improve comment on np-special casing #10514
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
Looks like this is failing due to dask not having implemented |
it's not just that: we're still maintaining backwards compatibility with Either way, thanks for the PR. Unfortunately, I think this might not be the right time, yet. Edit: but maybe you can repurpose the PR to make the comment more accurate? I.e. that this is for backwards-compat and |
feb81db
to
0ef6138
Compare
@keewis Done. |
I think you force-pushed back to the original state (I think we need the changes from feb81db).
|
0ef6138
to
71e3771
Compare
Oops, sorry about that, pushed again. |
but I didn't get why it's under the condition |
np.astype became available in numpy 2.0 The special case is still needed, however, to support older numpy as well as dask.
71e3771
to
70cc63d
Compare
Thanks! This looks good to me.
|
Ah, I see. Thanks! |
np.astype
became available in numpy 2.1