Skip to content

Commit

Permalink
Update Python versions for tests and wheels.
Browse files Browse the repository at this point in the history
Removed 2.7, 3.5, 3.6, added 3.11, 3.12.
  • Loading branch information
gvtulder committed May 23, 2024
1 parent 50135eb commit 4dca744
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
tensorflow: ['tensorflow']
# the implementation for scipy.ndimage changed in SciPy 1.6.0,
# causing some of the tests to fail
scipy: ['scipy<=1.5.4']
scipy: ['scipy']

include:
# run one test with an older tensorflow version
- python-version: '3.6'
tensorflow: 'tensorflow==1.15'
# run an experiment with an old scipy.ndimage:
# the implementation for scipy.ndimage changed in SciPy 1.6.0,
# so the output will not match in newer versions
- python-version: '3.7'
tensorflow: tensorflow
scipy: 'scipy<=1.5.4'

# old scipy is not supported in Python 3.10
- python-version: '3.10'
tensorflow: tensorflow
scipy: 'scipy'

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- ["cp38", "3.8"]
- ["cp39", "3.9"]
- ["cp310", "3.10"]
- ["cp311", "3.11.0-alpha - 3.11.0"]
- ["cp311", "3.11"]
- ["cp312", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 4dca744

Please sign in to comment.