Hello community,
here is the log from the commit of package python-Werkzeug for openSUSE:Factory
checked in at 2019-06-18 14:43:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Werkzeug (Old)
and /work/SRC/openSUSE:Factory/.python-Werkzeug.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Werkzeug"
Tue Jun 18 14:43:20 2019 rev:23 rq:705643 version:0.15.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Werkzeug/python-Werkzeug.changes
2018-05-13 15:56:54.936172334 +0200
+++
/work/SRC/openSUSE:Factory/.python-Werkzeug.new.4811/python-Werkzeug.changes
2019-06-18 14:43:25.333748789 +0200
@@ -1,0 +2,8 @@
+Mon May 27 08:43:55 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 0.15.4
+- refreshed 0001_create_a_thread_to_reap_death_process.patch
+- drop python-Werkzeug-doc package
+- last stable update with long Changelog -> please see CHANGELOG.rst
+
+-------------------------------------------------------------------
Old:
----
Werkzeug-0.14.1.tar.gz
python-Werkzeug-doc.changes
python-Werkzeug-doc.spec
New:
----
Werkzeug-0.15.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Werkzeug.spec ++++++
--- /var/tmp/diff_new_pack.dmPmHT/_old 2019-06-18 14:43:26.213748661 +0200
+++ /var/tmp/diff_new_pack.dmPmHT/_new 2019-06-18 14:43:26.213748661 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Werkzeug
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Werkzeug
-Version: 0.14.1
+Version: 0.15.4
Release: 0
Summary: The Swiss Army knife of Python web development
License: BSD-3-Clause
@@ -32,15 +32,15 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python2
BuildArch: noarch
-%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
Recommends: python-termcolor
Recommends: python-watchdog
-%endif
+Obsoletes: python-Werkzeug-doc < %{version}
+Provides: python-Werkzeug-doc = %{version}
+
%ifpython2
-Requires: python2
Provides: %{oldpython}-werkzeug = %{version}
Obsoletes: %{oldpython}-werkzeug < %{version}
%endif
@@ -63,7 +63,6 @@
%prep
%setup -q -n Werkzeug-%{version}
-sed -i "s/\r//" LICENSE # Fix wrong EOL-encoding
sed -i "1d"
examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py
# Fix non-executable scripts
%patch0 -p1
@@ -72,17 +71,16 @@
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%{python_expand export LANG=en_US.UTF-8
+export LANG=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
-$python -m pytest
-}
+%pytest
%files %{python_files}
-%license LICENSE
-%doc AUTHORS CHANGES.rst
+%license LICENSE.rst
+%doc CHANGES.rst README.rst
%{python_sitelib}/*
%changelog
++++++ 0001_create_a_thread_to_reap_death_process.patch ++++++
--- /var/tmp/diff_new_pack.dmPmHT/_old 2019-06-18 14:43:26.229748659 +0200
+++ /var/tmp/diff_new_pack.dmPmHT/_new 2019-06-18 14:43:26.229748659 +0200
@@ -19,29 +19,28 @@
werkzeug/serving.py | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
-Index: Werkzeug-0.12.1/werkzeug/serving.py
+Index: Werkzeug-0.15.4/src/werkzeug/serving.py
===================================================================
---- Werkzeug-0.12.1.orig/werkzeug/serving.py
-+++ Werkzeug-0.12.1/werkzeug/serving.py
-@@ -41,6 +41,7 @@ import os
+--- Werkzeug-0.15.4.orig/src/werkzeug/serving.py
++++ Werkzeug-0.15.4/src/werkzeug/serving.py
+@@ -41,6 +41,7 @@ import signal
import socket
import sys
- import signal
-+import threading
-
- can_fork = hasattr(os, "fork")
-@@ -562,13 +563,31 @@ class ForkingWSGIServer(ForkingMixIn, Ba
- multiprocess = True
-
- def __init__(self, host, port, app, processes=40, handler=None,
-- passthrough_errors=False, ssl_context=None, fd=None):
-+ passthrough_errors=False, ssl_context=None, fd=None,
-+ frequency=5):
++import threading
+ import werkzeug
+ from ._compat import PY2
+ from ._compat import reraise
+@@ -775,6 +776,7 @@ class ForkingWSGIServer(ForkingMixIn, Ba
+ passthrough_errors=False,
+ ssl_context=None,
+ fd=None,
++ frequency=5,
+ ):
if not can_fork:
- raise ValueError('Your platform does not support forking.')
- BaseWSGIServer.__init__(self, host, port, app, handler,
- passthrough_errors, ssl_context, fd)
+ raise ValueError("Your platform does not support forking.")
+@@ -783,6 +785,23 @@ class ForkingWSGIServer(ForkingMixIn, Ba
+ )
self.max_children = processes
+ if frequency:
@@ -62,5 +61,5 @@
+ self.setup_reap_children()
+
- def make_server(host=None, port=None, app=None, threaded=False, processes=1,
- request_handler=None, passthrough_errors=False,
+ def make_server(
+ host=None,
++++++ Werkzeug-0.14.1.tar.gz -> Werkzeug-0.15.4.tar.gz ++++++
++++ 71347 lines of diff (skipped)