mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user