- Notifications
You must be signed in to change notification settings - Fork26.3k
[BE] Fix minifier when one has multiple Python runtimes#155918
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
By using `sys.executable` instead of `"python"`Otherwise, it fails on Ubuntu with `python not found` error
pytorch-botbot commentedJun 13, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🔗 Helpful Links🧪 See artifacts and rendered test results athud.pytorch.org/pr/155918
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 53 Pending, 3 Unrelated FailuresAs of commit773429a with merge base338a8c7 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:This comment was automatically generated by Dr. CI and updates every 15 minutes. |
malfet commentedJun 13, 2025
@pytorchbot merge |
pytorchmergebot commentedJun 13, 2025
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
malfet commentedJun 13, 2025
@pytorchbot merge -f "¯_(ツ)_/¯" |
You need to provide a reason for using force merge, in the format@pytorchbot merge -f 'Explanation'.
|
malfet commentedJun 13, 2025
@pytorchbot merge -f "¯\(ツ)/¯ ¯\(ツ)/¯ ¯\(ツ)/¯ " |
pytorchmergebot commentedJun 13, 2025
The mergejob 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 |
pytorchmergebot commentedJun 13, 2025
Merge startedYour change will be merged immediately since you used the force (-f) flag,bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
Fix hardcoded python executable path with sys.executableReplace hardcoded "python" string with sys.executable to ensurecorrect Python interpreter is used. This fixes failures on systemswith multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918
Fix hardcoded python executable path with sys.executable Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH. Similar topytorch#155918
Replace hardcoded "python" string with sys.executable to ensurecorrect Python interpreter is used. This fixes failures on systemswith multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar to#155918Fixes #ISSUE_NUMBERPull Requestresolved:#165633Approved by:https://github.com/Skylion007
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918Fixes #ISSUE_NUMBERPull Requestresolved:pytorch#165633Approved by:https://github.com/Skylion007
Replace hardcoded "python" string with sys.executable to ensure correct Python interpreter is used. This fixes failures on systems with multiple Python runtimes or where "python" is not in PATH.Similar topytorch#155918Fixes #ISSUE_NUMBERPull Requestresolved:pytorch#165633Approved by:https://github.com/Skylion007
Uh oh!
There was an error while loading.Please reload this page.
By using
sys.executableinstead of"python"Otherwise, it fails on Ubuntu with
python not founderrorcc@voznesenskym@penguinwu@EikanWang@jgong5@Guobing-Chen@XiaobingSuper@zhuhaozhe@blzheng@wenzhe-nrv@jiayisunx@chenyang78@kadeng@chauhang@amjames