mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 07:18:28 +01:00
Only import speedcopy on Win > 7 (#3581)
* system: Only import speedcopy for Windows > 7 Fixes #3259 * Allow for Win 8 Co-authored-by: Charles Baynham <[email protected]>
This commit is contained in:
co-authored by
Charles Baynham
parent
8e675a9d42
commit
f4bec650ed
+5
-1
@@ -10,7 +10,11 @@ from dvc.exceptions import DvcException
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
if platform.system() == "Windows" and sys.version_info < (3, 8):
|
||||
if (
|
||||
platform.system() == "Windows"
|
||||
and sys.version_info < (3, 8)
|
||||
and sys.getwindowsversion() >= (6, 2)
|
||||
):
|
||||
try:
|
||||
import speedcopy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user