Skip to content

Commit

Permalink
use parse_version from packaging.version instead of pkg_resources (#2830
Browse files Browse the repository at this point in the history
)

it seems pkg_resources is deprecated

Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Sep 18, 2023
1 parent 0b46563 commit a597cc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/tests/test_pairwise_dprc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
run_dp,
tests_path,
)
from pkg_resources import (
parse_version,
)
from packaging.version import parse as parse_version

from deepmd import (
DeepPotential,
Expand Down

0 comments on commit a597cc6

Please sign in to comment.