Skip to content

Commit 6eace37

Browse files
authored
setuptools >= 78.1.0 (#3831)
Fixes #3829.
1 parent 6c3069d commit 6eace37

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

.github/WINDOWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,14 @@ python -c 'import torch;print(torch.__version__)'
157157
Install build dependencies:
158158

159159
```
160-
pip install -U wheel pybind11 cython cmake 'setuptools>=65.6.1'
160+
pip install -U wheel pybind11 cython cmake
161161
```
162162

163163
Build and install Triton:
164164

165165
```
166166
cd python
167-
pip install -v --no-build-isolation '.[build,tests,tutorials]'
167+
pip install -v '.[build,tests,tutorials]'
168168
cd ..
169169
```
170170

.github/actions/setup-triton/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
default: "false"
1414
command:
1515
description: Command to execute
16-
default: DEBUG=1 pip install -v --no-build-isolation '.[build,tests,tutorials]'
16+
default: DEBUG=1 pip install -v '.[build,tests,tutorials]'
1717
runs:
1818
using: "composite"
1919
steps:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
9292
cd ${{ env.NEW_WORKSPACE }}
9393
cd python
94-
pip install -U wheel pybind11 cython cmake 'setuptools>=65.6.1'
95-
pip install -v --no-build-isolation '.[build,tests,tutorials]'
94+
pip install -U wheel pybind11 cython cmake
95+
pip install -v '.[build,tests,tutorials]'
9696
9797
- name: Triton version
9898
run: |

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
5959
cd ${{ env.NEW_WORKSPACE }}
6060
cd python
61-
pip install -U wheel pybind11 cython cmake 'setuptools>=65.6.1'
62-
pip install -v --no-build-isolation '.[build]'
61+
pip install -U wheel pybind11 cython cmake
62+
pip install -v '.[build]'
6363
6464
- name: Clean
6565
if: ${{ always() }}

.github/workflows/inductor-tests-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
124124
cd ${{ env.NEW_WORKSPACE }}
125125
cd python
126-
pip install -U wheel pybind11 cython cmake 'setuptools>=65.6.1'
127-
pip install -v --no-build-isolation '.[build,tests,tutorials]'
126+
pip install -U wheel pybind11 cython cmake
127+
pip install -v '.[build,tests,tutorials]'
128128
129129
- name: Triton version
130130
run: |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
9696
cd ${{ env.NEW_WORKSPACE }}
9797
cd python
98-
pip install -U wheel pybind11 cython cmake 'setuptools>=65.6.1' intel-sycl-rt==2025.0.5
98+
pip install -U wheel pybind11 cython cmake intel-sycl-rt==2025.0.5
9999
python setup.py -v bdist_wheel
100100
pip install (Get-Item ${{ env.NEW_WORKSPACE }}\python\dist\*.whl)
101101

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=40.8.0", "wheel", "cmake>=3.18", "ninja>=1.11.1"]
2+
requires = ["setuptools>=78.1.0", "wheel", "cmake>=3.18", "ninja>=1.11.1"]
33

44
[tool.yapf]
55
based_on_style = "pep8"

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[build-system]
3-
requires = ["setuptools>=40.8.0", "wheel", "cmake>=3.18", "ninja>=1.11.1", "pybind11>=2.13.1"]
3+
requires = ["setuptools>=78.1.0", "wheel", "cmake>=3.18", "ninja>=1.11.1", "pybind11>=2.13.1"]
44

55
# We're incrementally switching from autopep8 to ruff.
66
[tool.autopep8]

python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ninja
22
cmake
3-
setuptools>=40.8.0
3+
setuptools>=78.1.0
44
wheel
55
cmake>=3.18,<4.0
66
ninja>=1.11.1

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def get_git_version_suffix():
755755
author_email="[email protected]",
756756
description="A language and compiler for custom Deep Learning operations",
757757
long_description="",
758-
install_requires=["setuptools>=40.8.0"],
758+
install_requires=["setuptools>=78.1.0"],
759759
packages=get_packages(),
760760
entry_points=get_entry_points(),
761761
package_data=package_data,

0 commit comments

Comments
 (0)