Skip to content

Require NumPy >= 2.1#87

Merged
asmeurer merged 3 commits into
data-apis:mainfrom
asmeurer:require-numpy-2
Nov 8, 2024
Merged

Require NumPy >= 2.1#87
asmeurer merged 3 commits into
data-apis:mainfrom
asmeurer:require-numpy-2

Conversation

@asmeurer

@asmeurer asmeurer commented Nov 8, 2024

Copy link
Copy Markdown
Member

Fixes #21

@asmeurer asmeurer requested a review from Copilot November 8, 2024 00:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 9 changed files in this pull request and generated no suggestions.

Files not reviewed (3)
  • requirements-dev.txt: Language not supported
  • array_api_strict/_creation_functions.py: Evaluated as low risk
  • array_api_strict/_array_object.py: Evaluated as low risk

@asmeurer asmeurer merged commit a711897 into data-apis:main Nov 8, 2024
@asmeurer

Copy link
Copy Markdown
Member Author

Just to be clear for future readers, we can go way beyond what I did here if array-api-strict only supported NumPy 2.0. Virtually all code that is based on compatibility could be removed, with only code based on strictness left.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only support NumPy 2.0 as a backend

2 participants