From f3d7cce324901c326a5e0a84e60a272cf32ed836 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 8 Feb 2024 07:40:39 -0300 Subject: [PATCH] update for NEP29 --- .github/workflows/tests.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 53a3b81..182c891 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,16 +10,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] os: [windows-latest, ubuntu-latest, macos-latest] # Oldest one based on NEP-29 and latest one. # See https://numpy.org/neps/nep-0029-deprecation_policy.html - numpy-version: ["1.21", "1.25"] + numpy-version: ["1.23", "1.26"] exclude: - - python-version: "3.11" - numpy-version: "1.21" - - python-version: "3.8" - numpy-version: "1.25" + - python-version: "3.12" + numpy-version: "1.23" fail-fast: false steps: @@ -31,7 +29,7 @@ jobs: environment-name: TEST init-shell: bash create-args: >- - python=${{ matrix.python-version }} pip + python=${{ matrix.python-version }} pip numpy=${{ matrix.numpy-version }} --file requirements.txt --file requirements-dev.txt --channel conda-forge @@ -40,8 +38,6 @@ jobs: shell: bash -l {0} run: > python -m pip install -e . --no-deps --force-reinstall - && micromamba install numpy=${{ matrix.numpy-version }} - && pip install -e . --no-deps --force-reinstall - name: Run tests shell: bash -l {0}