()
This function looks for the ``patchelf`` external binary in the PATH,
    checks for the required version, and throws an exception if a proper
    version can't be found. Otherwise, silcence is golden
This function looks for the ``patchelf`` external binary in the PATH,
    checks for the required version, and throws an exception if a proper
    version can't be found. Otherwise, silcence is golden
This function looks for the patchelf external binary in the PATH checks for the required version and throws an exception if a proper version can t be found . Otherwise silcence is golden
def _verify_patchelf() -> None:
    """This function looks for the ``patchelf`` external binary in the PATH,
    checks for the required version, and throws an exception if a proper
    version can't be found. Otherwise, silcence is golden
    """
    if not find_executable("patchelf"):
        raise ValueError("Cannot find required utility `patchelf` in PATH")
    try:
        version = check_output(["patchelf", "--version"]).decode("utf-8")
    except CalledProcessError:
        raise ValueError("Could not call `patchelf` binary")

    m = re.match(r"patchelf\s+(\d+(.\d+)?)", version)
    if m and tuple(int(x) for x in m.group(1).split(".")) >= (0, 9):
        return
    raise ValueError(
        ("patchelf %s found. auditwheel repair requires " "patchelf >= 0.9.") % version
    )
def _verify_patchelf ( ) -> None : if not find_executable ( "patchelf" ) : raise ValueError ( "Cannot find required utility `patchelf` in PATH" ) try : version = check_output ( [ "patchelf" , "--version" ] ) . decode ( "utf-8" ) except CalledProcessError : raise ValueError ( "Could not call `patchelf` binary" ) m = re . match ( r"patchelf\s+(\d+(.\d+)?)" , version ) if m and tuple ( int ( x ) for x in m . group ( 1 ) . split ( "." ) ) >= ( 0 , 9 ) : return raise ValueError ( ( "patchelf %s found. auditwheel repair requires " "patchelf >= 0.9." ) % version )