Skip to content

Automate pip requirements #21

@chrisjsewell

Description

@chrisjsewell

Currently, they are specified directly in defaults/main.yml per plugin, split into requirements that should be installed in the aiida or jupyter virtual environment.

Although the aiida requirements are specified in the actual app repositories, they are not trivial to resolve, because they use different files to specify these requirements, and not always specified directly (using functions instead)
See for example:

Instead, they should be read from https://aiidalab.materialscloud.org/appsdata/apps_meta.json
Note this also requires fixing aiidalab/aiidalab-home#51

For the jupyter environment, these requirements are not yet directly specified anywhere.
The closest is that the quantum-espresso app specifies: https://github.com/aiidalab/aiidalab-qe/blob/master/jupyter-config/nbconfig/notebook.d/aiidalab.json (this is how the current requirements were derived for both that and widget-base which shares the same structure viewer)

cc @csadorf

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions