From 8ed51362f425f90cdb97b5efc5fa2eaee99cc899 Mon Sep 17 00:00:00 2001 From: Eric Bezzam Date: Tue, 9 Jul 2024 08:24:09 -0700 Subject: [PATCH] Update test versions. (#135) * Update test versions. * Update minimum python. * Fix versions. * Update versions. * Fix unit tests. --- .github/workflows/python_no_pycsou.yml | 6 ++---- .github/workflows/python_pycsou.yml | 4 +--- setup.py | 1 + 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python_no_pycsou.yml b/.github/workflows/python_no_pycsou.yml index fba48a11..3ec9d0b8 100644 --- a/.github/workflows/python_no_pycsou.yml +++ b/.github/workflows/python_no_pycsou.yml @@ -20,10 +20,8 @@ jobs: fail-fast: false max-parallel: 12 matrix: - # TODO: use below with this issue is resolved: https://github.com/actions/setup-python/issues/808 - # os: [ubuntu-latest, macos-latest, windows-latest] - os: [ubuntu-latest, macos-12, windows-latest] - python-version: [3.8, "3.11"] + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.11"] steps: - uses: actions/checkout@v3 - name: Checkout submodules diff --git a/.github/workflows/python_pycsou.yml b/.github/workflows/python_pycsou.yml index 7640c660..61f89fa5 100644 --- a/.github/workflows/python_pycsou.yml +++ b/.github/workflows/python_pycsou.yml @@ -20,9 +20,7 @@ jobs: fail-fast: false max-parallel: 12 matrix: - # TODO: use below with this issue is resolved: https://github.com/actions/setup-python/issues/808 - # os: [ubuntu-latest, macos-latest, windows-latest] - os: [ubuntu-latest, macos-12, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.9, "3.10"] steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index d1ab6d68..23bb2269 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ python_requires=">=3.8.1, <=3.11.9", install_requires=[ "opencv-python>=4.5.1.48", + "numpy==1.26.4; python_version=='3.11'", "numpy>=1.22", "scipy>=1.7.0", "image>=1.5.33",