[build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ].#156027
[build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ].#156027XuehaiPan wants to merge 54 commits intogh/XuehaiPan/283/basefrom
python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ].#156027Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156027
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 872688b with merge base 476874b ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…> `[uv ]pip install[ -e] .` Modernize the development installation: ```bash python -m pip install -e . python -m pip install . ``` ghstack-source-id: 6127c08 Pull-Request: pytorch#156027
|
The Docker image build failure is due to the non-existence of pip index URL for stable torch cu129, which is unrelated to this PR. |
|
@pytorchbot merge -r |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 2 jobs have failed, first few of them are: Build Official Docker Images / build (12.9, 12.9.1, 9, runtime, linux/amd64), Build Official Docker Images / build (12.9, 12.9.1, 9, devel, linux/amd64) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 2 checks: Build Official Docker Images / build (12.9, 12.9.1, 9, runtime, linux/amd64), Build Official Docker Images / build (12.9, 12.9.1, 9, devel, linux/amd64) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 2 checks: Build Official Docker Images / build (12.9, 12.9.1, 9, runtime, linux/amd64), Build Official Docker Images / build (12.9, 12.9.1, 9, devel, linux/amd64) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@XuehaiPan @ezyang doesn't this new recommendation break ccache due to folder randomization? |
|
It shouldn't, |
|
But then I'm surprised of the very big warning that was added to vllm recently: https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html#full-build-with-compilation ? |
|
Those vllm instructions omit Doing an editable build with build isolation never really makes sense when dealing with compiled code, you'll never be able to do an incremental build. |
Modernize the development installation:
Now, the
python setup.py developis a wrapper aroundpython -m pip install -e .sincesetuptools>=80.0:python setup.py installis deprecated and will emit a warning during run. The warning will become an error on October 31, 2025.Additional Resource:
Stack from ghstack (oldest at bottom):
astunparseand changeastunparse.unparse->ast.unparse#157907setuptools>=70.1.0for integratedbdist_wheelcommand #157783setuptools<80.0#156049python setup.py develop/install->[uv ]pip install --no-build-isolation [-e ].#156027cc @seemethere @malfet @osalpekar @atalman