class Dependabot::Uv::UpdateChecker::PipCompileVersionResolver

def pip_compile_options(filename)

def pip_compile_options(filename)
  options = @build_isolation ? ["--build-isolation"] : ["--no-build-isolation"]
  options += pip_compile_index_options
  # TODO: Stop explicitly specifying `allow-unsafe` once it becomes the default:
  # https://github.com/jazzband/pip-tools/issues/989#issuecomment-1661254701
  options += ["--allow-unsafe"]
  if (requirements_file = compiled_file_for_filename(filename))
    options << "--output-file=#{requirements_file.name}"
    options += uv_pip_compile_options_from_compiled_file(requirements_file)
  end
  options.join(" ")
end