-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 PATH-based Python discovery on Windows #2712
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.
Tests please.
ba38caa
to
6910339
Compare
FYI macos-latest is having a staggered rollout to ARM and it looks like it happened here. Would you like me to downgrade the runner or drop 3.7 finally now? |
Sure 👍 |
Drop 3.7? |
Keep 3.7. |
62f0e67
to
34eaeac
Compare
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.
Looks good but the CI is falling .
@@ -48,6 +48,10 @@ def fs_supports_symlink(): | |||
return _CAN_SYMLINK | |||
|
|||
|
|||
def fs_path_id(path: str) -> str: | |||
return path.casefold() if fs_is_case_sensitive() else path |
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.
This is fine but FYI in future if absolutely necessary the more proper and less performant way would be to stat the file and use the tuple: (stat.st_dev, stat.st_ino)
Any idea why that job timed out after 20 minutes? |
oh thanks for restarting that! |
This PR: