Closed benmoss closed 2 months ago
Wow, nice catch! :grin:
Here is the offending block of code:
which hasn't been touched since its original inclusion 2½ years ago here.
Why is it like this? Because back then Micromamba was on v0.17.0 and contained a bug where if you run micromamba list --json
it would incorrectly append the platform to base_url
.
The bug was fixed here and released in Micromamba v0.22.0, triggering the bug you just discovered.
It's a pretty weird that nobody has reported this in the past two years, but better late than never.
This should be pretty straightforward to fix...
Probably just that the constellation of factors required to hit this bug is narrow enough that nobody hit it before! Thanks for the quick fix!
Checklist
What happened?
Given these environment.yml and conda-lock.yml files, running
conda-lock lock --platform linux-64 --update bokeh --micromamba
results in conda-lock updating the URL for every package other thanbokeh
to no longer have/noarch
or/linux-64
in their URLs. Here's the diff of conda-lock.yml on my machine.The same bug doesn't happen without
--update
or without--micromamba
.Conda Info
Conda list
Additional Context
No response