From fb55d4c6865c4b400f0867efb096e82de8719ec9 Mon Sep 17 00:00:00 2001 From: Mariam Ahhttouche Date: Tue, 24 Feb 2026 09:17:36 +0100 Subject: [PATCH] uv_python module: improve error messages --- plugins/modules/uv_python.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/uv_python.py b/plugins/modules/uv_python.py index fefdf27473..1d36181221 100644 --- a/plugins/modules/uv_python.py +++ b/plugins/modules/uv_python.py @@ -5,7 +5,7 @@ DOCUMENTATION = r''' --- -module: uv.python +module: uv_python short_description: Manage Python versions and installations using uv Python package manager. description: - Install, uninstall or upgrade Python versions managed by C(uv). @@ -118,7 +118,7 @@ class UV: self.python_version_str = self.python_version.__str__() except InvalidVersion: self.module.fail_json( - msg="Unsupported version format. Only canonical Python versions (e.g. 3, 3.12, 3.12.3) are supported in this release." + msg="Unsupported version format. Only canonical Python versions (e.g. 3, 3.12, 3.12.3, 3.15.0a5) are supported in this release." ) def _ensure_min_uv_version(self):