diff --git a/common/utils.py b/common/utils.py index 395e075e..ef24523b 100644 --- a/common/utils.py +++ b/common/utils.py @@ -10,7 +10,7 @@ import subprocess from urllib.parse import scheme_chars from ipaddress import IPv4Address, ip_address -from distutils.version import LooseVersion +from looseversion import LooseVersion from pathlib import Path from stat import S_IXUSR diff --git a/requirements.txt b/requirements.txt index 42460b78..c9aa80af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ certifi==2022.06.15 chardet==5.0.0 colorama==0.4.4 dnspython==2.2.1 -exrex==0.10.5 fire==0.4.0 future==0.18.2 idna==3.3 @@ -20,3 +19,6 @@ tqdm==4.64.0 treelib==1.6.1 urllib3==1.26.9 win32-setctime==1.1.0 +looseversion +exrex +