Skip to content

Commit 6734db0

Browse files
committed
ci: fix Linux container interpreter; use -i python3.12 to avoid Python 2 in manylinux/musllinux
1 parent a2babe3 commit 6734db0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
(perl -MText::Template -e1 >/dev/null 2>&1 || (curl -sL https://cpanmin.us | perl - App::cpanminus Text::Template >/dev/null))
9797
# Build via root pyproject so distribution name is 'codex-python'
9898
# Use the default container python since we build abi3 once.
99-
args: --release -i python -o dist
99+
args: --release -i python3.12 -o dist
100100

101101
- name: Build Linux aarch64 wheel (manylinux2014)
102102
if: ${{ matrix.platform == 'linux-aarch64' }}
@@ -110,7 +110,7 @@ jobs:
110110
(perl -MText::Template -e1 >/dev/null 2>&1 || (curl -sL https://cpanmin.us | perl - App::cpanminus Text::Template >/dev/null))
111111
# Build via root pyproject so distribution name is 'codex-python'
112112
# Use the default container python since we build abi3 once.
113-
args: --release -i python -o dist
113+
args: --release -i python3.12 -o dist
114114

115115
- name: Build Linux x86_64 wheel (musllinux_1_2)
116116
if: ${{ matrix.platform == 'linux-musl-x86_64' }}
@@ -123,7 +123,7 @@ jobs:
123123
apk add --no-cache curl perl perl-text-template >/dev/null 2>&1 || true
124124
# Build via root pyproject so distribution name is 'codex-python'
125125
# Use the default container python since we build abi3 once.
126-
args: --release -i python -o dist
126+
args: --release -i python3.12 -o dist
127127

128128
- name: Build Linux aarch64 wheel (musllinux_1_2)
129129
if: ${{ matrix.platform == 'linux-musl-aarch64' }}
@@ -136,7 +136,7 @@ jobs:
136136
apk add --no-cache curl perl perl-text-template >/dev/null 2>&1 || true
137137
# Build via root pyproject so distribution name is 'codex-python'
138138
# Use the default container python since we build abi3 once.
139-
args: --release -i python -o dist
139+
args: --release -i python3.12 -o dist
140140

141141
- name: Build macOS universal2 wheel
142142
if: ${{ matrix.platform == 'macos-universal2' }}

0 commit comments

Comments
 (0)