-
Notifications
You must be signed in to change notification settings - Fork 764
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
CondaEnvironment
decospecs ignores base environment
#654
Comments
Good catch. Feel free to propose a PR for this along the lines of what you suggest. I had changed some of the other functions to delegate more to the base environment (#502 and #493 for example) but missed that one. As for the |
Thanks @romain-intel, I've submitted a PR #660 with my suggestion above. From my end there's definitely an appetite to make
Other things I may try in future:
*Currently crudely defined as walking up from the flow directory until you find a |
Looking at some of the implementation details of Metaflow last week, I discovered the undocumented(?)
metaflow_custom
extension mechanism.I implemented a different default
MetaflowEnvironment
that adds the current project to the job package, and adds aStepDecorator
via.MetaflowEnvironment.decospecs
that installs this package.The problem comes when I want to add a conda environment on top of this default environment.
An instance of
CondaEnvironment
does not look atself.base_env.decospecs
and add those onto its own implementation...metaflow/metaflow/plugins/conda/conda_environment.py
Line 40 in 0d052e8
A change along the lines of the following allows the composition of
CondaEnvironment
and a custom base environment.The text was updated successfully, but these errors were encountered: