From 61e4cfb72d06a0560393d504bec3680ee851afd2 Mon Sep 17 00:00:00 2001 From: Mariam Ahhttouche Date: Thu, 5 Mar 2026 12:29:22 +0100 Subject: [PATCH] Use str instead of __str__ --- plugins/modules/uv_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/uv_python.py b/plugins/modules/uv_python.py index b6d51aabba..7a00a173c5 100644 --- a/plugins/modules/uv_python.py +++ b/plugins/modules/uv_python.py @@ -124,7 +124,7 @@ class UV: try: python_version = module.params["version"] self.python_version = StrictVersion(python_version) - self.python_version_str = self.python_version.__str__() + self.python_version_str = str(self.python_version) except ValueError: self.module.fail_json( msg="Unsupported version format. Valid version numbers consist of two or three dot-separated numeric components, \