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

resolve #7595 implement win 10 long path reg key for conda init #7629

Merged
merged 3 commits into from
Aug 9, 2018

Conversation

msarahan
Copy link
Contributor

@msarahan msarahan commented Aug 7, 2018

toward #7595

@@ -1107,6 +1118,29 @@ def init_cmd_exe_registry(target_path, conda_prefix):
return Result.NO_CHANGE


def init_long_path(target_path):
win_ver, win_rev = platform.platform().split('-')[1:3]
# win10, build 14352 was the first preview release that supported this
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just extracted from another PR and merged into master something that might be cleaner here (the new code was in #7630; you'll need to rebase). For win_rev, I believe you can use context.os_distribution_name_version[1]. I think on older systems, what you have for win_ver might actually be able to be NT, so int('NT') would 💣.

Copy link
Contributor

@kalefranz kalefranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kalefranz kalefranz merged commit aaf5ca1 into conda:master Aug 9, 2018
@kalefranz kalefranz added this to the 4.6.0 milestone Aug 9, 2018
@kalefranz kalefranz changed the title implement win 10 long path reg key for conda init resolve #7595 implement win 10 long path reg key for conda init Aug 9, 2018
@msarahan msarahan deleted the init_long_paths branch August 13, 2018 15:33
@github-actions
Copy link

github-actions bot commented Sep 1, 2021

Hi there, thank you for your contribution to Conda!

This pull request has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue or pull request if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants