-
Notifications
You must be signed in to change notification settings - Fork 18
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
clean up dependencies requirements #395
Conversation
The test failed as expected, it rely on aiidalab/aiidalab-docker-stack#333 |
I wonder was there a specific reason for this constraint? |
I remember nothing about this package. One needs to test... |
btw, there is also #384. |
Thanks @yakutovicha, I was not aware of that issue. Couple days ago I also opened #392 which is related. |
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.
I think we should take this step by step.
The following packages are even in conflict and will override the deps which causes the Jupyter engine to fail, we need to pining version when we find future confliction.
jupyter-client<7
nbconvert<6
aiidalab>=21.11.2 is already pinned in the stack
@unkcpz could you open a new PR which would only fix the dependencies for the current Docker stack, listed above? aiida-core[atomic_tools]
is a separate discussion.
Sure, updated. I add |
for more information, see https://pre-commit.ci
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.
Thanks @unkcpz. I did a quick test locally and it looks good to me. Approving but we should wait until we release a new docker-stack version so that the tests are passing here.
The firefox tests are expected to fail and PR #397 is for it, there are two chrome tests that also fail but I think if there are two passes then the implementation is correct.. I'll merge this and if anything happened I'll fix it afterward. |
Sorry, I am late to the party.
I am not 100% sure this is a good thing to do. AiiDAlab could be setup outside of the stack, and AWB does require aiidalab package to function. |
You are right, and I find the doc build always lack the necessary packages if |
The principle of my cleaning process is the packages in the list do not conflict with each other and do not duplicate. For example, if the package is installed by aiida-core dep, it should not be specified again in the list.
As for the jupyter backend packages, there is no need to install then, since
aiida-core
> 2 will lead to installnumpy~=1.19
thereforenumpy~=1.23
is installed.The following packages are even in conflict and will override the deps which causes the Jupyter engine to fail, we need to pining version when we find future confliction.
jupyter-client<7
nbconvert<6
aiidalab>=21.11.2
is already pinned in the stack