def assert_source_matches_version(self):
        assert self.source_dir
        version = self.pkg_info()['version']
        if self.req not in version:
            logger.warning(
                'Requested %s, but installing version %s',
                self,
                self.installed_version,
            )
        else:
            logger.debug(
                'Source in %s has version %s, which satisfies requirement %s',
                display_path(self.source_dir),
                version,
                self,
            )
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/site-packages/pip/req/req_install.py/InstallRequirement.assert_source_matches_version/swapped operands of `not in`