From 1aa4fd5de54f4a05998675164f502dc51b077473 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sun, 2 Mar 2025 18:34:51 +0100 Subject: [PATCH 1/2] CI: update the workflows - stop testing python 3.9 - start testing python 3.13 - actually test Array API revision 2024.12 --- .github/workflows/array-api-tests.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/array-api-tests.yml b/.github/workflows/array-api-tests.yml index 0b2ce1d..815b82b 100644 --- a/.github/workflows/array-api-tests.yml +++ b/.github/workflows/array-api-tests.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] numpy-version: ['1.26', 'dev'] exclude: - - python-version: '3.8' - numpy-version: 'dev' + - python-version: '3.13' + numpy-version: '1.26' steps: - name: Checkout array-api-strict diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8124d4..703e6e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] numpy-version: ['1.26', 'dev'] exclude: - - python-version: '3.8' - numpy-version: 'dev' + - python-version: '3.13' + numpy-version: '1.26' fail-fast: true steps: - uses: actions/checkout@v4 From ae0378626ce9ceefdd378b7c4dcc157f57f852c8 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Sun, 2 Mar 2025 19:16:45 +0100 Subject: [PATCH 2/2] TST: update xfails for the spec 2024.12 revision --- .github/workflows/array-api-tests.yml | 4 ++-- array-api-tests-xfails.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/array-api-tests.yml b/.github/workflows/array-api-tests.yml index 815b82b..114f42d 100644 --- a/.github/workflows/array-api-tests.yml +++ b/.github/workflows/array-api-tests.yml @@ -3,8 +3,8 @@ name: Array API Tests on: [push, pull_request] env: - PYTEST_ARGS: "-v -rxXfE --ci --hypothesis-disable-deadline --max-examples 200" - API_VERSIONS: "2022.12 2023.12 2024.12" + PYTEST_ARGS: "-v -rxXfE --hypothesis-disable-deadline --max-examples 200" + API_VERSIONS: "2023.12 2024.12" jobs: array-api-tests: diff --git a/array-api-tests-xfails.txt b/array-api-tests-xfails.txt index a6919dd..f68095b 100644 --- a/array-api-tests-xfails.txt +++ b/array-api-tests-xfails.txt @@ -26,3 +26,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and # The test suite is incorrectly checking sums that have loss of significance # (https://github.com/data-apis/array-api-tests/issues/168) array_api_tests/test_statistical_functions.py::test_sum + +array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod] +