helpful-honey-48997
03/20/2024, 2:30 PM@pypi decorator on a step while also having the netflix_ext installed... I'm getting this error when running:
(metaflow) ruben@ruben-A6:~/work/test-metaflow$ python test_flows/sfgpflow_local.py run
Metaflow 2.11.5.post2+gitfbe4aa1 executing SFGPFlow for user:ruben
Validating your flow...
The graph looks good!
Running pylint...
Pylint not found, so extra checks are disabled.
Incompatible environment:
The @pypi decorator requires --environment=conda
I ended up getting super confused because I was trying to add log statements to the pypi_decorator.py in the core metaflow repo, but then I found out that the error is actually originating from here: https://github.com/Netflix/metaflow-nflx-extensions/blob/main/metaflow_extensions/netflix_ext/plugins/conda/conda_step_decorator.py#L67
Any thoughts about how I can go about debugging this?helpful-honey-48997
03/20/2024, 2:39 PM--environment=conda because of this error:
(metaflow) ruben@ruben-A6:~/work/test-metaflow$ python test_flows/sfgpflow_local.py --environment=conda run
Metaflow 2.11.5.post2+gitfbe4aa1 executing SFGPFlow for user:ruben
Validating your flow...
The graph looks good!
Running pylint...
Pylint not found, so extra checks are disabled.
Bootstrapping Conda environment... (this could take a few minutes)
Resolving 3 environments ...Environment at '/home/ruben/miniforge3/envs/metaflow_builder_3533666f3385b36f0424ee6844b766191c3233c9_1226250b7b43a9ad83820c579b8412e406ff3b86' already created and valid
Conda ran into an error while setting up environment.:
Cannot create a relocatable environment as it depends on local files or non wheels and no storage backend is defined: <https://files.pythonhosted.org/packages/30/dc/d9748ec2b61b6a1fcbaff3891961297c83cfa34c9f9984761fb6f6ae65d0/rpy2-3.5.14.tar.gz>dry-beach-38304
03/20/2024, 4:03 PMdry-beach-38304
03/20/2024, 4:04 PMdry-beach-38304
03/20/2024, 4:05 PMhelpful-honey-48997
03/20/2024, 4:19 PM@pypi(
python="3.9.18",
packages={
"numpy": "1.26.2",
"pandas": "1.5.3",
"rpy2": "3.5.14",
"cmdstanpy": "1.2.0",
"rpy2-arrow": "0.0.8",
"requests": "2.31.0",
"dataclasses-json": "0.5.9",
"nbdev": "2.3.13",
},
)
Just to confirm about the storage backend, I need to follow the steps here for this for the case of using AWS? https://outerbounds.com/engineering/operations/configure-metaflow/ Just want to make sure I'm following the right instructions!helpful-honey-48997
03/20/2024, 5:45 PMdry-beach-38304
03/20/2024, 7:31 PMhelpful-honey-48997
03/21/2024, 8:15 AMdry-beach-38304
03/21/2024, 8:27 AMhelpful-honey-48997
03/21/2024, 12:44 PM