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

aiidalab-flexpart not compatible with the latest AiiDAlab docker image #2

Open
danielhollas opened this issue Nov 19, 2024 · 0 comments

Comments

@danielhollas
Copy link

Hi! 👋

While me and @yakutovicha were testing a new release of AiiDAlab docker stack (https://github.com/aiidalab/aiidalab-docker-stack), I noticed that installing the aiidalab-flexpart app unfortunately breaks the container. Specifically, the installation fails, since the verdi daemon restart command fails, which is because the aiida-flexpart has a pin on a the psycopg2<2.9. This in turn causes a downgrade of psycopg2-binary for v2.9.9 to 2.8.6. And for some reason, this version breaks verdi. In order to restore the container functionality, one needs to manually uninstall the older version by running

pip uninstall psycopg2-binary

Sorry if the above was super confusing. tl;dr: You can still use the app, but you need to have an older image with older aiida-core version. I don't know what is the last version that works, you'll have to test is, e.g. by downloading the following image docker.io/aiidalab/full-stack/aiida-2.4.3.

You can find all the existing image tags here: https://hub.docker.com/r/aiidalab/full-stack/tags?name=aiida

Ultimately, the issue needs to be solved in aiida-flexpart by relaxing the psycopg2-binary pin.

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

No branches or pull requests

1 participant