diff --git a/conda_libmamba_solver/solver.py b/conda_libmamba_solver/solver.py index 82c3e0c7..2ec62eb1 100644 --- a/conda_libmamba_solver/solver.py +++ b/conda_libmamba_solver/solver.py @@ -947,7 +947,7 @@ def _check_spec_compat(self, match_spec: Union[MatchSpec, None]) -> Union[MatchS if match_spec is None: return None supported = "name", "version", "build", "channel", "subdir" - droppable = ("url",) + droppable = ("url", "md5", "sha256") unsupported_but_set = [] to_drop = set() to_keep = {} diff --git a/news/421-matchspec-validation b/news/421-matchspec-validation index 802eb0f8..9b313b0c 100644 --- a/news/421-matchspec-validation +++ b/news/421-matchspec-validation @@ -4,7 +4,7 @@ ### Bug fixes -* Do not raise error if an unsupported `MatchSpec` field can be safely dropped instead. (#418 via #421) +* Do not raise an error if an unsupported `MatchSpec` field can be safely dropped instead. Currently ignoring `url`, `md5` and `sha256`. (#418 via #421, #427 via #429). ### Deprecations