Skip to content

Array API fixes for astype - #7815

Closed
TomNicholas wants to merge 156 commits into
pydata:mainfrom
TomNicholas:array_API_astype
Closed

Array API fixes for astype#7815
TomNicholas wants to merge 156 commits into
pydata:mainfrom
TomNicholas:array_API_astype

Conversation

@TomNicholas

Copy link
Copy Markdown
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

TomNicholasand 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
Copy Markdown
MemberAuthor

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

@TomNicholasTomNicholas mentioned this pull request May 18, 2023
4 tasks
@TomNicholas

Copy link
Copy Markdown
MemberAuthor

Closing in favour of #7847

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

Labels

iotopic-arraysrelated to flexible array supporttopic-backendstopic-dasktopic-indexingtopic-rollingtopic-typingtopic-zarrRelated to zarr storage library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@TomNicholas@Illviljan