Skip to content
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

repro --pull: always pull deps #10187

Merged
merged 2 commits into from
Jan 18, 2024
Merged

repro --pull: always pull deps #10187

merged 2 commits into from
Jan 18, 2024

Conversation

dberenbaum
Copy link
Collaborator

@dberenbaum dberenbaum commented Dec 20, 2023

Fix for https://iterativeai.slack.com/archives/C03JS2V4MQU/p1702982308956539.

repro --pull was pulling outputs but not dependencies (unless --allow-missing was also passed). This normally is enough, but in cases like repro --pull --single-item, the output from the previous stage is never pulled, causing the command to fail. This PR pulls dependencies whenever --pull is included.

@dberenbaum dberenbaum requested a review from a team December 20, 2023 20:30
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (457d615) 90.62% compared to head (c3b8921) 90.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10187   +/-   ##
=======================================
  Coverage   90.62%   90.62%           
=======================================
  Files         499      499           
  Lines       37900    37907    +7     
  Branches     5508     5508           
=======================================
+ Hits        34346    34354    +8     
  Misses       2912     2912           
+ Partials      642      641    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dberenbaum
Copy link
Collaborator Author

Ping @iterative/dvc. This addresses a customer issue, so PTAL so we can get it merged.

@efiop
Copy link
Contributor

efiop commented Jan 18, 2024

Sorry for such a long wait 😞

@efiop efiop merged commit 5c31189 into main Jan 18, 2024
24 checks passed
@efiop efiop deleted the repro-pull-single-item branch January 18, 2024 03:11
@dberenbaum
Copy link
Collaborator Author

Thanks @efiop!

BradyJ27 pushed a commit to BradyJ27/dvc that referenced this pull request Apr 22, 2024
* repro --pull: always pull deps

* drop unused allow_missing args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants