Fix FTBFS: skip tests that need numpy.distutils

This commit is contained in:
Benjamin A. Beasley 2023-10-05 13:57:34 -04:00
parent 84a90bad3b
commit f4b9498bce
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: pythran
Version: 0.14.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Ahead of Time Python compiler for numeric kernels
# pythran is BSD
@ -135,6 +135,11 @@ k="$k and not test_setup_bdist_install3"
# this test needs ipython
k="$k and not test_loadext_and_run"
%endif
# Some tests still want numpy.distutils
# https://github.com/serge-sans-paille/pythran/issues/2148
k="$k and not test_setup_bdist_install3"
k="$k and not test_setup_build3"
k="$k and not test_setup_sdist_install3"
%pytest %{?!rhel:-n auto} -k "$k"
@ -149,6 +154,9 @@ k="$k and not test_loadext_and_run"
%changelog
* Thu Oct 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.14.0-2
- Fix FTBFS: skip tests that need numpy.distutils
* Thu Sep 07 2023 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
- Update to 0.14.0
- Fixes: rhbz#2237784