Skip to content

Commit e93bb32

Browse files
author
Martin Durant
committed
reversion
1 parent 950731d commit e93bb32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fsspec/spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
import warnings
55
from errno import ESPIPE
66
from hashlib import sha256
7+
from distutils.version import LooseVersion
78
from glob import has_magic
89

910
from .dircache import DirCache
1011
from .transaction import Transaction
1112
from .utils import (
1213
read_block,
1314
tokenize,
14-
loose_version,
1515
stringify_path,
1616
other_paths,
1717
get_package_version_without_import,
@@ -79,7 +79,7 @@ def __call__(cls, *args, **kwargs):
7979

8080

8181
pa_version = get_package_version_without_import("pyarrow")
82-
if pa_version and loose_version(pa_version) < loose_version("2.0"):
82+
if pa_version and LooseVersion(pa_version) < LooseVersion("2.0"):
8383
import pyarrow as pa
8484

8585
up = pa.filesystem.DaskFileSystem

0 commit comments

Comments
 (0)