From 20fd25325bd9ebcd3fee1dcc7322b18091ef1e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Fri, 15 Sep 2023 16:20:25 -0400 Subject: [PATCH] ENH: Add all released Python version above 3.8 to CI Add all released Python version above 3.8 to CI: WMA is known to work with Python 3.10, so add this and other versions so that there can be an indication that the tool can be used with such versions. --- .github/workflows/test_package.yaml | 2 +- requirements.txt | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_package.yaml b/.github/workflows/test_package.yaml index 5c201e4c..40f4a706 100644 --- a/.github/workflows/test_package.yaml +++ b/.github/workflows/test_package.yaml @@ -11,7 +11,7 @@ jobs: # max-parallel: 6 matrix: os: [ubuntu-latest] - python-version: ['3.8'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - name: Check out repository diff --git a/requirements.txt b/requirements.txt index 6bab5f7b..31ea4e2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,15 @@ joblib==1.1.* matplotlib==3.6.* nibabel==3.0.* -numpy==1.20.* +numpy==1.20.*;python_version=="3.8" +numpy==1.21.*;python_version=="3.9" pandas==2.0.3 pytest pytest_console_scripts setuptools==44.0.* -scipy==1.4.* -statsmodels==0.10.* +scipy==1.4.*;python_version=="3.8" +scipy==1.5.*;python_version=="3.9" +statsmodels==0.10.*;python_version=="3.8" +statsmodels==0.13.*;python_version=="3.9" vtk==9.1.* xlrd