Skip to content

Allow requirements for virtual packages#32369

Merged
scheibelp merged 4 commits intospack:developfrom
alalazo:features/extend_requirements_to_virtual
Aug 26, 2022
Merged

Allow requirements for virtual packages#32369
scheibelp merged 4 commits intospack:developfrom
alalazo:features/extend_requirements_to_virtual

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Aug 25, 2022

Extend the semantic of package requirements to allow using them also under a virtual package attribute in packages.yaml. These requirements are enforced whenever that virtual spec is present in the DAG.

Modifications:

  • Extend the semantic of requirements to virtual specs
  • Add unit tests to verify behavior
  • Add documentation

@spackbot-app spackbot-app bot added core PR affects Spack core functionality documentation Improvements or additions to documentation tests General test capability(ies) labels Aug 25, 2022
Extend the semantic of package requirements to
allow using them also under a virtual package
attribute in packages.yaml

These requirements are enforced whenever that
virtual spec is present in the DAG.
@alalazo alalazo force-pushed the features/extend_requirements_to_virtual branch from 91071a0 to 8ef145e Compare August 25, 2022 10:15
Copy link
Copy Markdown
Member

@scheibelp scheibelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few questions and a couple of minor comments about docs/renaming.

@alalazo alalazo requested a review from scheibelp August 26, 2022 09:01
@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Aug 26, 2022

@scheibelp Ready for a second review

@scheibelp scheibelp merged commit 51244ab into spack:develop Aug 26, 2022
@scheibelp
Copy link
Copy Markdown
Member

Thanks!

@alalazo alalazo deleted the features/extend_requirements_to_virtual branch August 26, 2022 20:19
ma595 pushed a commit to ma595/spack that referenced this pull request Sep 13, 2022
Extend the semantics of package requirements to
allow using them also under a virtual package
attribute in packages.yaml

These requirements are enforced whenever that
virtual spec is present in the DAG.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core PR affects Spack core functionality documentation Improvements or additions to documentation tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants