class Dependabot::Uv::FileUpdater::CompileFileUpdater

def run_command(cmd, env: python_env, allow_unsafe_shell_command: false, fingerprint:)

def run_command(cmd, env: python_env, allow_unsafe_shell_command: false, fingerprint:)
  SharedHelpers.run_shell_command(
    cmd,
    env: env,
    allow_unsafe_shell_command: allow_unsafe_shell_command,
    fingerprint: fingerprint,
    stderr_to_stdout: true
  )
rescue SharedHelpers::HelperSubprocessFailed => e
  stdout = e.message
  if stdout.match?(INCOMPATIBLE_VERSIONS_REGEX)
    raise DependencyFileNotResolvable, stdout.match(INCOMPATIBLE_VERSIONS_REGEX)
  end
  raise
end