- Hardcode pytest4 for testing as pytest5 fails for now
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=18
This commit is contained in:
parent
afa48d07a4
commit
7c695386fc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 18 09:24:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Hardcode pytest4 for testing as pytest5 fails for now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 14:13:30 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -23,16 +23,17 @@ Release: 0
|
||||
Summary: A utility library for mocking out the `requests` Python library
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/getsentry/responses
|
||||
URL: https://github.com/getsentry/responses
|
||||
Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# test requirements
|
||||
BuildRequires: %{python_module cookies}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest-localserver}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest4}
|
||||
BuildRequires: %{python_module requests >= 2.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.0
|
||||
Requires: python-six
|
||||
@ -57,6 +58,7 @@ about the library.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
Loading…
Reference in New Issue
Block a user