Hello community, here is the log from the commit of package python-httpbin for openSUSE:Factory checked in at 2019-06-18 14:43:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httpbin (Old) and /work/SRC/openSUSE:Factory/.python-httpbin.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpbin" Tue Jun 18 14:43:43 2019 rev:3 rq:705887 version:0.7.0+git20181107.f8ec666 Changes: -------- --- /work/SRC/openSUSE:Factory/python-httpbin/python-httpbin.changes 2019-03-29 20:35:05.086594667 +0100 +++ /work/SRC/openSUSE:Factory/.python-httpbin.new.4811/python-httpbin.changes 2019-06-18 14:43:49.577745265 +0200 @@ -1,0 +2,6 @@ +Tue May 28 11:12:45 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to fix new werkzeug build, atm PR upstream: + * werkzeug.patch + +------------------------------------------------------------------- New: ---- werkzeug.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httpbin.spec ++++++ --- /var/tmp/diff_new_pack.hyc0l4/_old 2019-06-18 14:43:50.197745175 +0200 +++ /var/tmp/diff_new_pack.hyc0l4/_new 2019-06-18 14:43:50.197745175 +0200 @@ -25,6 +25,8 @@ Group: Development/Languages/Python URL: https://github.com/Runscope/httpbin Source: python-httpbin-%{version}.tar.xz +# https://github.com/postmanlabs/httpbin/pull/555 +Patch0: werkzeug.patch BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Flask} BuildRequires: %{python_module MarkupSafe} @@ -65,6 +67,7 @@ %prep %setup -q +%patch0 -p1 # use normal Brotli google module not wrapper sed -i -e 's:brotlipy:brotli:' setup.py ++++++ werkzeug.patch ++++++ >From b6cb2b47a3813da5df8dbffada284b72d7fe099e Mon Sep 17 00:00:00 2001 From: Simon Kowallik <[email protected]> Date: Sat, 18 May 2019 13:10:08 +0200 Subject: [PATCH] fix #554: update tests, Pipfile, Pipfile.lock for werkzeug>=0.15.1 - update test_httpbin.py to reflect new behaviour of werkzeug - require werkzeug>=0.15.1 --- Pipfile | 2 +- Pipfile.lock | 6 +++--- test_httpbin.py | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/test_httpbin.py b/test_httpbin.py index b7104ffc..ea51ae81 100755 --- a/test_httpbin.py +++ b/test_httpbin.py @@ -148,7 +148,6 @@ def test_get(self): data = json.loads(response.data.decode('utf-8')) self.assertEqual(data['args'], {}) self.assertEqual(data['headers']['Host'], 'localhost') - self.assertEqual(data['headers']['Content-Length'], '0') self.assertEqual(data['headers']['User-Agent'], 'test') # self.assertEqual(data['origin'], None) self.assertEqual(data['url'], 'http://localhost/get') @@ -162,7 +161,6 @@ def test_anything(self): data = json.loads(response.data.decode('utf-8')) self.assertEqual(data['args'], {}) self.assertEqual(data['headers']['Host'], 'localhost') - self.assertEqual(data['headers']['Content-Length'], '0') self.assertEqual(data['url'], 'http://localhost/anything/foo/bar') self.assertEqual(data['method'], 'GET') self.assertTrue(response.data.endswith(b'\n'))
