Ignore broken tests

This commit is contained in:
Lumir Balhar 2020-01-06 11:39:15 +01:00
parent ac1537fec6
commit 37523e17a0

View File

@ -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 <lbalhar@redhat.com> - 20.0-2
- Ignore broken tests
* Mon Jan 06 2020 Lumír Balhar <lbalhar@redhat.com> - 20.0-1
- Update to 20.0 (#1788012)