Skip to content

Commit

Permalink
Fix an issue where python version may become 3
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Apr 29, 2024
1 parent 1cc74a5 commit e21d95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion komodo/pypi_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e21d95b

Please sign in to comment.