def METHOD_NAME(
    self, name: NormalizedName, constraint: VersionConstraint
) -> list[Package]:
    """
    Find packages on the remote server.
    """
    try:
        json_page = self.get_page(name)
    except PackageNotFound:
        self._log(f"No packages found for {name}", level="debug")
        return []
    versions = [
        (version, json_page.yanked(name, version))
        for version in json_page.versions(name)
        if constraint.allows(version)
    ]
    return [Package(name, version, yanked=yanked) for version, yanked in versions]