Workaround pkg_resources deprecation warning

This leaks from setuptools: https://github.com/pypa/setuptools/issues/3761

Resolves: rhbz#2183387
This commit is contained in:
Charalampos Stratakis 2023-04-13 04:20:11 +02:00
parent 4ad487d64c
commit 116541d007

View File

@ -163,7 +163,8 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}
# Some tests also overflow on 32bit
%global ix86_k and not test_vector_matrix_values and not test_matrix_vector_values and not test_identityless_reduction_huge_array and not (TestKind and test_all)
%endif
python3 runtests.py --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{?ix86_k}'
python3 runtests.py --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{?ix86_k}' \
-W "ignore:pkg_resources is deprecated as an API::pkg_resources"
%endif