Skip to content

Commit ae1fe57

Browse files
Install Python headers alongside compiler
Otherwise, the compiler will pick system Python headers instead of the Conda ones.
1 parent 1fdde70 commit ae1fe57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636

3737
- name: Install compilers
38-
run: conda install -y c-compiler cxx-compiler
38+
run: conda install -y c-compiler cxx-compiler python-devel
3939

4040
- name: Install clang
4141
if: matrix.platform == 'macos-15-large'
@@ -101,7 +101,7 @@ jobs:
101101
python-version: "3.13"
102102

103103
- name: Install compilers
104-
run: conda install -y c-compiler cxx-compiler
104+
run: conda install -y c-compiler cxx-compiler python-devel
105105

106106
- name: Install numcodecs
107107
run: |
@@ -155,7 +155,7 @@ jobs:
155155
python-version: "3.13"
156156

157157
- name: Install compilers
158-
run: conda install -y c-compiler cxx-compiler
158+
run: conda install -y c-compiler cxx-compiler python-devel
159159

160160
- name: Install numcodecs and Zarr
161161
run: |

0 commit comments

Comments
 (0)