@staticmethod
    def _requirements_satisfied(pips_list, download_dir):
        downloaded_req = [pip_helper.get_archive_details(filename)["req"]
                          for filename in sh.listdir(download_dir, files_only=True)]
        downloaded_req = dict((req.key, req.specs[0][1]) for req in downloaded_req)
        for req_str in pips_list:
            req = pip_helper.extract_requirement(req_str)
            try:
                downloaded_version = downloaded_req[req.key]
            except __HOLE__:
                return False
            else:
                if downloaded_version not in req:
                    return False
        return True
dataset/ETHPy150Open openstack/anvil/anvil/packaging/base.py/DependencyHandler._requirements_satisfied