constrain: handle conditional deps

Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
Gregory Becker 2025-04-28 16:06:47 -07:00
parent b4f938adf4
commit 893d56ac2c
No known key found for this signature in database
GPG Key ID: 2362541F6D14ED84

View File

@ -3193,6 +3193,7 @@ def _constrain_dependencies(self, other: "Spec") -> bool:
depflag=dep_spec_copy.depflag,
virtuals=dep_spec_copy.virtuals,
direct=dep_spec_copy.direct,
when=dep_spec_copy.when,
)
changed = True