|
54 | 54 | fail-fast: false |
55 | 55 | matrix: |
56 | 56 | os: [ubuntu-latest, windows-latest, macos-15-intel] |
57 | | - python: [cp37, cp38, cp39, cp310, cp311, cp312] |
| 57 | + python: [cp37, cp38, cp39, cp310, cp311, cp312, cp313] |
58 | 58 |
|
59 | 59 |
|
60 | 60 | include: |
|
71 | 71 | cov_file: /output/coverage.xml |
72 | 72 | results_file: /output/pytest-results.xml |
73 | 73 |
|
| 74 | + exclude: |
| 75 | + # Exclude Windows + Python 3.9 as p4p can't build there, due to numpy bug #27224 |
| 76 | + # which was never ported back to the 2.0.* numpy release stream. |
| 77 | + - os: windows-latest |
| 78 | + python: cp39 |
| 79 | + |
74 | 80 | name: build/${{ matrix.os }}/${{ matrix.python }} |
75 | 81 | runs-on: ${{ matrix.os }} |
76 | 82 |
|
|
90 | 96 | - name: Install Python Dependencies |
91 | 97 | # cibuildwheel 3.0.0 dropped support for Python 3.7. We still want to |
92 | 98 | # support 3.7 for the time being. |
93 | | - run: pip install build cibuildwheel==2.23.3 |
| 99 | + # Python 3.14 isn't supported on lower versions of cibuildwheel, so conditionally install when required |
| 100 | + run: | |
| 101 | + pip install build |
| 102 | + [ ${{matrix.python }} == "cp314" ] && pip install cibuildwheel || pip install cibuildwheel==2.23.3 |
| 103 | + pip freeze |
| 104 | + shell: bash |
94 | 105 |
|
95 | 106 | - name: Build Wheel |
96 | 107 | run: cibuildwheel --output-dir dist |
@@ -129,7 +140,13 @@ jobs: |
129 | 140 | fail-fast: false |
130 | 141 | matrix: |
131 | 142 | os: [ubuntu-latest, windows-latest, macos-15-intel] |
132 | | - python: [cp37, cp38, cp39, cp310, cp311, cp312] |
| 143 | + python: [cp37, cp38, cp39, cp310, cp311, cp312, cp313] |
| 144 | + |
| 145 | + exclude: |
| 146 | + # Exclude Windows + Python 3.9 as p4p can't build there, due to numpy bug #27224 |
| 147 | + # which was never ported back to the 2.0.* numpy release stream. |
| 148 | + - os: windows-latest |
| 149 | + python: cp39 |
133 | 150 |
|
134 | 151 | runs-on: ${{ matrix.os }} |
135 | 152 |
|
|
0 commit comments