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

Add micromamba version to cache key? #91

Closed
jonashaag opened this issue Jul 11, 2023 · 3 comments · Fixed by #228
Closed

Add micromamba version to cache key? #91

jonashaag opened this issue Jul 11, 2023 · 3 comments · Fixed by #228
Labels
enhancement New feature or request

Comments

@jonashaag
Copy link

If you change the Micromamba version (implicit update due to new release, explicit update to due version pin) any environment cached with a previous Micromamba version is restored.

I wonder if we should make the cache dependent on the Micromamba version because there might be bug fixes in newer versions that affect the environment

@pavelzw
Copy link
Member

pavelzw commented Jul 12, 2023

Yes, that sounds reasonable 👍

@pavelzw pavelzw added the enhancement New feature or request label Jul 12, 2023
@bhperry
Copy link
Contributor

bhperry commented Sep 26, 2024

Speaking of.... this issue became a whole lot more painful to deal with because of this

@pavelzw
Copy link
Member

pavelzw commented Sep 26, 2024

it would probably be easiest to just include the sha256 of the micromamba executable in the cache key. PRs are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants