-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Fixed an issue where building inside of a clone directory with spaces would result in not being able to build at all. #121384
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed no issue required, but let's keep the change only to the places that need it.
would result in not being able to build at all. This is an issue as some people have github repositories with spaces in name and has cpython as a submodule so they can test with the latest and greatest main branch and the feature branches (3.13, 3.12, etc) Having regen.targets use the " msbuild escape sequence for all input and output file paths ensures that this issue never happens again as long as the paths are wrapped in quotes. Also it's not acceptable to have to move the submodule out of the folder with a space nor is it acceptable to rename the folder that has a space sometimes. Using Quotes is a more acceptable solution to this.
4d7b9f8
to
27e0f3e
Compare
Thanks for the fix, @AraHaan |
Not sure why the bots aren't doing backports right now... maybe they're taking a (US) holiday. Edit: Pinged some people who probably know what's going on and/or what to do about it. |
) (cherry picked from commit 0e77540) Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
Sorry, @AraHaan and @zooba, I could not cleanly backport this to
|
) (cherry picked from commit 0e77540) Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
Sorry, @AraHaan and @zooba, I could not cleanly backport this to
|
) (cherry picked from commit 0e77540) Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
) (cherry picked from commit 0e77540) Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
GH-121411 is a backport of this pull request to the 3.13 branch. |
(cherry picked from commit 0e77540) Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
Doesn't actually impact 3.12 |
I felt this is a trivial change and did not need an issue.
This is an issue as some people have github repositories with spaces in name and has cpython as a submodule so they can test with the latest and greatest main branch and the feature branches (3.13, 3.12, etc)
Having regen.targets use the " msbuild escape sequence for all input and output file paths ensures that this issue never happens again as long as the paths are wrapped in quotes. Also it's not acceptable to have to move the submodule out of the folder with a space nor is it acceptable to rename the folder that has a space sometimes. Using Quotes is a more acceptable solution to this.