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

Fix transmutation with micromamba #692

Merged
merged 5 commits into from
Jul 10, 2023
Merged

Conversation

jaimergp
Copy link
Contributor

@jaimergp jaimergp commented Jul 7, 2023

Description

Closes #674.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jul 7, 2023
jezdez
jezdez previously approved these changes Jul 7, 2023
@jaimergp
Copy link
Contributor Author

jaimergp commented Jul 7, 2023

I looked a bit into this and fixed, I think:

  • Problems started somewhere between Apr 3rd and 21st (see this PR for the first occurrence). It used to work before, but there were no significant releases in that time that explain the problem.
  • The problem is not about extraction this time, but hash verification. Basically the extracted archives will have a different hash in their info/repodata_record.json if they have been transmuted, and micromamba doesn't like that, so it thinks that the cache is corrupted and tries to download the artifact again. The solution is to remove the md5 for those files so micromamba doesn't check.
  • To summarize, the URL and md5 in the explicit input file must match the ones present in the repodata_record.json on the corresponding info/ directory. Otherwise it constitutes a cache mismatch.

@jaimergp jaimergp changed the title skip macos x miniforge x micromamba tests Fix transmutation with micromamba Jul 7, 2023
@jaimergp jaimergp marked this pull request as ready for review July 8, 2023 10:09
@jaimergp jaimergp requested a review from a team as a code owner July 8, 2023 10:09
@jaimergp jaimergp merged commit 8f04c2a into conda:main Jul 10, 2023
14 checks passed
@jaimergp jaimergp mentioned this pull request Jul 11, 2023
31 tasks
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Jul 10, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

miniforge example failing for micromamba x macos
3 participants