Skip to content

Commit c935419

Browse files
zachlewislgritz
authored andcommitted
ci: disable macos-x86 wheels. (AcademySoftwareFoundation#4886)
Temporary workaround to unblock publishing of other wheels for 3.1 release Signed-off-by: Zach Lewis <[email protected]>
1 parent ff94ff4 commit c935419

File tree

1 file changed

+52
-55
lines changed

1 file changed

+52
-55
lines changed

.github/workflows/wheel.yml

Lines changed: 52 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -239,60 +239,57 @@ jobs:
239239
# macOS Wheels
240240
# ---------------------------------------------------------------------------
241241

242-
macos:
243-
name: Build wheels on macOS
244-
runs-on: macos-13
245-
if: |
246-
github.event_name != 'schedule' ||
247-
github.repository == 'AcademySoftwareFoundation/OpenImageIO'
248-
strategy:
249-
matrix:
250-
include:
251-
# -------------------------------------------------------------------
252-
# CPython 64 bits
253-
# -------------------------------------------------------------------
254-
- build: CPython 3.8 64 bits
255-
python: cp38-macosx_x86_64
256-
arch: x86_64
257-
- build: CPython 3.9 64 bits
258-
python: cp39-macosx_x86_64
259-
arch: x86_64
260-
- build: CPython 3.10 64 bits
261-
python: cp310-macosx_x86_64
262-
arch: x86_64
263-
- build: CPython 3.11 64 bits
264-
python: cp311-macosx_x86_64
265-
arch: x86_64
266-
- build: CPython 3.12 64 bits
267-
python: cp312-macosx_x86_64
268-
arch: x86_64
269-
- build: CPython 3.13 64 bits
270-
python: cp313-macosx_x86_64
271-
arch: x86_64
272-
273-
steps:
274-
- name: Checkout repo
275-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
276-
277-
- name: Install Python
278-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
279-
with:
280-
python-version: '3.9'
281-
282-
- name: Build wheels
283-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
284-
env:
285-
CIBW_BUILD: ${{ matrix.python }}
286-
CIBW_ARCHS: ${{ matrix.arch }}
287-
CMAKE_GENERATOR: "Unix Makefiles"
288-
# TODO: Re-enable HEIF when we provide a build recipe that does
289-
# not include GPL-licensed dynamic libraries.
290-
USE_Libheif: 'OFF'
291-
292-
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
293-
with:
294-
name: cibw-wheels-${{ matrix.python }}
295-
path: ./wheelhouse/*.whl
242+
# macos:
243+
# name: Build wheels on macOS
244+
# runs-on: macos-13
245+
# if: |
246+
# github.event_name != 'schedule' ||
247+
# github.repository == 'AcademySoftwareFoundation/OpenImageIO'
248+
# strategy:
249+
# matrix:
250+
# include:
251+
# # -------------------------------------------------------------------
252+
# # CPython 64 bits
253+
# # -------------------------------------------------------------------
254+
# - build: CPython 3.9 64 bits
255+
# python: cp39-macosx_x86_64
256+
# arch: x86_64
257+
# - build: CPython 3.10 64 bits
258+
# python: cp310-macosx_x86_64
259+
# arch: x86_64
260+
# - build: CPython 3.11 64 bits
261+
# python: cp311-macosx_x86_64
262+
# arch: x86_64
263+
# - build: CPython 3.12 64 bits
264+
# python: cp312-macosx_x86_64
265+
# arch: x86_64
266+
# - build: CPython 3.13 64 bits
267+
# python: cp313-macosx_x86_64
268+
# arch: x86_64
269+
270+
# steps:
271+
# - name: Checkout repo
272+
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
273+
274+
# - name: Install Python
275+
# uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
276+
# with:
277+
# python-version: '3.9'
278+
279+
# - name: Build wheels
280+
# uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
281+
# env:
282+
# CIBW_BUILD: ${{ matrix.python }}
283+
# CIBW_ARCHS: ${{ matrix.arch }}
284+
# CMAKE_GENERATOR: "Unix Makefiles"
285+
# # TODO: Re-enable HEIF when we provide a build recipe that does
286+
# # not include GPL-licensed dynamic libraries.
287+
# USE_Libheif: 'OFF'
288+
289+
# - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
290+
# with:
291+
# name: cibw-wheels-${{ matrix.python }}
292+
# path: ./wheelhouse/*.whl
296293

297294
# ---------------------------------------------------------------------------
298295
# macOS ARM Wheels
@@ -410,7 +407,7 @@ jobs:
410407

411408

412409
upload_pypi:
413-
needs: [sdist, linux, linux-arm, macos, macos-arm, windows]
410+
needs: [sdist, linux, linux-arm, macos-arm, windows]
414411
runs-on: ubuntu-latest
415412
permissions:
416413
id-token: write

0 commit comments

Comments
 (0)