Skip to content

Commit 45fa185

Browse files
authored
Manylinux 2.28 make sure wheels are renamed (#6538)
Same as pytorch/pytorch#150786 Wheel filename should be: linux_aarch64 -> manylinux_2_28_aarch64 linux_x86_64 -> manylinux_2_28_x86_64 Test in CI
1 parent 729ba27 commit 45fa185

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: .github/workflows/build_wheels_linux.yml

+9
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,15 @@ jobs:
247247
${CONDA_RUN} python setup.py clean
248248
echo "Successfully ran `python setup.py clean`"
249249
${CONDA_RUN} python setup.py bdist_wheel
250+
- name: Run Manylinux_2_28 rename command
251+
shell: bash -l {0}
252+
env:
253+
PACKAGE_NAME: ${{ inputs.package-name }}
254+
SMOKE_TEST_SCRIPT: ${{ inputs.smoke-test-script }}
255+
run: |
256+
set -euxo pipefail
257+
source "${BUILD_ENV_FILE}"
258+
for f in ${{ inputs.repository }}/dist/*.whl; do mv -nv "$f" "${f/-linux_/-manylinux_2_28_}"; done
250259
- name: Run Post-Script
251260
if: ${{ inputs.post-script != '' }}
252261
uses: ./test-infra/.github/actions/run-script-with-cache

0 commit comments

Comments
 (0)