-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[build] modernize build-frontend: python setup.py develop/install -> [uv ]pip install --no-build-isolation [-e ].
#156027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 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
|
@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 |
…> `[uv ]pip install --no-build-isolation [-e ].` Modernize the development installation: ```bash python -m pip install --no-build-isolation -e . python -m pip install --no-build-isolation . ``` ghstack-source-id: c2d1f33 Pull-Request: pytorch#156027
|
@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. |
#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: #156710 Approved by: https://github.com/atalman
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
#156027 already replaced most use of `python setup.py install`. This PR only adds a few more occurrences and adds `--no-build-isolation` in a few places. Pull Request resolved: #156711 Approved by: https://github.com/atalman
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