diff --git a/dvc/tree/gdrive.py b/dvc/tree/gdrive.py index 8335479c6..302a5ccda 100644 --- a/dvc/tree/gdrive.py +++ b/dvc/tree/gdrive.py @@ -366,10 +366,7 @@ class GDriveTree(BaseTree): total=total, disable=no_progress_bar, ) as wrapped: - # PyDrive2 doesn't like content property setting for empty - # files https://github.com/iterative/PyDrive2/issues/59 - if total: - item.content = wrapped + item.content = wrapped item.Upload() return item diff --git a/setup.py b/setup.py index 844d1efe8..4800defea 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ install_requires = [ # Extra dependencies for remote integrations gs = ["google-cloud-storage==1.19.0"] -gdrive = ["pydrive2>=1.6.2", "six >= 1.13.0"] +gdrive = ["pydrive2>=1.6.3", "six >= 1.13.0"] s3 = ["boto3>=1.9.201"] azure = ["azure-storage-blob>=12.0", "knack"] oss = ["oss2==2.6.1"]