From 37523e17a096579a6d1360655710b95b53a07ef7 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 6 Jan 2020 11:39:15 +0100 Subject: [PATCH] Ignore broken tests --- python-packaging.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-packaging.spec b/python-packaging.spec index 1090ee6..7bcfcdb 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -13,7 +13,7 @@ Name: python-%{pypi_name} Version: 20.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Core utilities for Python packages License: BSD or ASL 2.0 @@ -91,7 +91,11 @@ rm -rf html/_static/fonts/ %if %{with tests} %check -%{__python3} -m pytest tests/ +# Ignore test_linux_platforms_manylinux* tests because they seems to be arch-dependant +# GH: https://github.com/pypa/packaging/issues/254 +%{__python3} -m pytest -k \ +'not test_linux_platforms_manylinux1 and not test_linux_platforms_manylinux2010 and not test_linux_platforms_manylinux2014' \ +tests/ %endif %files -n python3-%{pypi_name} @@ -107,6 +111,9 @@ rm -rf html/_static/fonts/ %endif %changelog +* Mon Jan 06 2020 Lumír Balhar - 20.0-2 +- Ignore broken tests + * Mon Jan 06 2020 Lumír Balhar - 20.0-1 - Update to 20.0 (#1788012)