output ERROR: run_model.dvc cannot be a dependency
Note that the dependency to entropy_filter.dvc stage (entropy_config.json) is produced by run_model.dvc.
I then attempted to rerun the base command to regenerate run_model.dvc only to get the exact same error, that run_model.dvc cannot be a dependency. I then attempted to remove run_model.dvc and run the command again only to be given the same error. Finally I attempted a dvc gc which again gave the same error…
Only way to fix was to downgrade back to 59.2. Any suggestions on how I can change my pipeline to work with 0.60.0?
It seems like you have some dvcfile in your project that uses run_model.dvc as a direct dependency. Could you run grep run_model.dvc -R ./ | grep "path:" in the root of your project and show us the output?
NOTE: we do need to improve that error message so it says which stage it belongs to.
@jwelch i think there is a misunderstanding. I was asking to run this specific command from your project’s root
grep run_model.dvc -R ./ | grep "path:"
it will go through your project looking for run_model.dvc being specified as a dependency or an output in any other dvcfiles. Please run it an share the output.
@kupruser Ah my bad I did indeed misunderstand. Indeed you were correct that there was an old dvc file that had a dependency on another dvc file. I thought I had removed all such references but apparently missed one. Thanks again!