|
15 | 15 | # $ piprepo build /tmp/pypi
|
16 | 16 | # $ python -m pip install -v coverage --index-url=file:///tmp/pypi/simple
|
17 | 17 | #
|
| 18 | +# Note that cibuildwheel recommends not shipping wheels for pre-release versions |
| 19 | +# of Python: https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons |
| 20 | +# So we don't. |
18 | 21 |
|
19 | 22 | name: "Kits"
|
20 | 23 |
|
@@ -223,61 +226,3 @@ jobs:
|
223 | 226 | with:
|
224 | 227 | name: dist
|
225 | 228 | path: dist/*.whl
|
226 |
| - |
227 |
| - prerel: |
228 |
| - name: "Build pre-rel ${{ matrix.os }} ${{ matrix.py }} wheels" |
229 |
| - # Our C extension uses internal fields, which are moving during the 3.11.0 |
230 |
| - # alpha phases. Don't pre-build wheels. |
231 |
| - if: ${{ false }} # true when there are pre-rel, false when not. |
232 |
| - runs-on: "${{ matrix.os }}-latest" |
233 |
| - strategy: |
234 |
| - matrix: |
235 |
| - os: |
236 |
| - - ubuntu |
237 |
| - - windows |
238 |
| - - macos |
239 |
| - py: |
240 |
| - # PYVERSIONS. Available versions: |
241 |
| - # https://github.com/actions/python-versions/blob/main/versions-manifest.json |
242 |
| - - "3.11.0-beta.1" |
243 |
| - fail-fast: false |
244 |
| - |
245 |
| - steps: |
246 |
| - - name: "Check out the repo" |
247 |
| - uses: actions/checkout@v3 |
248 |
| - |
249 |
| - - name: "Install Python ${{ matrix.py }}" |
250 |
| - uses: actions/setup-python@v3 |
251 |
| - with: |
252 |
| - python-version: ${{ matrix.py }} |
253 |
| - cache: pip |
254 |
| - cache-dependency-path: 'requirements/*.pip' |
255 |
| - |
256 |
| - - name: "Install wheel tools" |
257 |
| - run: | |
258 |
| - python -m pip install -r requirements/kit.pip |
259 |
| -
|
260 |
| - - name: "Build wheel" |
261 |
| - run: | |
262 |
| - python -m build |
263 |
| -
|
264 |
| - - name: "Convert to manylinux wheel" |
265 |
| - if: runner.os == 'Linux' |
266 |
| - run: | |
267 |
| - ls -la dist/ |
268 |
| - auditwheel show dist/*.whl |
269 |
| - auditwheel repair dist/*.whl |
270 |
| - ls -la wheelhouse/ |
271 |
| - auditwheel show wheelhouse/*.whl |
272 |
| - rm dist/*.whl |
273 |
| - mv wheelhouse/*.whl dist/ |
274 |
| -
|
275 |
| - - name: "List wheels" |
276 |
| - run: | |
277 |
| - ls -al dist/ |
278 |
| -
|
279 |
| - - name: "Upload wheels" |
280 |
| - uses: actions/upload-artifact@v3 |
281 |
| - with: |
282 |
| - name: dist |
283 |
| - path: dist/*.whl |
0 commit comments