From 5c62298cbbc6acf1732695854321ea02589f8da6 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 24 May 2021 09:52:57 +0200 Subject: [PATCH] 1.1.2 --- .gitignore | 1 + python-httpretty.spec | 6 +++++- skip-test_passthrough.patch | 8 ++++---- sources | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f30ab78..d8a2a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /httpretty-1.0.2.tar.gz /httpretty-1.0.5.tar.gz /httpretty-1.1.0.tar.gz +/httpretty-1.1.2.tar.gz diff --git a/python-httpretty.spec b/python-httpretty.spec index f563d93..89c3389 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -14,7 +14,7 @@ %global run_tests 1 Name: python-httpretty -Version: 1.1.0 +Version: 1.1.2 # If github_date is defined, assume a post-release snapshot Release: 1%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} Summary: HTTP request mock tool for Python @@ -61,6 +61,7 @@ BuildRequires: python%{?fedora:2}-tornado BuildRequires: python%{?fedora:2}-eventlet BuildRequires: python%{?fedora:2}-freezegun BuildRequires: python%{?fedora:2}-redis +BuildRequires: python%{?fedora:2}-httpx %if 0%{?epel} == 6 # Need unittest2 to get the 'skip' decorator BuildRequires: python-unittest2 @@ -160,6 +161,9 @@ LANG=C.UTF-8 %{__python2} -m nose -v %changelog +* Mon May 24 2021 Jiri Popelka - 1.1.2-1 +- 1.1.2 + * Thu May 13 2021 Jiri Popelka - 1.1.0-1 - 1.1.0 diff --git a/skip-test_passthrough.patch b/skip-test_passthrough.patch index e1c0952..7e48a87 100644 --- a/skip-test_passthrough.patch +++ b/skip-test_passthrough.patch @@ -1,6 +1,6 @@ -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 +diff -up httpretty-1.1.2/tests/functional/test_passthrough.py.orig httpretty-1.1.2/tests/functional/test_passthrough.py +--- httpretty-1.1.2/tests/functional/test_passthrough.py.orig 2021-05-14 03:02:06.000000000 +0200 ++++ httpretty-1.1.2/tests/functional/test_passthrough.py 2021-05-24 09:48:01.790645558 +0200 @@ -24,6 +24,7 @@ import requests import httpretty @@ -23,5 +23,5 @@ diff -up httpretty-1.1.0/tests/functional/test_passthrough.py.orig httpretty-1.1 +@skip def test_https_passthrough(): - url = 'https://raw.githubusercontent.com/gabrielfalcao/httpretty/master/COPYING' + url = 'https://httpbin.org/status/200' diff --git a/sources b/sources index dc74066..c6b505f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httpretty-1.1.0.tar.gz) = a6da71115d4dc12125bec451888c30858ec94f2a3aec530b21efcacd9c595cb3d2196dbca3631f4b6f50c985c14b3c4bc6f34ec1d9e41aaf2b48fc8a072f5739 +SHA512 (httpretty-1.1.2.tar.gz) = 674641509e43cb36c14af560853271495474157477350ff80a9bd311b435fb64e9aa2b710419b34b1f344ffc963f8c7141a631dd3f0d9599accb43647b5680c0