Skip to content

Fix mamba not writable cache error#1108

Merged
wolfv merged 4 commits into
mamba-org:masterfrom
adriendelsalle:fix-writable-cache
Aug 9, 2021
Merged

Fix mamba not writable cache error#1108
wolfv merged 4 commits into
mamba-org:masterfrom
adriendelsalle:fix-writable-cache

Conversation

@adriendelsalle

Copy link
Copy Markdown
Member

Description

Fix mamba runtime_error when root_prefix cache in not writable
Use the first writable cache dir in Channel constructor to re-use Context.pkgs_dirs filled using conda api

The bug has been introduced in #1033, by using libmamba Channel instead of conda's one.

Closes #1098

@adriendelsalle

adriendelsalle commented Aug 3, 2021

Copy link
Copy Markdown
Member Author

@wolfv any idea why the tests you introduced recently are failing on Windows?

Will try to debug that if you don't have time to have a look.
I just triggered again the 0.15.2 release workflow to be sure it still passes.

@adriendelsalle

Copy link
Copy Markdown
Member Author

The exact same tests are failing on 0.15.2 workflow re-ran: https://github.com/mamba-org/mamba/runs/3233778749?check_suite_focus=true

@wolfv wolfv merged commit 505aba9 into mamba-org:master Aug 9, 2021
@adriendelsalle adriendelsalle deleted the fix-writable-cache branch August 9, 2021 12:10
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.

mamba install fails due to RuntimeError: Permission denied: <global conda>/pkgs/cache

2 participants