diff --git a/komodo/pypi_dependencies.py b/komodo/pypi_dependencies.py index bf2d9ef4..e9f22c7c 100644 --- a/komodo/pypi_dependencies.py +++ b/komodo/pypi_dependencies.py @@ -48,7 +48,7 @@ def __init__( ) -> None: self.python_version = python_version environment["python_full_version"] = python_version - environment["python_version"] = python_version[: python_version.rindex(".")] + environment["python_version"] = ".".join(python_version.split(".")[0:2]) self._satisfied_requirements = set() self._failed_requirements = set() self._used_packages = set()