Skip to content

Commit 6e1502c

Browse files
committed
CI: drop python 3.10, add python 3.13
1 parent 46913ef commit 6e1502c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/array-api-tests.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Min version of dask we need dropped support for Python 3.9
4444
# There is no numpy git tip for Python 3.9 or 3.10
4545
# 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']
4747

4848
steps:
4949
- name: Checkout array-api-compat
@@ -66,15 +66,15 @@ jobs:
6666
run: |
6767
echo "${{ inputs.extra-env-vars }}" >> $GITHUB_ENV
6868
- 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'))"
7272
run: |
7373
python -m pip install --upgrade pip
7474
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
7575
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
7676
- 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'))"
7878
env:
7979
ARRAY_API_TESTS_MODULE: array_api_compat.${{ inputs.module-name || inputs.package-name }}
8080
ARRAY_API_TESTS_VERSION: 2024.12

0 commit comments

Comments
 (0)