diff --git a/python-pythran.changes b/python-pythran.changes index 546b964..aa7cced 100644 --- a/python-pythran.changes +++ b/python-pythran.changes @@ -18,6 +18,7 @@ Mon May 15 15:19:41 UTC 2023 - Dirk Müller * Get rid of unused functions C++ warnings * Avoid generating a loop footer when the loop index is not used outside of the loop. +- fix the test-flavor splitting for python311 ------------------------------------------------------------------- Wed Jan 25 10:22:53 UTC 2023 - Dirk Müller diff --git a/python-pythran.spec b/python-pythran.spec index 9be9672..ff7489b 100644 --- a/python-pythran.spec +++ b/python-pythran.spec @@ -21,6 +21,7 @@ %define psuffix -test-py38 %define skip_python39 1 %define skip_python310 1 +%define skip_python311 1 %bcond_without test ExclusiveArch: x86_64 %endif @@ -28,6 +29,7 @@ ExclusiveArch: x86_64 %define psuffix -test-py39 %define skip_python38 1 %define skip_python310 1 +%define skip_python311 1 %bcond_without test ExclusiveArch: x86_64 %endif @@ -35,6 +37,15 @@ ExclusiveArch: x86_64 %define psuffix -test-py310 %define skip_python38 1 %define skip_python39 1 +%define skip_python311 1 +%bcond_without test +ExclusiveArch: x86_64 +%endif +%if "%{flavor}" == "test-py311" +%define psuffix -test-py311 +%define skip_python38 1 +%define skip_python39 1 +%define skip_python310 1 %bcond_without test ExclusiveArch: x86_64 %endif @@ -129,7 +140,7 @@ export CFLAGS="%{optflags}" donttest="test_operator_intersection" # gh#serge-sans-paille/pythran#2044 NOT FIXED by gh#serge-sans-paille/pythran#2046 donttest="$donttest or test_toolchain or test_cli" -%pytest -n auto -k "not ($donttest)" -m "not module" +%pytest %{?jobs:-n %jobs} -k "not ($donttest)" -m "not module" %endif %if !%{with test}