hunk.code_window:     "excludes": parse_and_validate_excludes,
       "conda": parse_and_validate_conda,
       "pip": parse_and_validate_pip,
       "env_vars": parse_and_validate_env_vars,
       "container": parse_and_validate_container,
   }
hunk.labels: keep keep keep keep add keep
hunk.after_edit:     "eager_install": parse_and_validate_eager_install,
  
hunk.file_path: python/ray/_private/runtime_env/validation.py
hunk.type: add
file: import sys
  import logging
  
  logger = logging.getLogger(__name__)
  
  TuneSearchCV = None
  TuneGridSearchCV = None
  
  try:
      from tune_sklearn import TuneSearchCV, TuneGridSearchCV
  except ImportError as exc:
      # Changed in 1.5.0 -- Raises an exception instead of returning None.
      tb = sys.exc_info()[2]
      msg = (
          "Tune's Scikit-Learn bindings (tune-sklearn) is not installed. "
          "Please run `pip install tune-sklearn`."
      )
      raise type(exc)().with_traceback(tb) from None
  __all__ = ["TuneSearchCV", "TuneGridSearchCV"]
  