def METHOD_NAME(self) -> None:
    tty.msg(
        "[BOOTSTRAPPING] Spack has missing dependencies, creating a bootstrapping environment"
    )
    env = spack.tengine.make_environment()
    template = env.get_template("bootstrap/spack.yaml")
    context = {
        "python_spec": spec_for_current_python(),
        "python_prefix": sys.exec_prefix,
        "architecture": archspec.cpu.host().family,
        "environment_path": self.environment_root(),
        "environment_specs": self.spack_dev_requirements(),
        "store_path": store_path(),
    }
    self.environment_root().mkdir(parents=True, exist_ok=True)
    self.spack_yaml().write_text(template.render(context), encoding="utf-8")