Skip to content

Commit

Permalink
ENH: Add all released Python version above 3.8 until 3.11 to CI
Browse files Browse the repository at this point in the history
Add all released Python version above 3.8 until 3.11 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.

Adapt the requirements file to install the appropriate versions for each
Python version.
  • Loading branch information
jhlegarreta committed Oct 6, 2023
1 parent 8224583 commit 370734e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 8 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
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.*
vtk==9.1.*
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.*;python_version>="3.8,<=3.9"
vtk==9.2.*;python_version=="3.10"
xlrd

0 comments on commit 370734e

Please sign in to comment.