Skip to content

Conversation

@andyneff
Copy link
Member

@andyneff andyneff commented Jan 7, 2026

  1. On github actions, the default temp directory ends up having a component longer than 8 characters, so the short 8.3 version of the path got picked up somewhere.
  2. When this path is handed to the conda installer it incorrectly claims this is an invalid path because all ~'s are invalid. This invalidation is clearly invalid.
  3. cygpath can be used to expand to the long format
  4. But cygpath will fail to expand if the entire path doesn't already exist (even if the part that needs to be expanded does exist)

This quick fix attempts to handle that so conda install quits erroring

- Workaround for conda installer bug that falsely claims ~ dirs are invalid

Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
@andyneff andyneff merged commit c18773c into main Jan 8, 2026
4 of 5 checks passed
@drewgilliam drewgilliam deleted the fix_windows_tilde_for_conda_install branch January 8, 2026 17:03
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.

3 participants