@lru_cache(maxsize=<NUM_LIT:10>)<EOL><INDENT>def get_package_versions(self, package_name: str) -> list:<DEDENT>
if not self.warehouse:<EOL><INDENT>return self._simple_repository_list_versions(package_name)<EOL><DEDENT>package_info = self._warehouse_get_api_package_info(package_name)<EOL>return list(package_info["<STR_LIT>"].keys())<EOL>
Get listing of versions available for the given package.