Given a spec (e.g. a yaml spec), how can one check for updates for any of the dependencies? Of course, this is complicated because some deps may have updates available but those may cause the env to not solve.
Is there a micromamba command that could tell you that pandas can be updated? North star is probably to output a diff (this is not a proper diff, just for explanatory purposes):
I did explore some options. I saw the nifty micromamba env update recently added. I noticed that tends to respect the spec constraints. However, removing constraints, I was able to get it to roughly give the desired results:
However this approach seemingly requires an env to already exist. Even if we added e.g. a --ignore-pins option, it would still require activating an env (I think).
Howdy!
I was thinking about how to implement something like dependabot support for conda yamls. There are many open issues, e.g. https://github.com/dependabot/dependabot-core/issues/2227
Given a spec (e.g. a yaml spec), how can one check for updates for any of the dependencies? Of course, this is complicated because some deps may have updates available but those may cause the env to not solve.
Here is an example. Consider this yaml spec file:
Is there a micromamba command that could tell you that pandas can be updated? North star is probably to output a diff (this is not a proper diff, just for explanatory purposes):
I was curious if:
I did explore some options. I saw the nifty
micromamba env update
recently added. I noticed that tends to respect the spec constraints. However, removing constraints, I was able to get it to roughly give the desired results:However this approach seemingly requires an env to already exist. Even if we added e.g. a
--ignore-pins
option, it would still require activating an env (I think).I also tried a different approach:
I thought this might do it, but looks like it still respected the pin of pandas. I'm not sure what
--no-pin
does.Any insight appreciated!