Skip to content

Commit

Permalink
Use packaging module to compare versions for #814
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Nov 8, 2023
1 parent c01462a commit 8bb2931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ipwb/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from ipfshttpclient.exceptions import ConnectionError, AddressError
from multiaddr.exceptions import StringParseError
from pkg_resources import parse_version
from packaging.version import parse as parse_version

from .exceptions import IPFSDaemonNotAvailable

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ requests>=2.19.1
beautifulsoup4>=4.6.3
surt>=0.3.0
multiaddr >= 0.0.9
packaging==23.0

0 comments on commit 8bb2931

Please sign in to comment.