From 116541d007197b24a6aac6b7cadaf8f6d116e130 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 13 Apr 2023 04:20:11 +0200 Subject: [PATCH] Workaround pkg_resources deprecation warning This leaks from setuptools: https://github.com/pypa/setuptools/issues/3761 Resolves: rhbz#2183387 --- numpy.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/numpy.spec b/numpy.spec index 4ad29aa..88f42db 100644 --- a/numpy.spec +++ b/numpy.spec @@ -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