Allow Python 3.12 (downstream-only); close RHBZ#2176128

This commit is contained in:
Benjamin A. Beasley 2023-03-07 09:27:31 -05:00
parent 40c13fc13f
commit 989387bde6

View File

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