def get_package_versions(package_name):
    """ Returns the list of versions of a given package
        :param package_name: name of the package
        :type package_name: str
    """
    package_manager = _get_package_manager()
    pkg = package_manager.get_package_version(package_name, None)
    return pkg.package_versions()
def get_package_versions ( package_name ) : package_manager = _get_package_manager ( ) pkg = package_manager . get_package_version ( package_name , None ) return pkg . package_versions ( )
Returns the list of versions of a given package
        :param package_name: name of the package
        :type package_name: str