You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making this report fairly quickly. I will submit a MWE if needed.
I have a DVC repo on my local system that contains an S3 remote. I executed the following steps:
Create a fresh docker container and mount my local drive with the DVC repo on it.
I clone the DVC repo into the container.
I dvc remote add host <path-to-mounted-repo>/.dvc/cache so the new repo in the container can see the mounted repo as a host.
I run dvc pull -r host <path-to-file>
At this point DVC complains that S3 dependencies are not installed, which is true.
ERROR: unexpected error - s3 is supported, but requires 'dvc-s3' to be installed: No module named 'dvc_s3'
However, it should not need them. I'm only doing a local pull. If I remove the S3 remote from my .dvc/config then things work correctly.
I suppose DVC is checking for S3 if it sees that it has any S3 path in its remote, even if that remote isn't requested. That is a bug. Instead it should just care about the requested remote.
The doctor report is after I installed dvc[s3] to workaround the issue.
Bug Report
Making this report fairly quickly. I will submit a MWE if needed.
I have a DVC repo on my local system that contains an S3 remote. I executed the following steps:
dvc remote add host <path-to-mounted-repo>/.dvc/cache
so the new repo in the container can see the mounted repo as a host.dvc pull -r host <path-to-file>
At this point DVC complains that S3 dependencies are not installed, which is true.
However, it should not need them. I'm only doing a local pull. If I remove the S3 remote from my
.dvc/config
then things work correctly.I suppose DVC is checking for S3 if it sees that it has any S3 path in its remote, even if that remote isn't requested. That is a bug. Instead it should just care about the requested remote.
The doctor report is after I installed dvc[s3] to workaround the issue.
The text was updated successfully, but these errors were encountered: