37
37
runs-on : ubuntu-latest
38
38
strategy :
39
39
matrix :
40
- python-version : ['3.8', '3. 9', '3.10', '3.11']
40
+ python-version : ['3.9', '3.10', '3.11']
41
41
42
42
steps :
43
43
- name : Checkout array-api-compat
@@ -55,16 +55,15 @@ jobs:
55
55
with :
56
56
python-version : ${{ matrix.python-version }}
57
57
- name : Install dependencies
58
- # NumPy 1.21 doesn't support Python 3.11. NumPy 2.0 doesn't support
59
- # Python 3.8. There doesn't seem to be a way to put this in the numpy
60
- # 1.21 config file.
61
- if : " ! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21')) || (matrix.python-version == '3.8' && inputs.package-name == 'numpy' && contains(inputs.xfails-file-extra, 'dev')))"
58
+ # NumPy 1.21 doesn't support Python 3.11. There doesn't seem to be a way
59
+ # to put this in the numpy 1.21 config file.
60
+ if : " ! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
62
61
run : |
63
62
python -m pip install --upgrade pip
64
63
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
65
64
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
66
65
- name : Run the array API testsuite (${{ inputs.package-name }})
67
- if : " ! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21')) || (matrix.python-version == '3.8' && inputs.package-name == 'numpy' && contains(inputs.xfails-file-extra, 'dev'))) "
66
+ if : " ! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
68
67
env :
69
68
ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.module-name || inputs.package-name }}
70
69
# This enables the NEP 50 type promotion behavior (without it a lot of
0 commit comments