From 989387bde6483c9b4d902463e774add29bbdd0d4 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 7 Mar 2023 09:27:31 -0500 Subject: [PATCH] Allow Python 3.12 (downstream-only); close RHBZ#2176128 --- python-llvmlite.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-llvmlite.spec b/python-llvmlite.spec index bc7668f..f58f0ad 100644 --- a/python-llvmlite.spec +++ b/python-llvmlite.spec @@ -85,9 +85,9 @@ Documentation for %{name}. %prep %forgeautosetup -p1 -# seems to be fine with 3.11 but we need to loosen the guard +# seems to be fine with 3.11 and 3.12, but we need to loosen the guard # see also: “python 3.10 support” https://github.com/numba/llvmlite/issues/740 -sed -i 's/max_python_version =.*/max_python_version = "3.12"/' setup.py +sed -i 's/max_python_version =.*/max_python_version = "3.13"/' setup.py # increase verbosity of tests to 2 sed -i 's/\(def run_tests.*verbosity=\)1/\12/' llvmlite/tests/__init__.py