From a597cc62092e0620de6483286381b0d409c5444b Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 17 Sep 2023 23:27:36 -0400 Subject: [PATCH] use parse_version from packaging.version instead of pkg_resources (#2830) it seems pkg_resources is deprecated Signed-off-by: Jinzhe Zeng --- source/tests/test_pairwise_dprc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/tests/test_pairwise_dprc.py b/source/tests/test_pairwise_dprc.py index 7fbb4fdf19..0f3f9fad50 100644 --- a/source/tests/test_pairwise_dprc.py +++ b/source/tests/test_pairwise_dprc.py @@ -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,