Temporarily disable argcomplete on python3.12

This commit is contained in:
Maxwell G 2023-06-13 21:29:14 +00:00
parent 8f2b3503f1
commit 674ca3d40e
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -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