Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion conda_libmamba_solver/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

from conda import plugins

try:
from conda.plugins import CondaSolver
except ImportError:
from conda.plugins.types import CondaSolver

from .repoquery import configure_parser, repoquery
from .solver import LibMambaSolver

Expand All @@ -16,7 +21,7 @@ def conda_solvers():
"""
The conda plugin hook implementation to load the solver into conda.
"""
yield plugins.CondaSolver(
yield CondaSolver(
name="libmamba",
backend=LibMambaSolver,
)
Expand Down
19 changes: 19 additions & 0 deletions news/691-conda-solver-type
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Import `CondaSolver` from its new location in `conda.plugins.types`. (#691)
Comment thread
jaimergp marked this conversation as resolved.
Outdated

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>
Loading