Skip to content

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 <[email protected]>
Co-authored-by: Deepak Cherian <[email protected]>
@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