Open pcschreiber1 opened 6 months ago
Hi! Thanks for the extensive report and way of reproducing. I can reproduce this on my own system as well.
The DVC integration is in a dire need of updating, as this was written before dvc run
was deprecated for its 3.0.0 release. Weasel still uses this here.
If I downgrade dvc
to version 2.58.2 this error goes away, though I'm running into other issues. We'll have to spend some time looking into this properly.
Hi, I'm quite new to weasel and ran into this basic problem and haven't been able to figure out a way to solve it.
Expected Behaviour
With running
weasel dvc
I can automatically create and maintain advc.yml
from myproject.yml
.Current Behaviour
When running
weasel dvc
I get an error message that "run" is an invalid command choice and nodvc.yml
is created.Steps to reproduce
I ran into this issue with both the templates tagger_parser_ud and textcat_demo as well as the tutorial ner_fashion_brands.
Set-up new project
mkdir new_folder && cd new_folder
python -m venv .venv
source .venv/bin/activate
pip install weasel && pip install dvc
git init && dvc init
Download and set-up template
weasel clone pipelines/tagger_parser_ud
cd tagger_parser_ud
weasel assets
Set-up weasel from project.yml
weasel dvc
Environment
Detailed Description
It seems to me like under the hood a
dvc run
command is triggered, which causes an issue. It already tried to check the code weasel/cli/dvc.py, but couldn't find a run command there or in utils.