pytorch/.github
Xuehai Pan 4dce5b71a0 [build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ]. (#156027)
Modernize the development installation:

```bash
# python setup.py develop
python -m pip install --no-build-isolation -e .

# python setup.py install
python -m pip install --no-build-isolation .
```

Now, the `python setup.py develop` is a wrapper around `python -m pip install -e .` since `setuptools>=80.0`:

- pypa/setuptools#4955

`python setup.py install` is deprecated and will emit a warning during run. The warning will become an error on October 31, 2025.

- 9c4d383631/setuptools/command/install.py (L58-L67)

> ```python
> SetuptoolsDeprecationWarning.emit(
>     "setup.py install is deprecated.",
>     """
>     Please avoid running ``setup.py`` directly.
>     Instead, use pypa/build, pypa/installer or other
>     standards-based tools.
>     """,
>     see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
>     due_date=(2025, 10, 31),
> )
> ```

- pypa/setuptools#3849

Additional Resource:

- [Why you shouldn't invoke setup.py directly](https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156027
Approved by: https://github.com/ezyang
2025-07-09 11:24:27 +00:00
..
actions [ez][CI] Print set output in CI (#157477) 2025-07-02 21:47:19 +00:00
ci_commit_pins [xla hash update] update the pinned xla hash (#156584) 2025-07-07 12:09:20 +00:00
ISSUE_TEMPLATE Update bug-report.yml (#154857) 2025-06-03 16:13:07 +00:00
requirements [Reland] Use 3.27 as the minimum CMake version (#154783) 2025-06-14 16:37:51 +00:00
scripts [build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ]. (#156027) 2025-07-09 11:24:27 +00:00
templates Enable manywheel build and smoke test on main branch for ROCm (#153287) 2025-06-14 19:14:31 +00:00
workflows Fix more H100 CI (#157829) 2025-07-09 01:28:05 +00:00
actionlint.yaml Integrated AMD AWS runners into Pytorch CI (#153704) 2025-06-18 15:58:22 +00:00
auto_request_review.yml Remove voznesenskym from the list of autoreviewers (#118680) 2024-01-30 21:35:38 +00:00
label_to_label.yml [distributed] Enable H100 test for all distributed related changes (#156721) 2025-06-26 01:51:41 +00:00
labeler.yml [BE][AOTI] Remove duplicate schema for ExternKernelNode (#155867) 2025-06-14 02:03:27 +00:00
merge_rules.yaml Update github first merge rule (#156583) 2025-06-24 14:04:22 +00:00
nitpicks.yml Extend abi-stable nitpick message to all the c stable files (#145862) 2025-01-28 23:22:23 +00:00
PULL_REQUEST_TEMPLATE.md [BE] Extend linter to detect DOS newlines (#86973) 2022-10-15 00:20:42 +00:00
pytorch-circleci-labels.yml Add missing docker build to slow gradcheck label-triggered build (#61941) 2021-07-22 07:37:21 -07:00
pytorch-probot.yml [symm_mem] Create a dedicated ci flow for symmetric memory and only use 4 GPUs (#157181) 2025-06-28 08:33:50 +00:00
regenerate.sh Enable bazel builds on ciflow/default (#62649) 2021-08-03 11:05:41 -07:00
requirements-gha-cache.txt Bump requests from 2.32.2 to 2.32.4 in /.github (#155491) 2025-06-16 06:48:08 -07:00