Accepting request 701328 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/701328 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-mock?expand=0&rev=11
This commit is contained in:
commit
ec25fd8af6
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 13:19:56 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.6.0
|
||||
* Respect user provided content encoding type
|
||||
* Update minimum requests version to 2.3
|
||||
* Add testing for Python 3.7 & PyPy3
|
||||
* Drop \_matcher from request pickled state
|
||||
* Clarify the pytest configuration documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 15:00:19 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-requests-mock
|
||||
Version: 1.5.2
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: Mock out responses from the requests package
|
||||
License: Apache-2.0
|
||||
@ -36,7 +35,7 @@ BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module testrepository >= 0.0.18}
|
||||
BuildRequires: %{python_module testtools}
|
||||
BuildRequires: fdupes
|
||||
Requires: python-requests >= 1.1
|
||||
Requires: python-requests >= 2.3
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%ifpython3
|
||||
@ -59,16 +58,16 @@ You should checkout the docs for more information.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/mymodule
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
mv .testr.conf .testr.conf.orig
|
||||
# purl optional dependency is missing at time of writing (2019-05-07)
|
||||
rm ./tests/test_adapter.py
|
||||
%{python_expand # first line can't be empty
|
||||
rm -rf .testrepository
|
||||
sed 's/python/$python/' .testr.conf.orig >| .testr.conf
|
||||
testr init
|
||||
testr run --parallel
|
||||
}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb
|
||||
size 47581
|
3
requests-mock-1.6.0.tar.gz
Normal file
3
requests-mock-1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:12e17c7ad1397fd1df5ead7727eb3f1bdc9fe1c18293b0492e0e01b57997e38d
|
||||
size 50766
|
Loading…
Reference in New Issue
Block a user