43
43
# Min version of dask we need dropped support for Python 3.9
44
44
# There is no numpy git tip for Python 3.9 or 3.10
45
45
# python-version: ${{ (inputs.package-name == 'dask' && fromJson('[''3.10'', ''3.11'', ''3.12'']')) || (inputs.package-name == 'numpy' && inputs.xfails-file-extra == '-dev' && fromJson('[''3.11'', ''3.12'']')) || fromJson('[''3.9'', ''3.10'', ''3.11'', ''3.12'']') }}
46
- python-version : ['3.10 ', '3.11 ', '3.12 ']
46
+ python-version : ['3.11 ', '3.12 ', '3.13 ']
47
47
48
48
steps :
49
49
- name : Checkout array-api-compat
@@ -66,15 +66,15 @@ jobs:
66
66
run : |
67
67
echo "${{ inputs.extra-env-vars }}" >> $GITHUB_ENV
68
68
- name : Install dependencies
69
- # NumPy 1.21 doesn't support Python 3.11 . There doesn't seem to be a way
70
- # to put this in the numpy 1.21 config file.
71
- if : " ! (( matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21 '))"
69
+ # NumPy 1.26 doesn't support Python 3.13 . There doesn't seem to be a way
70
+ # to put this in the numpy 1.26 config file.
71
+ if : " ! (matrix.python-version == '3.13' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.26 '))"
72
72
run : |
73
73
python -m pip install --upgrade pip
74
74
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
75
75
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
76
76
- name : Run the array API testsuite (${{ inputs.package-name }})
77
- if : " ! (( matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21 '))"
77
+ if : " ! (matrix.python-version == '3.13' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.26 '))"
78
78
env :
79
79
ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.module-name || inputs.package-name }}
80
80
ARRAY_API_TESTS_VERSION : 2024.12
0 commit comments