-
Notifications
You must be signed in to change notification settings - Fork 359
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
QUERY: some confusion migrating to mamba2 #3567
Comments
In In
You can then check that the solution (
Regarding the channels, you can follow the example in this section to fully specify a I don't think that you need to set all parameters in |
thanks!
Right, but my question was more about the
Cool, that sounds like what I'm looking for. |
The
|
So IIUC, previously |
Here is some code from
asv
which usedMambaSolver
(vendored frommamba.api
), with representative values for some of the variables:Reading https://mamba.readthedocs.io/en/latest/usage/solver.html, I've got an idea of some changes to be made, like replacing
MambaSolver
withlibmambapy.solver.libsolv.Solver
, and creating adb = libmambapy.solver.libsolv.Database
and arequest = Request(...)
to pass to the solver. Questions:execute(libmambapy.PrefixData(...))
step come in now? Should that be part ofdb
orrequest
?['conda-forge', 'nodefaults']
to alibmambapy.specs.ChannelResolveParams
object? Do we need to specify URLs now?cc @Hind-M
the mamba1 code: https://github.com/airspeed-velocity/asv/blob/main/asv/plugins/mamba.py
The text was updated successfully, but these errors were encountered: