Revert "Allow any semver-compatible versions with dependencies."

This reverts commit a16a626b1e1b4bfb4c486ed75f3cc5b230a6663a.