1
0

- 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:
2022-12-17 14:37:24 +00:00
committed by Git OBS Bridge
parent 9b82a25a73
commit 75fe01d8a9
3 changed files with 38 additions and 2 deletions

View File

@@ -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