8000 DOC: update array API standard version in compatibility page by Saransh-cpp · Pull Request #28626 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: update array API standard version in compatibility page #28626

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

Merged
merged 5 commits into from
May 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
15 changes: 7 additions & 8 deletions doc/source/reference/array_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
Array API standard compatibility
********************************

NumPy's main namespace as well as the `numpy.fft` and `numpy.linalg` namespaces
are compatible [1]_ with the
`2022.12 version <https://data-apis.org/array-api/2022.12/index.html>`__
The NumPy 2.3.0 main namespace as well as the `numpy.fft` and `numpy.linalg`
namespaces are compatible with the
`2024.12 version <https://data-apis.org/array-api/2024.12/index.html>`__
of the Python array API standard.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe The NumPy 2.3.0 main ... so that it is clear which NumPy version has compatibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!


NumPy aims to implement support for the
`2023.12 version <https://data-apis.org/array-api/2023.12/index.html>`__
and future versions of the standard - assuming that those future versions can be
upgraded to given NumPy's
NumPy aims to implement support for the future versions of the standard
- assuming that those future versions can be upgraded to given NumPy's
:ref:`backwards compatibility policy <NEP23>`.

For usage guidelines for downstream libraries and end users who want to write
Expand All @@ -32,7 +30,8 @@ rather than anything NumPy-specific, the `array-api-strict
NumPy 1.22.0 was the first version to include support for the array API
standard, via a separate ``numpy.array_api`` submodule. This module was
marked as experimental (it emitted a warning on import) and removed in
NumPy 2.0 because full support was included in the main namespace.
NumPy 2.0 because full support (2022.12 version [1]_) was included in
the main namespace.
:ref:`NEP 47 <NEP47>` and
:ref:`NEP 56 <NEP56>`
describe the motivation and scope for implementing the array API standard
Expand Down
Loading
0