system: get rid of speedcopy (#6686)

speedcopy only patches shutil.copyfile, which we don't even use
anywhere because it lacks callbacks/progress and we instead use
our own copyfile implementation, so this is totally useless for
us and can be removed.
This commit is contained in:
Ruslan Kuprieiev
2021-09-25 04:42:45 +03:00
committed by GitHub
parent 6d6a3f17b1
commit 2e4fb376da
2 changed files with 0 additions and 14 deletions
-13
View File
@@ -2,24 +2,11 @@ import errno
import logging
import os
import platform
import sys
from dvc.exceptions import DvcException
logger = logging.getLogger(__name__)
if (
sys.platform == "win32"
and sys.version_info < (3, 8)
and sys.getwindowsversion() >= (6, 2)
):
try:
import speedcopy
speedcopy.patch_copyfile()
except ImportError:
pass
class System:
@staticmethod
-1
View File
@@ -27,7 +27,6 @@ win-unicode-console>=0.5; sys_platform == 'win32'
networkx>=2.5
psutil>=5.8.0
pydot>=1.2.4
speedcopy>=2.0.1; python_version < '3.8' and sys_platform == 'win32'
dataclasses==0.7; python_version < '3.7'
importlib-metadata>=1.4; python_version < '3.8'
flatten_dict>=0.4.1,<1