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

Support aiida 2.5 #84

Merged
merged 2 commits into from
Nov 30, 2024
Merged

Support aiida 2.5 #84

merged 2 commits into from
Nov 30, 2024

Conversation

danielhollas
Copy link
Collaborator

@danielhollas danielhollas commented Nov 29, 2024

We saw a failing mock_code test since aiida 2.3.0 (see #75)
This was caused by just a whitespace change in the AiiDA
submission script (controlled by the direct Scheduler plugin).

Concretely, there was an extra space at the end of the last
line of the script (the executable line) before 2.3.
As a short term solution to preserve the existing hashes,
we append a space if the script doesn't end with one.

This change is purely for backwards compatibility and should be
reverted right after 0.0.1 release.

As a longer term solution we should make this less brittle, perhaps by removing all white space in the submission script. But even that still makes us dependent on the core.direct scheduler implementation. I'll open a separate issue to track that.

Closes #75

We saw a failing mock_code test since aiida 2.3.0
This was caused by just a whitespace change in the AiiDA
submission script (controlled by the direct Scheduler plugin).

Concretely, there was an extra space at the end of the last
line of the script (the executable line) before 2.3.
As a short term solution to preserve the existing hashes,
we append a space if the script doesn't end with one.

This change is purely for backwards compatibility and should be
reverted right after 0.0.1 release.
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

well done figuring this one out

@danielhollas danielhollas merged commit 7caebdb into main Nov 30, 2024
8 checks passed
@danielhollas danielhollas deleted the support-aiida-2.5 branch November 30, 2024 15:40
@danielhollas danielhollas mentioned this pull request Dec 4, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aiida-core v2.3 broke test_broken_code
2 participants