From 5dce48015407d8a52f87357549e7c0e8149090a4 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Tue, 7 May 2024 21:49:06 -0700 Subject: [PATCH] Remove dead environment creation code (#44065) --- lib/spack/spack/environment/environment.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py index 562413c234..cd7221d425 100644 --- a/lib/spack/spack/environment/environment.py +++ b/lib/spack/spack/environment/environment.py @@ -383,14 +383,6 @@ def create_in_dir( return env - # Must be done after environment is initialized - if include_concrete: - manifest.set_include_concrete(include_concrete) - - if not keep_relative and init_file is not None and str(init_file).endswith(manifest_name): - init_file = pathlib.Path(init_file) - manifest.absolutify_dev_paths(init_file.parent) - def _rewrite_relative_dev_paths_on_relocation(env, init_file_dir): """When initializing the environment from a manifest file and we plan