Skip to content

Commit 7946772

Browse files
authored
Merge pull request #340 from ev-br/default_to_2024.12
ENH: default to 2024.12 revision
2 parents dad7731 + 7edea61 commit 7946772

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run the test suite
2828
env:
2929
ARRAY_API_TESTS_MODULE: array_api_strict
30-
ARRAY_API_STRICT_API_VERSION: 2023.12
30+
ARRAY_API_STRICT_API_VERSION: 2024.12
3131
run: |
3232
pytest -v -rxXfE --skips-file array-api-strict-skips.txt array_api_tests/
3333
# We also have internal tests that isn't really necessary for adopters

Diff for: array-api

Submodule array-api updated 115 files

Diff for: array-api-strict-skips.txt

+25-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,28 @@ array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -0 and x2_i > 0
55

66
# The test suite is incorrectly checking sums that have loss of significance
77
# (https://github.com/data-apis/array-api-tests/issues/168)
8-
array_api_tests/test_statistical_functions.py::test_sum
8+
array_api_tests/test_statistical_functions.py::test_sum
9+
10+
# 2024.12 new failures, investigate
11+
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
12+
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
13+
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
14+
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
15+
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
16+
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
17+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
18+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
19+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
20+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
21+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
22+
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
23+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
24+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
25+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
26+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
27+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
28+
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
29+
30+
# 2024.12 new failure, ndim=0 not allowed in cumulative_prod
31+
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]
32+

Diff for: array_api_tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _from_dtype(*a, **kw):
8686

8787

8888
api_version = os.getenv(
89-
"ARRAY_API_TESTS_VERSION", getattr(xp, "__array_api_version__", "2023.12")
89+
"ARRAY_API_TESTS_VERSION", getattr(xp, "__array_api_version__", "2024.12")
9090
)
9191
xps = array_api.make_strategies_namespace(xp, api_version=api_version)
9292

0 commit comments

Comments
 (0)