spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
69 stars 17 forks source link

Spine Toolbox as an environment manager #1499

Open ptsavol opened 2 years ago

ptsavol commented 2 years ago

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:

jkiviluo commented 3 months ago

Pekka, is this done?

ptsavol commented 3 months ago

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.