class Dependabot::Uv::UpdateChecker
def library?
def library? return false unless updating_pyproject? return false if library_details["name"].nil? # Hit PyPi and check whether there are details for a library with a # matching name and description index_response = Dependabot::RegistryClient.get( url: "https://pypi.org/pypi/#{normalised_name(library_details['name'])}/json/" ) return false unless index_response.status == 200 pypi_info = JSON.parse(index_response.body)["info"] || {} pypi_info["summary"] == library_details["description"] rescue Excon::Error::Timeout, Excon::Error::Socket false rescue URI::InvalidURIError false end