-
Notifications
You must be signed in to change notification settings - Fork 265
fix: support space in constraints file path #738
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
For some reason this works on macOS but gives
On windows. Does pip not understand URI's on Windows? |
Both types of quotes do not work. |
The best way to fix this would be to rely on pypa/pip#10116 when it becomes available, but for now, on Windows, we can make a temporary file if there is a space in the name, which is less likely to contain a space, I think. |
Could someone take a look at this? I think it will fix the bug with pip breaking build. |
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.
Other than the note, this looks good to me!
32f7d0a
to
b6a5968
Compare
@joerick Would it be possible to get another dev release after this to see if if fixes the problem I was seeing in the wild? |
Yep, sure! Let me have another look at this. |
I hope it's okay with you @henryiii, I just pushed a couple of tidy up commits. If that looks good to you, I should be able to get another alpha out today. |
args: Sequence[PathOrStr], env: Optional[Dict[str, str]] = None, cwd: Optional[str] = None | ||
args: Sequence[PathOrStr], env: Optional[Dict[str, str]] = None, cwd: Optional[PathOrStr] = None |
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.
Would have been nice with #672, would have fixed this for all OSs. :)
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.
haha! yeah... need to decide what to do with that...
cibuildwheel/windows.py
Outdated
constr = options.dependency_constraints.get_for_python_version(config.version) | ||
constraints_path = options.dependency_constraints.get_for_python_version( | ||
config.version | ||
) |
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.
FYI, this originally was exactly the number of characters that kept this from wrapping. ;) This is fine, though.
Closes #740.