forked from pool/python-pythran
- Add 2046-fix-cli-doc-test.patch to fix failing tests
(gh#serge-sans-paille/pythran#2046). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pythran?expand=0&rev=13
This commit is contained in:
@@ -53,6 +53,8 @@ URL: https://github.com/serge-sans-paille/pythran
|
||||
# Tests are only availble in github archive
|
||||
Source0: https://github.com/serge-sans-paille/pythran/archive/refs/tags/%{version}.tar.gz#/pythran-%{version}-gh.tar.gz
|
||||
Source99: python-pythran-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM 2046-fix-cli-doc-test.patch gh#serge-sans-paille/pythran#2044 mcepl@suse.com
|
||||
Patch0: 2046-fix-cli-doc-test.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -127,8 +129,6 @@ sed -i -e 's/-O0/-O1/g' -e 's/-Werror/-w/g' pythran/tests/__init__.py
|
||||
export CFLAGS="%{optflags}"
|
||||
# crashes the xdist workers
|
||||
donttest="test_operator_intersection"
|
||||
# gh#serge-sans-paille/pythran#2044
|
||||
donttest="$donttest or test_toolchain or test_cli"
|
||||
%pytest -n auto -k "not ($donttest)" -m "not module"
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user