def METHOD_NAME(self, finder: PackageFinder) -> None:
    # Install any extra build dependencies that the backend requests.
    # This must be done in a second pass, as the pyproject.toml
    # dependencies must be installed before we can call the backend.
    if (
        self.req.editable
        and self.req.permit_editable_wheels
        and self.req.supports_pyproject_editable()
    ):
        build_reqs = self._get_build_requires_editable()
    else:
        build_reqs = self._get_build_requires_wheel()
    conflicting, missing = self.req.build_env.check_requirements(build_reqs)
    if conflicting:
        self._raise_conflicts("the backend dependencies", conflicting)
    self.req.build_env.install_requirements(
        finder, missing, "normal", kind="backend dependencies"
    )