Skip to content
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
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/array-api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Run the array API testsuite (${{ inputs.package-name }})
env:
ARRAY_API_TESTS_MODULE: array_api_compat.${{ inputs.module-name || inputs.package-name }}
ARRAY_API_TESTS_VERSION: 2024.12
ARRAY_API_TESTS_VERSION: 2025.12
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

The CI test version is being updated to 2025.12, but the actual implementation still declares support for 2024.12 in multiple places. There is a discrepancy between what's being tested and what the code declares it supports. The following files should be reviewed and potentially updated to maintain consistency:

  1. array_api_compat/common/_helpers.py (line 59) - _API_VERSIONS still only includes "2024.12"
  2. array_api_compat/numpy/__init__.py (line 29) - __array_api_version__ is "2024.12"
  3. array_api_compat/cupy/__init__.py (line 15) - __array_api_version__ is "2024.12"
  4. array_api_compat/dask/array/__init__.py (line 12) - __array_api_version__ is "2024.12"
  5. array_api_compat/torch/__init__.py (line 16) - __array_api_version__ is "2024.12"
  6. docs/index.md (lines 15-16) - Documentation still references 2024.12

If the intent is to test against 2025.12 while still implementing 2024.12, this should be documented. Otherwise, these files should be updated together to ensure the library declares support for the version it's being tested against.

Copilot uses AI. Check for mistakes.
# This enables the NEP 50 type promotion behavior (without it a lot of
# tests fail on bad scalar type promotion behavior)
NPY_PROMOTION_STATE: weak
Expand Down
Loading