@@ -86,24 +86,25 @@ jobs:
8686 name : Build wheels on ${{ matrix.os }}
8787 runs-on : ${{ matrix.os }}
8888 environment : release
89- permissions :
90- id-token : write
9189 strategy :
9290 fail-fast : false
9391 matrix :
9492 os : [ubuntu-24.04-ppc64le]
9593 steps :
9694 - uses : actions/checkout@v4
97- - uses : actions/setup-python@v5
98- name : Install Python
99- with :
100- python-version : ' 3.12'
10195 - uses : dtolnay/rust-toolchain@stable
102- - name : Install cibuildwheel
96+ - name : Install uv
10397 run : |
104- python -m pip install -U --group releaseinfra
98+ python3 -m pip install --user uv==0.11.2
99+ - name : Install cibuildwheel dependencies
100+ run : |
101+ python3 -m uv python install 3.12
102+ python3 -m uv venv --python 3.12 .venv
103+ source .venv/bin/activate
104+ uv pip install --group releaseinfra
105105 - name : Build wheels
106106 run : |
107+ source .venv/bin/activate
107108 python -m cibuildwheel --output-dir wheelhouse
108109 env :
109110 CIBW_SKIP : pp* cp314t* *win32 *musl*
@@ -112,6 +113,18 @@ jobs:
112113 with :
113114 path : ./wheelhouse/*.whl
114115 name : wheel-builds-ppc64le
116+ upload_wheels_ppc64le :
117+ name : Upload wheels for ppc64le
118+ runs-on : ubuntu-latest
119+ environment : release
120+ permissions :
121+ id-token : write
122+ needs : ["build_wheels_ppc64le", "upload_shared_wheels"]
123+ steps :
124+ - uses : actions/download-artifact@v4
125+ with :
126+ name : wheel-builds-ppc64le
127+ path : wheelhouse
115128 - name : Publish package distributions to PyPI
116129 uses : pypa/gh-action-pypi-publish@release/v1
117130 with :
@@ -120,24 +133,25 @@ jobs:
120133 name : Build wheels on ${{ matrix.os }}
121134 runs-on : ${{ matrix.os }}
122135 environment : release
123- permissions :
124- id-token : write
125136 strategy :
126137 fail-fast : false
127138 matrix :
128139 os : [ubuntu-24.04-s390x]
129140 steps :
130141 - uses : actions/checkout@v4
131- - uses : actions/setup-python@v5
132- name : Install Python
133- with :
134- python-version : ' 3.12'
135142 - uses : dtolnay/rust-toolchain@stable
136- - name : Install cibuildwheel
143+ - name : Install uv
137144 run : |
138- python -m pip install -U --group releaseinfra
145+ python3 -m pip install --user uv==0.11.2
146+ - name : Install cibuildwheel dependencies
147+ run : |
148+ python3 -m uv python install 3.12
149+ python3 -m uv venv --python 3.12 .venv
150+ source .venv/bin/activate
151+ uv pip install --group releaseinfra
139152 - name : Build wheels
140153 run : |
154+ source .venv/bin/activate
141155 python -m cibuildwheel --output-dir wheelhouse
142156 env :
143157 CIBW_SKIP : pp* cp314t* *win32 *musl*
@@ -146,6 +160,18 @@ jobs:
146160 with :
147161 path : ./wheelhouse/*.whl
148162 name : wheel-builds-s390x
163+ upload_wheels_s390x :
164+ name : Upload wheels for s390x
165+ runs-on : ubuntu-latest
166+ environment : release
167+ permissions :
168+ id-token : write
169+ needs : ["build_wheels_s390x", "upload_shared_wheels"]
170+ steps :
171+ - uses : actions/download-artifact@v4
172+ with :
173+ name : wheel-builds-s390x
174+ path : wheelhouse
149175 - name : Publish package distributions to PyPI
150176 uses : pypa/gh-action-pypi-publish@release/v1
151177 with :
0 commit comments