def METHOD_NAME(raw_overrides):
    environment = Environment()
    overrides = {}
    for override in raw_overrides:
        if '=' not in override:
            logger.error(
                "settings overrides: invalid format: '%s'", override)
            continue
        name, value = override.split('=', 1)
        value = environment.compile_expression(value)()
        overrides[name] = value
    return overrides