We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6fbb5 commit f825677Copy full SHA for f825677
conda_libmamba_solver/solver2.py
@@ -346,7 +346,9 @@ def _solve_attempt(
346
def _solver_flags(self, in_state: SolverInputState) -> Request.Flags:
347
flags = Request.Flags()
348
flags.allow_downgrade = True
349
- flags.allow_uninstall = self.specs_to_remove and self._command in ("remove", None, NULL)
+ flags.allow_uninstall = bool(
350
+ self.specs_to_remove and self._command in ("remove", None, NULL)
351
+ )
352
flags.force_reinstall = in_state.force_reinstall
353
flags.keep_dependencies = True
354
flags.keep_user_specs = True
0 commit comments