From 674ca3d40e29500221ea5fe7f7b8c6437470f458 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Tue, 13 Jun 2023 21:29:14 +0000 Subject: [PATCH] Temporarily disable argcomplete on python3.12 --- ansible-core.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible-core.spec b/ansible-core.spec index fbd62c9..84c7274 100644 --- a/ansible-core.spec +++ b/ansible-core.spec @@ -3,7 +3,9 @@ # controls whether to generate shell completions # may be useful for bootstrapping purposes -%bcond argcomplete 1 +# +# python3-argcomplete currently FTBFS with python3.12 +%bcond argcomplete %[ %{defined python3_version} && v"%{python3_version}" < v"3.12" ] # disable the python -s shbang flag as we want to be able to find non system modules %undefine _py3_shebang_s