-
Notifications
You must be signed in to change notification settings - Fork 14
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
Adding in the base
Dockerfile the installation of hdf5 library and pkg-config
#468
Conversation
then install h5py via pip without issues. The installation of pkg-config is required, it was not sufficient to just install the hdf5 and then define the HDF5_DIR environment variable.
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 @mikibonacci looks good. @unkcpz please take a look as well.
I did discuss with @mikibonacci in person last Friday. I totally agree this is a better solution to add the more generic packages. Just take a look at the failed build on arm64. It is a bit weird to find in the logs around the
Also worth to notice quite a lot conda packages are forced to updated, is this all expected? @danielhollas |
The build timed-out after two hours. I restarted it now and it went fine so I think this was just Github Actions being slow again, I needed to restart the build on another PR today as well.
I think this is because we specify the aiida-core version both via
I am not sure but I am not too surprised since we're installing a relatively recent aiida-core version into an old jupyter-stack image. I am hoping that once we update the image to a more recent one with Python 3.10 (working on that in #455) there will be fewer packages that need upgrading. |
@mikibonacci I am planning to release a new version of the image that will include your change soon, hopefully this week. It would be great if you could pull |
@danielhollas, I will do it today (is it already pushed?) and let you know if something breaks |
Thanks! The |
yeah, I just saw it after my comment! I did a test for the aiidalab-qe-vibroscopy plugin and it was fine, so I think everything is then working properly for the |
These pkgs allow to then install h5py via pip without issues.
The installation of pkg-config is required, it was not sufficient to just install the hdf5 and then define the HDF5_DIR environment variable.