Skip to content

Commit 85dbf7b

Browse files
committed
Replace setup.py bdist_wheel with python -m build --wheel
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 32dbd88 commit 85dbf7b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
use_spirv_backend: ${{ inputs.use_spirv_backend }}
131131
command: >
132132
DEBUG=1
133-
python setup.py bdist_wheel && pip install dist/*.whl
133+
python -m build --wheel --no-isolation && pip install dist/*.whl
134134
135135
- name: Set test-triton command line
136136
id: test-triton

.github/workflows/e2e-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
if: ${{ steps.triton-cache.outputs.status == 'miss' }}
122122
uses: ./.github/actions/setup-triton
123123
with:
124-
command: DEBUG=1 python setup.py bdist_wheel
124+
command: DEBUG=1 python -m build --wheel --no-isolation
125125

126126
- name: Install Triton
127127
run: |

.github/workflows/nightly-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
command: >
7777
DEBUG=1
78-
python setup.py bdist_wheel && pip install dist/*.whl
78+
python -m build --wheel --no-isolation && pip install dist/*.whl
7979
8080
- name: Install torchvision package
8181
uses: ./.github/actions/install-dependency

.github/workflows/pip-test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
9292
cd ${{ env.NEW_WORKSPACE }}
9393
pip install -U wheel pybind11 cython cmake intel-sycl-rt==2025.2.1
94-
python setup.py -v bdist_wheel
94+
python -m build --wheel --no-isolation
9595
pip install (Get-Item ${{ env.NEW_WORKSPACE }}\dist\*.whl)
9696
9797
- name: Triton version

.github/workflows/third-party-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Build Triton wheels
7575
uses: ./.github/actions/setup-triton
7676
with:
77-
command: DEBUG=1 python setup.py bdist_wheel
77+
command: DEBUG=1 python -m build --wheel --no-isolation
7878

7979
- name: Install Triton
8080
id: install

0 commit comments

Comments
 (0)