conda-lock
conda-lock copied to clipboard
Confusing warning "filtered out line ... due to unmatchable selector"
Checklist
- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate
What happened?
When using an environment.yml file containing dependency lines like
- delocate # [osx]
I get warnings:
WARNING:conda_lock.src_parser.selectors:filtered out line ` - delocate # [osx]` due to unmatchable selector
It looks like this happens every time the solver runs for a platform that is not matched by the selector. This is also what I understand from the code.
However, I think a warning is not appropriate here since it's expected behavior. It first gave me the impression that my lock file was somehow malformed.