diff --git a/conda_rattler_solver/solver.py b/conda_rattler_solver/solver.py index 94cdcad..7d9f6f2 100644 --- a/conda_rattler_solver/solver.py +++ b/conda_rattler_solver/solver.py @@ -657,6 +657,13 @@ def _maybe_raise_for_problems( unsatisfiable[spec.name] = spec else: not_found[spec.name] = spec + + # Raise the exception for conda-build if needed + self._maybe_raise_for_conda_build( + {**unsatisfiable, **not_found}, + message=problems, + ) + if not unsatisfiable and not_found: log.debug( "Inferred PackagesNotFoundError %s from conflicts:\n%s",