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

Mamba 2.0 name fixes #3225

Merged
merged 16 commits into from
Mar 14, 2024
Merged

Mamba 2.0 name fixes #3225

merged 16 commits into from
Mar 14, 2024

Conversation

AntoinePrv
Copy link
Member

Moving all executable names (in scripts files for instance) to be compatible with mamba.

@AntoinePrv AntoinePrv marked this pull request as draft March 8, 2024 16:38
@AntoinePrv AntoinePrv added the release::bug_fixes For PRs fixing bugs label Mar 8, 2024
@AntoinePrv AntoinePrv marked this pull request as ready for review March 13, 2024 08:27
Comment on lines +712 to +716
validate_existing_root_prefix(default_root_prefix_v1())
.or_else([](const auto& /* error */)
{ return validate_root_prefix(default_root_prefix_v2()); })
.transform([&](fs::u8path&& p) { prefix = std::move(p); })
.or_else([](mamba_error&& error) { throw std::move(error); });
Copy link
Member Author

Choose a reason for hiding this comment

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

Here we change the default root prefix (in case nothing is specified or found) to ~/.local/share/mamba.

Comment on lines +210 to +216
lines = res.splitlines()
assert "cmd.exe already initialized." in lines
# TODO test deactivated when enabled micromamba as "mamba" executable.
# The test failed for some reason.
# We would like a more controlled way to test long path support than into an
# integration test.
# assert "Windows long-path support already enabled." in lines
Copy link
Member Author

Choose a reason for hiding this comment

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

The assertion that is failing for untraceable reasons.

@JohanMabille JohanMabille merged commit 02b36ba into mamba-org:main Mar 14, 2024
28 checks passed
@AntoinePrv AntoinePrv deleted the mamba-cpp branch March 14, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::bug_fixes For PRs fixing bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants