Skip to content

shorten windows cond env path#4288

Draft
lanluo-nvidia wants to merge 5 commits into
mainfrom
lluo/shorten_windows_dir
Draft

shorten windows cond env path#4288
lanluo-nvidia wants to merge 5 commits into
mainfrom
lluo/shorten_windows_dir

Conversation

@lanluo-nvidia
Copy link
Copy Markdown
Collaborator

Description

shorten the windows conv env path

Fixes # (issue)
ERROR: Could not install packages due to an OSError: [WinError 206] The filename or extension is too long: 'C:\\actions-runner\\_work\\_temp\\conda_environment_26287354992\\Lib\\site-packages\\torch-2.13.0.dev20260522+cu130.dist-info\\licenses\\third_party\\kineto\\libkineto\\third_party\\dynolog\\third_party\\prometheus-cpp\\3rdparty\\civetweb\\src\\third_party\\duktape-1.5.2'

Type of change

Please delete options that are not relevant and/or add your own.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

@meta-cla meta-cla Bot added the cla signed label May 22, 2026
short_drive="${SHORT_CONDA_DRIVE%:}:"
else
short_drive=""
for drive in T S R Q P O N M L K J I H G F E D; do
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is kind of weird lol

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is this file trying to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants