Skip to content

[Suggestion] Add option to execute Python Functions in separate conda environments #119

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

Open
jan-janssen opened this issue May 28, 2025 · 1 comment

Comments

@jan-janssen
Copy link
Member

We already have the technical capabilities in https://github.com/pyiron/conda_subprocess which is integrated in pyiron. If the other frameworks would also support executing Python functions in separate conda environments, then we could add a corresponding parameter in the node definition. Alternatively, for the workflow frameworks which do not provide the option to execute Python functions in a separate conda environment we could dynamically wrap the Python functions to add this functionality, but it might interfere with the decorator of the specific workflow framework.

@JaGeo
Copy link
Contributor

JaGeo commented May 29, 2025

@jan-janssen I have been discussing this question here with @gpetretto: Matgenix/jobflow-remote#303
To me, this is again looks like something jobflow would solve at the executing step and not the definition step of the workflow, i.e., we would assign conda environments in jobflow-remote after we have defined the workflow in jobflow.

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

2 participants