Skip to content

spack env activate does not traverse run dependencies for environment modifications #23368

@vchuravy

Description

@vchuravy

Moving this from #gripes on Slack.

Mine @SteVwonder question was:

Why does spack env activate not run setup_run_environment for dependencies of packages listed in an env yaml? Due to this behavior spack load flux-sched behaves differently from spack env activate . with a yaml file containing flux-sched as the only package.

@tgamblin answer was:

_env_modifications_for_default_view doesn’t currently traverse run deps, but it really should

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageThe issue needs to be prioritized

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions