Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug when a required provider is requested for multiple virtuals #42088

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented Jan 15, 2024

fixes #42084

When a package is required as a provider for multiple virtuals, it could happen that some of these requirements are not honored. The cause is a too "coarse" formulation of the requirement on the ASP side, which doesn't connect the required virtual and the required package to the same provider/2 fact.

The bug has been fixed in this PR.

@spackbot-app spackbot-app bot added core PR affects Spack core functionality dependencies new-version tests General test capability(ies) labels Jan 15, 2024
Copy link
Member

@haampie haampie left a comment

Choose a reason for hiding this comment

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

Needs backport

@haampie haampie added this to the v0.21.2 milestone Jan 16, 2024
@haampie haampie merged commit f0c69ff into spack:develop Jan 16, 2024
32 checks passed
@alalazo alalazo deleted the bugfix/multiple-virtuals branch January 16, 2024 10:53
@alalazo alalazo mentioned this pull request Jan 16, 2024
13 tasks
@alalazo alalazo removed this from the v0.21.2 milestone Jan 16, 2024
albestro added a commit to eth-cscs/DLA-Future that referenced this pull request Jan 18, 2024
relevant PRs got merged in spack/develop
- spack/spack#42087
- spack/spack#42088
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 dependencies new-version tests General test capability(ies)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requirements ignored for a package providing multiple virtuals
2 participants