Skip to content

Commit 2e5c759

Browse files
committed
Skip NumPy 1.21 in Python 3.12
1 parent c58fbec commit 2e5c759

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Install dependencies
5858
# NumPy 1.21 doesn't support Python 3.11. There doesn't seem to be a way
5959
# 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'))"
60+
if: "! (((matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6161
run: |
6262
python -m pip install --upgrade pip
6363
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
exclude:
1111
- python-version: '3.11'
1212
numpy-version: '1.21'
13+
- python-version: '3.12'
14+
numpy-version: '1.21'
1315
fail-fast: true
1416
steps:
1517
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)