Typo: Exclamation sign instead of not()
Add code for constraining the kinds of candidate packages when resolving dependencies