Skip to content

Commit

Permalink
Merge pull request #6839 from effigies/mnt/looseversion
Browse files Browse the repository at this point in the history
RF: Replace distutils LooseVersion with looseversion
  • Loading branch information
yarikoptic committed Jul 24, 2022
2 parents 1c8944c + 4e3004c commit 7df6944
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion datalad/distribution/create_sibling.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

__docformat__ = 'restructuredtext'

from distutils.version import LooseVersion
import logging
import os
from os.path import (
Expand All @@ -21,6 +20,8 @@
relpath,
)

from looseversion import LooseVersion

from datalad import ssh_manager

from datalad.ui import ui
Expand Down
2 changes: 1 addition & 1 deletion datalad/support/external_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import os.path as op
from os import linesep

from distutils.version import LooseVersion
from itertools import chain
from looseversion import LooseVersion

from datalad.log import lgr
# import version helper from config to have only one implementation
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'patool>=1.7',
'tqdm',
'annexremote',
'looseversion',
],
'downloaders': [
'boto',
Expand Down

0 comments on commit 7df6944

Please sign in to comment.