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

Array API fixes for astype #7815

Closed
wants to merge 156 commits into from
Closed

Conversation

TomNicholas
Copy link
Member

While it's common for duck arrays to have a .astype method, this doesn't exist in the new array API standard. We now have duck_array_ops.astype to deal with this, but for some reason changing it in just a couple more places broke practically every pint test in test_units.py 😕 @keewis

Builds on top of #7019 with just one extra commit to separate out this issue.

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

TomNicholas and others added 30 commits September 10, 2022 17:44
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
@TomNicholas
Copy link
Member Author

Just merged in #7820, which should hopefully fix this 🤞

@TomNicholas TomNicholas mentioned this pull request May 18, 2023
4 tasks
@TomNicholas
Copy link
Member Author

Closing in favour of #7847

@TomNicholas TomNicholas deleted the array_API_astype branch May 18, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants