Skip to content

trace dependencies in dvc run #4081

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

Closed
utkarshsingh99 opened this issue Jun 22, 2020 · 2 comments
Closed

trace dependencies in dvc run #4081

utkarshsingh99 opened this issue Jun 22, 2020 · 2 comments
Labels
awaiting response we are waiting for your reply, please respond! :)

Comments

@utkarshsingh99
Copy link

https://docs.python.org/2/library/trace.html

dvc run requires the user to specify all the dependencies that will be required, that is, all the scripts that will be executed while running the main command.
What if we could find a way to automatically detect those dependency files?
Assuming all the files would be in Python, I think trace could be used when the command is being executed for the first time before adding them to the stage.

@ghost ghost added the triage Needs to be triaged label Jun 22, 2020
@efiop
Copy link
Contributor

efiop commented Jun 23, 2020

Hi @utkarshsingh99 .

That is a very interesting idea! Wouldn't it be too noisy to use everything reported by trace?

Related #1577

@efiop efiop added the awaiting response we are waiting for your reply, please respond! :) label Jun 23, 2020
@ghost ghost removed the triage Needs to be triaged label Jun 23, 2020
@efiop efiop closed this as completed Jul 14, 2020
@efiop
Copy link
Contributor

efiop commented Jul 14, 2020

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response we are waiting for your reply, please respond! :)
Projects
None yet
Development

No branches or pull requests

2 participants