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

Spine Toolbox as an environment manager #1499

Open
4 tasks
PekkaSavolainen opened this issue Sep 14, 2021 · 2 comments
Open
4 tasks

Spine Toolbox as an environment manager #1499

PekkaSavolainen opened this issue Sep 14, 2021 · 2 comments
Assignees
Milestone

Comments

@PekkaSavolainen
Copy link
Member

Python Tool specs now may require a kernel spec or a conda kernel spec for execution. Sharing environment(s) as part of the project for Python/Julia Tool specifications is not possible at the moment. The required environment(s) need to be saved as part of the project. When a project is loaded, there needs to be a framework for checking if user already has an environment that matches the required environment. If environment(s) do not exist, Spine Toolbox could at first instruct the user to create an environment that is compatible with a Python Tool spec. Later, Spine Toolbox could install the environments if user so chooses.

Tasks:

  • Save Python environment(s) to Spine Toolbox project (requirements.txt or environment.yml for conda)
  • Save Julia environment(s) (Julia project files) to Spine Toolbox project
  • Build a framework for matching the requested environment to existing environments
  • When loading a project, Toolbox needs to instruct the user to install requested environment(s)
@jkiviluo
Copy link
Member

Pekka, is this done?

@PekkaSavolainen
Copy link
Member Author

No but part of this will be implemented in #2554. I'm not sure if the 'automatic environment matching' framework is feasible. Maybe a bit too ambitious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants