From e12628f7412daa30d2050219cdecad445c62f30b Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Wed, 25 Mar 2026 09:10:41 +0100 Subject: [PATCH] CI: test latest releasted numpy; drop py 3.11,3.12 --- .github/workflows/array-api-tests.yml | 8 +++++--- .github/workflows/tests.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/array-api-tests.yml b/.github/workflows/array-api-tests.yml index 79430c5..b1b7832 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.10', '3.11', '3.12', '3.13', '3.14'] - numpy-version: ['1.26', '2.3.5', 'dev'] + python-version: ['3.10', '3.13', '3.14'] + numpy-version: ['1.26', 'latest', 'dev'] exclude: - python-version: '3.10' - numpy-version: '2.3.5' + numpy-version: 'latest' - python-version: '3.10' numpy-version: 'dev' - python-version: '3.13' @@ -43,6 +43,8 @@ jobs: python -m pip install --upgrade pip if [[ "${{ matrix.numpy-version }}" == "dev" ]]; then python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy; + elif [[ "${{ matrix.numpy-version }}" == "latest" ]]; then + python -m pip install numpy else python -m pip install 'numpy=='${{ matrix.numpy-version }}; fi diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 59f4252..ce05b2d 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.10', '3.11', '3.12', '3.13', '3.14'] - numpy-version: ['1.26', '2.3.5', 'dev'] + python-version: ['3.10', '3.13', '3.14'] + numpy-version: ['1.26', 'latest', 'dev'] exclude: - python-version: '3.10' - numpy-version: '2.3.5' + numpy-version: 'latest' - python-version: '3.10' numpy-version: 'dev' - python-version: '3.13' @@ -27,6 +27,8 @@ jobs: python -m pip install --upgrade pip if [[ "${{ matrix.numpy-version }}" == "dev" ]]; then python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy; + elif [[ "${{ matrix.numpy-version }}" == "latest" ]]; then + python -m pip install numpy else python -m pip install 'numpy=='${{ matrix.numpy-version }} fi