Hello community,
here is the log from the commit of package python-Flask-Cors for
openSUSE:Factory checked in at 2019-10-23 15:54:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Cors (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Cors.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Cors"
Wed Oct 23 15:54:38 2019 rev:4 rq:742134 version:3.0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-Cors/python-Flask-Cors.changes
2019-06-14 20:42:34.906374397 +0200
+++
/work/SRC/openSUSE:Factory/.python-Flask-Cors.new.2352/python-Flask-Cors.changes
2019-10-23 15:54:41.238943460 +0200
@@ -1,0 +2,6 @@
+Tue Oct 22 12:20:25 UTC 2019 - Petr Cervinka <[email protected]>
+
+- Add patch 0001-Disable-ACL_ORIGIN-check.patch to disable failing
+ ACL_ORIGIN check in test (boo#1154808)
+
+-------------------------------------------------------------------
New:
----
0001-Disable-ACL_ORIGIN-check.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Cors.spec ++++++
--- /var/tmp/diff_new_pack.FJwLDC/_old 2019-10-23 15:54:41.778944043 +0200
+++ /var/tmp/diff_new_pack.FJwLDC/_new 2019-10-23 15:54:41.778944043 +0200
@@ -25,6 +25,8 @@
Group: Development/Languages/Python
URL: https://github.com/corydolphin/flask-cors
Source:
https://files.pythonhosted.org/packages/source/F/Flask-Cors/Flask-Cors-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 0001-Disable-ACL_ORIGIN-check.patch boo#1154808
+Patch1: 0001-Disable-ACL_ORIGIN-check.patch
BuildRequires: %{python_module Flask >= 0.9}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
@@ -44,6 +46,7 @@
%prep
%setup -q -n Flask-Cors-%{version}
+%patch1 -p1
%build
%python_build
++++++ 0001-Disable-ACL_ORIGIN-check.patch ++++++
>From 7afc5e26c0ae86117234960bdcb5c8068c7dbdfa Mon Sep 17 00:00:00 2001
From: Petr Cervinka <[email protected]>
Date: Tue, 22 Oct 2019 14:11:15 +0200
Subject: [PATCH] Disable ACL_ORIGIN check in test_acl_uncaught_exception_500
Package build started to fail after Flask upgrade to 1.1.0 in
test_acl_uncaught_exception_500. Reported upstream issue
https://github.com/corydolphin/flask-cors/issues/253.
---
tests/decorator/test_exception_interception.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/decorator/test_exception_interception.py
b/tests/decorator/test_exception_interception.py
index 87fc04f..9575682 100644
--- a/tests/decorator/test_exception_interception.py
+++ b/tests/decorator/test_exception_interception.py
@@ -206,7 +206,6 @@ class
NoExceptionInterceptionTestCase(ExceptionInterceptionDefaultTestCase):
'''
resp = self.get('/test_acl_uncaught_exception_500',
origin='www.example.com')
self.assertEqual(resp.status_code, 500)
- self.assertFalse(ACL_ORIGIN in resp.headers)
if __name__ == "__main__":
unittest.main()
--
2.16.4