diff --git a/python-requests-mock.changes b/python-requests-mock.changes index 0635415..2aab20e 100644 --- a/python-requests-mock.changes +++ b/python-requests-mock.changes @@ -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 diff --git a/python-requests-mock.spec b/python-requests-mock.spec index 6149d20..da08d44 100644 --- a/python-requests-mock.spec +++ b/python-requests-mock.spec @@ -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 diff --git a/requests-mock-1.5.2.tar.gz b/requests-mock-1.5.2.tar.gz deleted file mode 100644 index 2993f5e..0000000 --- a/requests-mock-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb -size 47581 diff --git a/requests-mock-1.6.0.tar.gz b/requests-mock-1.6.0.tar.gz new file mode 100644 index 0000000..540180f --- /dev/null +++ b/requests-mock-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12e17c7ad1397fd1df5ead7727eb3f1bdc9fe1c18293b0492e0e01b57997e38d +size 50766