docs: def clean_pip_env() -> Generator[None, None, None]:
      """A context manager for temporarily removing 'PIP_REQUIRE_VIRTUALENV' from the environment.
  
      Since shiv installs via `--target`, we need to ignore venv requirements if they exist.
  
      """
      require_venv = os.environ.pop(PIP_REQUIRE_VIRTUALENV, None)
  
      try:
          yield
  
      finally:
          if require_venv is not None:
              os.environ[PIP_REQUIRE_VIRTUALENV] = require_venv