-
Notifications
You must be signed in to change notification settings - Fork 105
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
bz2 suffixes being used despite registry not having bz2 files #639
Comments
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. |
Just had a minor outage and tracked it down to this bug (along with insufficient testing on our part). Leaving the Maybe the workaround requires keeping the lockfile in version control, and doing something like
|
I'm really sorry about the trouble @ctcjab. Is this something you'd be willing to contribute a workaround or fix for? |
I'm not sure. Open to it, but some complicating factors I can think of:
My manager is generally supportive of my making strategic contributions to the OSS we depend on. Just have to make a sound business case for it first. |
Honestly, this codebase is despite my best efforts still fairly legacy. Also I don't know if there's an elegant fix. Unfortunately for some reason it seems like conda/micromamba disregard the extensions in the repodata cache. (To see what I mean, see mamba-org/mamba#3480 and the partial output of {
"base_url": "https://conda.anaconda.org/conda-forge",
"build_number": 0,
"build_string": "ha6fb4c9_0",
"channel": "conda-forge",
"dist_name": "zstd-1.5.6-ha6fb4c9_0",
"name": "zstd",
"platform": "linux-64",
"version": "1.5.6"
} The status of the next major release is summarized in #725. Once that's published, I'm happy to cut semver-patch releases for individual PRs like the one we're talking about. I hope that helps. I wish it were easier. |
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.The text was updated successfully, but these errors were encountered: