Skip to content

Commit 7ab8b9d

Browse files
committed
Try to build wheel with python -m build
1 parent b34be03 commit 7ab8b9d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/assets.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,14 @@ jobs:
153153
yum install -y https://apache.jfrog.io/artifactory/arrow/almalinux/$(cut -d: -f5 /etc/system-release-cpe)/apache-arrow-release-latest.rpm
154154
yum install -y arrow-devel-$ARROW_VERSION-1.el8 arrow$(echo $ARROW_VERSION | cut -d . -f 1)00-dataset-libs
155155
- name: Install dependencies
156-
run: /opt/python/${{ matrix.cpython_version }}/bin/python -m pip install --upgrade pip setuptools wheel auditwheel pyarrow==$ARROW_VERSION
156+
run: /opt/python/${{ matrix.cpython_version }}/bin/python -m pip install --upgrade pip setuptools wheel pyarrow==$ARROW_VERSION
157157
- name: Build wheel
158158
working-directory: ${{ matrix.source }}
159159
run: |
160-
/opt/python/${{ matrix.cpython_version }}/bin/python setup.py bdist_wheel
161-
/opt/python/${{ matrix.cpython_version }}/bin/python -m auditwheel repair build/dist/*.whl
160+
/opt/python/${{ matrix.cpython_version }}/bin/python -m build --wheel
162161
- name: Wheel path
163162
id: wheel
164-
working-directory: ${{ matrix.source }}/wheelhouse
163+
working-directory: ${{ matrix.source }}/dist
165164
run: echo "##[set-output name=wheel;]$(ls *.whl)"
166165
- uses: actions/upload-release-asset@v1
167166
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}

0 commit comments

Comments
 (0)