-
Notifications
You must be signed in to change notification settings - Fork 430
Fixed create/install requiring pip install failing when the prefix have whitespaces on Windows #1838
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 create/install requiring pip install failing when the prefix have whitespaces on Windows #1838
Conversation
Also simplified how we handle the arguments.
4159bf3 to
e9ee5a2
Compare
e9ee5a2 to
39c814f
Compare
|
Does this also apply if we have a environment name with a space in |
Co-authored-by: Jonas Haag <[email protected]>
Co-authored-by: Jonas Haag <[email protected]>
I didn't consider that case, I'll add a test. |
|
@jonashaag For some unclear reason your changes don't pass for me (windows 11) because the type of |
|
The initial fix should cover any prefix value provided (as long as it have been correctly parsed before reaching that part of the code). I added the test. |
|
Thanks @Klaim ! |
The proper way would be to use str. |
|
Are there any plans to build a 0.25.2 release with this fix? |
Also adds tests checking this issue in the first commit. They fail for me on Windows 11 without the fix provided in the second commit.
I believe this should fix #1805 which was re-opened after #1828 re-introduced the issue.