-
Notifications
You must be signed in to change notification settings - Fork 11
Updates inheritance: from BashCliScheduler instead of Scheduler
#43
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
Conversation
ec52678 to
d601194
Compare
superstar54
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @khsrali , thanks for the fix! See my comment below.
pyproject.toml
Outdated
|
|
||
| dependencies = [ | ||
| "aiida-core~=2.0", | ||
| "aiida-core>=2.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better add upper bound.
| "aiida-core>=2.7", | |
| "aiida-core>=2.7, <3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't aiida-core~=2.7 also do the trick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aiida-core~=2.7 will not upgrade aiida-core if the users already have aiida-core 2.6 in the environment. Thus, they need to upgrade aiida-core manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? The following should be equivalent according to the documentation:
~= 2.2
>= 2.2, == 2.*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right! I tested it locally, and it indeed upgraded aiida-core to 2.7.1, and yes, the doc shows very clearly that ~= 2.2 is equivalent to >= 2.2, == 2.*.
|
Thanks @superstar54 review applied, please approve |
superstar54
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
aiidalab/aiidalab-qe#1316
RTD is failing, which is independent of this PR