Use pytest 4

This commit is contained in:
Miro Hrončok 2020-05-30 11:03:49 +02:00
parent bc2d4314d8
commit dcc846ee9e

View File

@ -2,7 +2,7 @@
Name: python-%{srcname}
Summary: A python based HTML parser/tokenizer
Version: 1.0.1
Release: 9%{?dist}
Release: 10%{?dist}
Epoch: 1
License: MIT
URL: https://github.com/html5lib/html5lib-python
@ -26,16 +26,16 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
# Test deps
BuildRequires: python3-mock
BuildRequires: python3-pytest
BuildRequires: python3-pytest-expect
BuildRequires: python3-six
BuildRequires: python3-webencodings
BuildRequires: python3dist(mock)
BuildRequires: python3dist(pytest) < 5
BuildRequires: python3dist(pytest-expect)
BuildRequires: python3dist(six)
BuildRequires: python3dist(webencodings)
# Optional test deps:
BuildRequires: python3-chardet
#BuildRequires: python3-genshi -- https://bugzilla.redhat.com/show_bug.cgi?id=1817711
BuildRequires: python3-lxml
BuildRequires: python3dist(chardet)
#BuildRequires: python3dist(genshi) -- https://bugzilla.redhat.com/show_bug.cgi?id=1817711
BuildRequires: python3dist(lxml)
%{?python_provide:%python_provide python3-%{srcname}}
@ -68,6 +68,9 @@ specification for maximum compatibility with major desktop web browsers.
%changelog
* Sat May 30 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-10
- Use pytest 4
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.1-9
- Rebuilt for Python 3.9