Skip to content
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

fix feedstock_io.py on windows #2189

Closed
wants to merge 2 commits into from
Closed

Conversation

h-vetinari
Copy link
Member

Fixes #2185, based on a suggestion by @mgorny

@h-vetinari h-vetinari requested a review from a team as a code owner December 17, 2024 12:05
@mgorny
Copy link
Contributor

mgorny commented Dec 17, 2024

Thanks but I'm working on a cleaner fix. I'm just setting up a Windows test environment to test it better.

@h-vetinari h-vetinari marked this pull request as draft December 17, 2024 12:23
@beckermr
Copy link
Member

FWIW this fix seems fine to me.

@mgorny
Copy link
Contributor

mgorny commented Dec 17, 2024

FWIW this fix seems fine to me.

Well, I'm not going to insist. I wanted to switch over to pathlib.Path(...).as_posix(), so that the substitution is done only on Windows.

@mgorny
Copy link
Contributor

mgorny commented Dec 17, 2024

Either case, I'm going to recheck the code for other similar problems. Wrt https://github.com/libgit2/libgit2/blob/main/docs/conventions.md#external-api, all paths internal to git must use forward slashes.

@h-vetinari
Copy link
Member Author

Superseded by #2192

@h-vetinari h-vetinari closed this Dec 17, 2024
@h-vetinari h-vetinari deleted the win_git branch December 17, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: failed git detection (despite it being on PATH) on windows
3 participants