Skip to content

Commit 21804c8

Browse files
author
dnnanuti
committed
Update python setup action and temporarily disable macos-14
1 parent be57ce0 commit 21804c8

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

.github/workflows/wheels.yml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,17 @@ jobs:
1919
uses: ./.github/workflows/generate_third_party_licenses.yml
2020

2121
build_wheels:
22-
name: Wheels for ${{ matrix.python.id }} - ${{ matrix.builder.kind }} - ${{ matrix.builder.arch }}
22+
name: Wheels for ${{ matrix.python }} - ${{ matrix.builder.kind }} - ${{ matrix.builder.arch }}
2323
runs-on: ${{ matrix.builder.runner }}
2424
needs: generate_third_party_licenses
2525
strategy:
2626
matrix:
2727
python:
28-
- id: cp38
29-
version: "3.8"
30-
- id: cp39
31-
version: "3.9"
32-
- id: cp310
33-
version: "3.10"
34-
- id: cp311
35-
version: "3.11"
36-
- id: cp312
37-
version: "3.12"
28+
- cp38
29+
- cp39
30+
- cp310
31+
- cp311
32+
- cp312
3833
builder:
3934
- runner: codebuild-${{ vars.CODEBUILD_PROJECT_NAME }}-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
4035
kind: manylinux
@@ -48,9 +43,9 @@ jobs:
4843
- runner: macos-13
4944
kind: macosx
5045
arch: x86_64
51-
- runner: macos-14
52-
kind: macosx
53-
arch: arm64
46+
# - runner: macos-14
47+
# kind: macosx
48+
# arch: arm64
5449
permissions:
5550
id-token: write
5651
contents: read
@@ -81,14 +76,13 @@ jobs:
8176
- if: ${{ matrix.builder.arch != 'aarch64' }}
8277
uses: actions/setup-python@v5
8378
with:
84-
python-version: ${{ matrix.python.version }}
85-
cache: "pip"
79+
python-version: "3.12"
8680

8781
- name: Install pipx
8882
run: |
8983
which python
9084
python -m pip install --upgrade pipx
91-
pipx ensurepath
85+
python -m pipx ensurepath
9286
9387
# Run cibuildwheel manually, as the current runner uses setup-python
9488
# https://github.com/pypa/cibuildwheel/issues/1623
@@ -97,7 +91,7 @@ jobs:
9791
cibuildwheel
9892
"s3torchconnectorclient"
9993
--output-dir "wheelhouse"
100-
--only "${{ matrix.python.id }}-${{ matrix.builder.kind }}_${{ matrix.builder.arch }}"
94+
--only "${{ matrix.python }}-${{ matrix.builder.kind }}_${{ matrix.builder.arch }}"
10195
2>&1
10296
shell: bash
10397

0 commit comments

Comments
 (0)