From bd79e9898b95bc975cb8981f3af91a5198cce942 Mon Sep 17 00:00:00 2001 From: Ivan Shcheklein Date: Fri, 5 Jul 2019 00:08:53 -0700 Subject: [PATCH] Sequence is deprecated in Python 3.8, remove subclassing --- dvc/path_info.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dvc/path_info.py b/dvc/path_info.py index bd18b52bf..2c81cdc82 100644 --- a/dvc/path_info.py +++ b/dvc/path_info.py @@ -3,7 +3,6 @@ from __future__ import unicode_literals, absolute_import import sys import os import posixpath -from collections import Sequence from funcy import cached_property @@ -102,7 +101,7 @@ class PosixPathInfo(PathInfo, pathlib.PurePosixPath): pass -class _URLPathParents(Sequence): +class _URLPathParents(object): def __init__(self, pathcls, scheme, netloc, path): self._scheme = scheme self._netloc = netloc