Skip to content

Only support NumPy 2.0 as a backend #21

Open

Description

@asmeurer

Obviously not just yet, but once NumPy 2.0 is released and stable, we should drop support for NumPy 1.26 as a backend. That would allow us to remove all the compatibility code and only have code related to strictness.

The actual backend in array-api-strict doesn't really matter that much, but this would limit the usability for libraries that use NumPy internally in addition to the array API, so we should only do this once the ecosystem seems generally caught up on NumPy 2.0 support.

Activity

  1. asmeurer commented on May 1, 2024

    @asmeurer
    MemberAuthor

    Also I'm not sure if it's worth trying to implement some of the new dlpack features without direct numpy support for them (I need to do some more investigation), so we may want to just always keep this package pinned to the latest numpy. See #35

  2. asmeurer commented on Jun 26, 2024

    @asmeurer
    MemberAuthor

    NumPy 2.0 is out. This is low priority right now since everything works as is, but we definitely could simplify a lot of the code if we required NumPy 2.0.

  3. added a commit that references this issue on Nov 8, 2024
    6b4223e
  4. asmeurer commented on Nov 8, 2024

    @asmeurer
    MemberAuthor

    Looks like this was premature. I reverted the NumPy 2.1 dependency in array-api-strict 2.1.3. Some packages don't support NumPy 2.0 yet. We should definitely do this because it will let use remove a lot of the compat code here (which really should only be existing in array-api-compat), but we can wait a little while longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions