conda / conda-lock

Lightweight lockfile for conda environments
https://conda.github.io/conda-lock/
Other
456 stars 101 forks source link

bz2 suffixes being used despite registry not having bz2 files #639

Open benmoss opened 1 month ago

benmoss commented 1 month ago

Checklist

What happened?

Using the --update flag seems to result in all of my packages that have .conda suffixes being replaced with .tar.bz2 suffixes. It seems to because of this line.

I took a look at fixing it but it seems like the overall strategy being used here of running conda list --json won't work since it doesn't give us the remote URL and so we're forced to re-assemble it from the channel and guess at what the extension is.

maresb commented 1 month ago

Ooh, that's quite nasty. Thanks for tracking down the cause! Unfortunately I don't have any particular ideas about how to fix this, but I'm open to suggestions.