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

Conda module: directory truncation does not work on Windows #5980

Open
dr-eme opened this issue May 17, 2024 · 0 comments
Open

Conda module: directory truncation does not work on Windows #5980

dr-eme opened this issue May 17, 2024 · 0 comments
Labels
🐛 bug Something isn't working as expected.

Comments

@dr-eme
Copy link

dr-eme commented May 17, 2024

Bug Report

Current Behavior

Even if path truncation is activated, it is not applied, and thus environments created via conda create -p [path] are shown with full path.

Expected Behavior

Truncation should be OS aware (similar to what directory module does when use_os_path_sep = true).

Possible Solution

Truncation function used in module shall accept separator character.
Alternatively, allow applying string replacements to variables in configuration.

@dr-eme dr-eme added the 🐛 bug Something isn't working as expected. label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

1 participant