code: def strip_marker(req):
      """
      Return a new requirement without the environment marker to avoid
      calling pip with something like `babel; extra == "i18n"`, which
      would always be ignored.
      """
      import pkg_resources  # Delay import to avoid unnecessary side-effects
  
      # create a copy to avoid mutating the input
      req = pkg_resources.Requirement.parse(str(req))
      req.marker = None
      return req
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/installer.py
imports: import glob
  import os
  import subprocess
  import sys
  import tempfile
  from distutils import log
  from distutils.errors import DistutilsError
  from functools import partial
  from .None import _reqs
  from .wheel import Wheel
  from .warnings import SetuptoolsDeprecationWarning
label_desc: Use image node_id 5 for calling a global function with example usage: strip_marker(req) and returns: req