def METHOD_NAME():
    global _jinja2, _loaded_pkg_resources  # singleton package using a cache, pylint: disable=global-statement
    # Import dependencies, sadly we get to manage this ourselves.
    importFromInlineCopy("markupsafe", must_exist=True)
    # Newer Jinja2 may not use it, but we load it and remove it, so it
    # does not interfere with anything else.
    if "pkg_resources" not in sys.modules:
        _loaded_pkg_resources = importFromInlineCopy("pkg_resources", must_exist=False)
    _jinja2 = importFromInlineCopy("jinja2", must_exist=True)
    # Unload if it was us loading it, as the inline copy is incomplete.
    if _loaded_pkg_resources is not None:
        del sys.modules["pkg_resources"]
    return _jinja2