def METHOD_NAME(self, pypi_package_data):
    try:
        releases = pypi_package_data.get('releases', [])
        version = parse('0')
        for release in releases:
            ver = parse(release)
            if not ver.is_prerelease:
                version = max(version, ver)
        return version
    except Exception as e:
        self.logger.debug(f"Failed to parse pypi package version : {e}")
        return None