forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spec: Remove
_normal
attribute and unused constructor arguments (sp…
…ack#48119) The `_normal` attribute on specs is no longer used and has no meaning. It's left over from part of the original concretizer. The `concrete` constructor argument is also not used by any part of core. - [x] remove `_normal` attribute from `Spec` - [x] remove `concrete` argument from `Spec.__init__` - [x] remove unused `check_diamond_normalized_dag` function in tests - [x] simplify `Spec` constructor and docstrings I tried to add typing to `Spec` here, but it creates a huge number of type issues because *most* things on `Spec` are optional. We probably need separate `Spec` and `ConcreteSpec` classes before attempting that. Signed-off-by: Todd Gamblin <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters