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.0 #241

Closed
wants to merge 3 commits into from
Closed

Support AiiDA 2.0 #241

wants to merge 3 commits into from

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Feb 24, 2022

No description provided.

@ltalirz ltalirz mentioned this pull request Feb 24, 2022
8 tasks
@csadorf csadorf changed the title updates for aiida 2.0 Support AiiDA 2.0 Jun 20, 2022
@csadorf csadorf linked an issue Jun 20, 2022 that may be closed by this pull request
8 tasks
@csadorf
Copy link
Member

csadorf commented Jun 20, 2022

@ltalirz What is the current status on this? Are there any blockers? What can we do to help move this forward?

@ltalirz
Copy link
Member Author

ltalirz commented Jun 20, 2022

if all the prerequisites from #240 are checked, then please update this PR and go ahead with merging

@@ -1,4 +1,5 @@
FROM aiidateam/aiida-core:1.6.5-bionic
# develop from feb 24th 2022
FROM aiidateam/aiida-core@sha256:3b17bdcbb9f320aa4fe9afe8ff2248bfc07181e2ae9ac44790cf4c116a495f0b
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
FROM aiidateam/aiida-core@sha256:3b17bdcbb9f320aa4fe9afe8ff2248bfc07181e2ae9ac44790cf4c116a495f0b
FROM aiidateam/aiida-core:2.0.1

Comment on lines +1 to +2
#aiidalab==21.11.1
git+https://github.com/ltalirz/aiidalab@41c362318b01aff27162fe4a9610962a01ed2a5e#egg=aiidalab
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#aiidalab==21.11.1
git+https://github.com/ltalirz/aiidalab@41c362318b01aff27162fe4a9610962a01ed2a5e#egg=aiidalab
aiidalab==22.6.0

Comment on lines +3 to +4
#aiidalab-widgets-base==1.1.1
git+https://github.com/aiidalab/aiidalab-widgets-base@e44c9434e97775c9d997bdd94134c6214e20a935#egg=aiidalab-widgets-base
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#aiidalab-widgets-base==1.1.1
git+https://github.com/aiidalab/aiidalab-widgets-base@e44c9434e97775c9d997bdd94134c6214e20a935#egg=aiidalab-widgets-base
aiidalab-widgets-base==1.3.3

@csadorf
Copy link
Member

csadorf commented Jun 20, 2022

The tests are failing, because the init script tries to run reentry scan which is no longer required for AiiDA 2.0. There might be other issues that need to be addressed. I can try to take care of that however it will have to wait until later this week.

@yakutovicha @ltalirz Would one of you be available to look into addressing the test failures? Some of those might need to be addressed in upstream packages aiidateam/aiida-core and/or aiidateam/aiida-prerequisites.

@ltalirz
Copy link
Member Author

ltalirz commented Jun 20, 2022

Not sure but could this be an issue of the build cache on github actions?

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-

aiida-core no longer contains "reentry scan" anywhere https://github.com/aiidateam/aiida-core/search?q=%22reentry+scan%22

@ltalirz
Copy link
Member Author

ltalirz commented Jun 20, 2022

@ltalirz
Copy link
Member Author

ltalirz commented Jun 20, 2022

I don't get it though since we are explicitly requesting a recent aiida-core image version.
And the code was already gone in v2.0.1 https://github.com/aiidateam/aiida-core/blob/v2.0.1/.docker/opt/configure-aiida.sh

Perhaps a wrong image was pushed to aiida-core:2.0.1?

@ltalirz
Copy link
Member Author

ltalirz commented Jun 20, 2022

Nope

$ docker run -it  aiidateam/aiida-core:2.0.1 bash
root@21b8efe86b3c:/# grep reentry /opt/configure-aiida.sh
root@21b8efe86b3c:/#

Cache then maybe? I don't have a great idea... @yakutovicha can you give a look?

@csadorf
Copy link
Member

csadorf commented Jun 20, 2022

It's probably because the aiidalab package runs reentry scan during the app (dependency) installation. @yakutovicha Can you create an aiida-2.0 branch for the aiidalab package that requires aiida-core 2.x and where this is removed?

@yakutovicha
Copy link
Member

I will have a look, thanks for the information.

@csadorf
Copy link
Member

csadorf commented Jun 21, 2022

I will have a look, thanks for the information.

Great, thank you. We can keep track of it here: aiidalab/aiidalab#287

@csadorf
Copy link
Member

csadorf commented Jul 27, 2022

Likely superseded by #254 .

@ltalirz
Copy link
Member Author

ltalirz commented Aug 19, 2022

closing in favor of #254 (comment)

@ltalirz ltalirz closed this Aug 19, 2022
@csadorf csadorf deleted the aiida-2 branch September 9, 2022 11:35
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.

Support AiiDA core 2.0
3 participants