To avoid the issues of https://github.com/pypa/packaging/issues/530 packaging should be replaced by https://github.com/nexB/packvers/