Skip to content

solver/asp.py: evaluate hashes in requirements#51065

Merged
tgamblin merged 1 commit intodevelopfrom
bugfix/require-respect-hashes
Jul 30, 2025
Merged

solver/asp.py: evaluate hashes in requirements#51065
tgamblin merged 1 commit intodevelopfrom
bugfix/require-respect-hashes

Conversation

@becker33
Copy link
Copy Markdown
Member

Currently, Spack does not respect requirements specifying a hash.

This PR fixes it by evaluating the hash before constructing the requirement condition in solver/asp.py

Includes regression test.

@becker33 becker33 added the v1.0.1 PRs to backport for v1.0.1 label Jul 29, 2025
@tgamblin tgamblin merged commit 3097622 into develop Jul 30, 2025
32 checks passed
@tgamblin tgamblin deleted the bugfix/require-respect-hashes branch July 30, 2025 05:07
haampie pushed a commit that referenced this pull request Jul 30, 2025
Currently, Spack does not respect requirements specifying a hash.

This PR fixes it by evaluating the hash before constructing the requirement condition in solver/asp.py

Includes regression test.

Signed-off-by: Gregory Becker <[email protected]>
Signed-off-by: Harmen Stoppels <[email protected]>
@becker33 becker33 mentioned this pull request Jul 30, 2025
29 tasks
alecbcs pushed a commit that referenced this pull request Aug 12, 2025
Currently, Spack does not respect requirements specifying a hash.

This PR fixes it by evaluating the hash before constructing the requirement condition in solver/asp.py

Includes regression test.

Signed-off-by: Gregory Becker <[email protected]>
Signed-off-by: Harmen Stoppels <[email protected]>
alstar555 pushed a commit to alstar555/spack that referenced this pull request Aug 27, 2025
Currently, Spack does not respect requirements specifying a hash.

This PR fixes it by evaluating the hash before constructing the requirement condition in solver/asp.py

Includes regression test.

Signed-off-by: Gregory Becker <[email protected]>
Signed-off-by: Angelica Loshak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.0.1 PRs to backport for v1.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants