diff --git a/.gitignore b/.gitignore index 53be7cd..f30ab78 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /httpretty-0.9.7.tar.gz /httpretty-1.0.2.tar.gz /httpretty-1.0.5.tar.gz +/httpretty-1.1.0.tar.gz diff --git a/python-httpretty.spec b/python-httpretty.spec index 9db224f..f563d93 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -14,9 +14,9 @@ %global run_tests 1 Name: python-httpretty -Version: 1.0.5 +Version: 1.1.0 # If github_date is defined, assume a post-release snapshot -Release: 2%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} +Release: 1%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} Summary: HTTP request mock tool for Python License: MIT @@ -160,6 +160,9 @@ LANG=C.UTF-8 %{__python2} -m nose -v %changelog +* Thu May 13 2021 Jiri Popelka - 1.1.0-1 +- 1.1.0 + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/skip-test_passthrough.patch b/skip-test_passthrough.patch index 37f4a74..e1c0952 100644 --- a/skip-test_passthrough.patch +++ b/skip-test_passthrough.patch @@ -1,7 +1,15 @@ -diff -up httpretty-1.0.2/tests/functional/test_passthrough.py.orig httpretty-1.0.2/tests/functional/test_passthrough.py ---- httpretty-1.0.2/tests/functional/test_passthrough.py.orig 2020-03-10 04:08:59.000000000 +0100 -+++ httpretty-1.0.2/tests/functional/test_passthrough.py 2020-03-27 11:40:51.716073339 +0100 -@@ -36,6 +36,7 @@ def http(): +diff -up httpretty-1.1.0/tests/functional/test_passthrough.py.orig httpretty-1.1.0/tests/functional/test_passthrough.py +--- httpretty-1.1.0/tests/functional/test_passthrough.py.orig 2021-05-13 02:02:46.000000000 +0200 ++++ httpretty-1.1.0/tests/functional/test_passthrough.py 2021-05-13 14:03:40.836340941 +0200 +@@ -24,6 +24,7 @@ + import requests + import httpretty + ++from unittest import skip + from sure import expect + + +@@ -35,6 +36,7 @@ def http(): return sess @@ -9,7 +17,7 @@ diff -up httpretty-1.0.2/tests/functional/test_passthrough.py.orig httpretty-1.0 def test_http_passthrough(): url = 'http://httpbin.org/status/200' response1 = http().get(url) -@@ -58,6 +59,7 @@ def test_http_passthrough(): +@@ -57,6 +59,7 @@ def test_http_passthrough(): (response4.content).should.equal(response1.content) diff --git a/sources b/sources index 106a0fd..dc74066 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpretty-1.0.5.tar.gz) = 2e5f4834848ab1a0b84230f000afb0409b30b3cc1769d36ad61f712f56abc8d6076e7507598f791fe343ce282cf9e26939add71ef794ead2836badfc2321d6bb +SHA512 (httpretty-1.1.0.tar.gz) = a6da71115d4dc12125bec451888c30858ec94f2a3aec530b21efcacd9c595cb3d2196dbca3631f4b6f50c985c14b3c4bc6f34ec1d9e41aaf2b48fc8a072f5739