elegant-beach-10818
06/06/2023, 10:07 PMfrom metaflow import FlowSpec, step, conda_base
libraries = {
"numpy": "1.24.3",
}
@conda_base(libraries=libraries, python="3.10.9")
class HelloConda(FlowSpec):
@step
def start(self):
import numpy
print(numpy.__version__)
self.next(self.end)
@step
def end(self):
print("HelloConda is all done.")
if __name__ == "__main__":
HelloConda()
⢠Run with python helloconda.py --environment=conda run successfully
⢠Run conda env list and delete the recently created conda environment with conda env remove -n <env_name>
⢠The error Step: start, Error: CondaValueError: cannot mix specifications with conda package filenames will now be thrown
This is while using S3 as a datastore. Any thoughts?square-wire-39606
06/07/2023, 5:21 AMelegant-beach-10818
06/07/2023, 12:23 PMsquare-wire-39606
06/07/2023, 1:53 PM@conda is supposed to account for this scenario - it could be regression with the return codes in the conda binary that our implementation should account for.elegant-beach-10818
06/07/2023, 3:41 PMelegant-beach-10818
06/07/2023, 3:53 PMmamba 1.1.0
conda 22.9.0elegant-beach-10818
06/09/2023, 7:45 PM$ mamba --version
mamba 1.4.1
conda 23.1.0
There's nothing holding us back from upgrading so our needs for this one are resolved