Skip to content

Commit

Permalink
Fix parsing solver name for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fridex committed Feb 3, 2022
1 parent a8413d9 commit 3a79f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thoth/common/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def parse_python_solver_name(cls, solver_name: str) -> Dict[str, Any]:
f"Python version encoded into Python solver name does not start with 'py' prefix: {solver_name!r}"
)

python_version = ".".join(list(python_version))
python_version = python_version[0] + "." + python_version[1:]
return {
"os_name": parts[0],
"os_version": normalize_os_version(parts[0], parts[1]),
Expand Down

0 comments on commit 3a79f6e

Please sign in to comment.