Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-httpbin for openSUSE:Factory 
checked in at 2021-07-10 22:53:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpbin (Old)
 and      /work/SRC/openSUSE:Factory/.python-httpbin.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httpbin"

Sat Jul 10 22:53:46 2021 rev:4 rq:901426 version:0.7.0+git20181107.f8ec666

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpbin/python-httpbin.changes    
2019-06-18 14:43:49.577745265 +0200
+++ /work/SRC/openSUSE:Factory/.python-httpbin.new.2625/python-httpbin.changes  
2021-07-10 22:53:53.680040014 +0200
@@ -1,0 +2,5 @@
+Wed Jun 23 08:30:27 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Modify werkzeug.patch to support Werkzeug 2.0, update Requires. 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httpbin.spec ++++++
--- /var/tmp/diff_new_pack.gqTRMh/_old  2021-07-10 22:53:54.320035075 +0200
+++ /var/tmp/diff_new_pack.gqTRMh/_new  2021-07-10 22:53:54.320035075 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-httpbin
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
 BuildRequires:  %{python_module Brotli}
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module MarkupSafe}
-BuildRequires:  %{python_module Werkzeug >= 0.14.1}
+BuildRequires:  %{python_module Werkzeug >= 2.0}
 BuildRequires:  %{python_module blinker}
 BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module flasgger}
@@ -44,7 +44,7 @@
 Requires:       python-Brotli
 Requires:       python-Flask
 Requires:       python-MarkupSafe
-Requires:       python-Werkzeug >= 0.14.1
+Requires:       python-Werkzeug >= 2.0
 Requires:       python-blinker
 Requires:       python-decorator
 Requires:       python-flasgger

++++++ werkzeug.patch ++++++
--- /var/tmp/diff_new_pack.gqTRMh/_old  2021-07-10 22:53:54.360034766 +0200
+++ /var/tmp/diff_new_pack.gqTRMh/_new  2021-07-10 22:53:54.360034766 +0200
@@ -12,11 +12,11 @@
  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):
+Index: python-httpbin-0.7.0+git20181107.f8ec666/test_httpbin.py
+===================================================================
+--- python-httpbin-0.7.0+git20181107.f8ec666.orig/test_httpbin.py
++++ python-httpbin-0.7.0+git20181107.f8ec666/test_httpbin.py
+@@ -148,7 +148,6 @@ class HttpbinTestCase(unittest.TestCase)
          data = json.loads(response.data.decode('utf-8'))
          self.assertEqual(data['args'], {})
          self.assertEqual(data['headers']['Host'], 'localhost')
@@ -24,7 +24,7 @@
          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):
+@@ -162,7 +161,6 @@ class HttpbinTestCase(unittest.TestCase)
          data = json.loads(response.data.decode('utf-8'))
          self.assertEqual(data['args'], {})
          self.assertEqual(data['headers']['Host'], 'localhost')
@@ -32,3 +32,45 @@
          self.assertEqual(data['url'], 'http://localhost/anything/foo/bar')
          self.assertEqual(data['method'], 'GET')
          self.assertTrue(response.data.endswith(b'\n'))
+@@ -586,7 +584,7 @@ class HttpbinTestCase(unittest.TestCase)
+     def test_redirect_n_higher_than_1(self):
+         response = self.app.get('/redirect/5')
+         self.assertEqual(
+-            response.headers.get('Location'), '/relative-redirect/4'
++            response.headers.get('Location'), 
'http://localhost/relative-redirect/4'
+         )
+ 
+     def test_redirect_to_post(self):
+@@ -595,7 +593,7 @@ class HttpbinTestCase(unittest.TestCase)
+                                  content_type='application/octet-stream')
+         self.assertEqual(response.status_code, 307)
+         self.assertEqual(
+-            response.headers.get('Location'), '/post'
++            response.headers.get('Location'), 'http://localhost/post'
+         )
+ 
+     def test_redirect_absolute_param_n_higher_than_1(self):
+@@ -608,20 +606,20 @@ class HttpbinTestCase(unittest.TestCase)
+         response = self.app.get('/redirect/1')
+         self.assertEqual(response.status_code, 302)
+         self.assertEqual(
+-            response.headers.get('Location'), '/get'
++            response.headers.get('Location'), 'http://localhost/get'
+         )
+ 
+     def test_relative_redirect_n_equals_to_1(self):
+         response = self.app.get('/relative-redirect/1')
+         self.assertEqual(
+-            response.headers.get('Location'), '/get'
++            response.headers.get('Location'), 'http://localhost/get'
+         )
+ 
+     def test_relative_redirect_n_higher_than_1(self):
+         response = self.app.get('/relative-redirect/7')
+         self.assertEqual(response.status_code, 302)
+         self.assertEqual(
+-            response.headers.get('Location'), '/relative-redirect/6'
++            response.headers.get('Location'), 
'http://localhost/relative-redirect/6'
+         )
+ 
+     def test_absolute_redirect_n_higher_than_1(self):

Reply via email to