diff --git a/Orange/canvas/config.py b/Orange/canvas/config.py index 031c5d3319a..fcef63a1b43 100644 --- a/Orange/canvas/config.py +++ b/Orange/canvas/config.py @@ -10,6 +10,7 @@ from typing import Dict, Any, Optional, Iterable, List +import packaging.version import pkg_resources import requests @@ -109,8 +110,8 @@ def splash_screen(): version = Config.ApplicationVersion if version: - version_parsed = pkg_resources.parse_version(version) - version_comp = version_parsed.version + version_parsed = packaging.version.Version(version) + version_comp = version_parsed.release version = ".".join(map(str, version_comp[:2])) size = 13 font = QFont("Helvetica")