HOSTDEV-1928 adjust the code to support pkg_resources.parse_version from setuptools 8