Accepting request 732906 from devel:languages:python

- Update to 0.16.0:
  * Deprecate most top-level attributes provided by the werkzeug
    module in favor of direct imports. The deprecated imports will
    be removed in version 1.0.
- Rebase patch 0001_create_a_thread_to_reap_death_process.patch

OBS-URL: https://build.opensuse.org/request/show/732906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Werkzeug?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2019-09-30 13:55:23 +00:00 committed by Git OBS Bridge
commit 1b6e82af1c
5 changed files with 21 additions and 12 deletions

View File

@ -19,19 +19,19 @@ Fixes #810
werkzeug/serving.py | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
Index: Werkzeug-0.15.4/src/werkzeug/serving.py
Index: Werkzeug-0.16.0/src/werkzeug/serving.py
===================================================================
--- Werkzeug-0.15.4.orig/src/werkzeug/serving.py
+++ Werkzeug-0.15.4/src/werkzeug/serving.py
@@ -41,6 +41,7 @@ import signal
--- Werkzeug-0.16.0.orig/src/werkzeug/serving.py
+++ Werkzeug-0.16.0/src/werkzeug/serving.py
@@ -40,6 +40,7 @@ import os
import signal
import socket
import sys
+import threading
import werkzeug
from ._compat import PY2
from ._compat import reraise
@@ -775,6 +776,7 @@ class ForkingWSGIServer(ForkingMixIn, Ba
@@ -776,6 +777,7 @@ class ForkingWSGIServer(ForkingMixIn, Ba
passthrough_errors=False,
ssl_context=None,
fd=None,
@ -39,7 +39,7 @@ Index: Werkzeug-0.15.4/src/werkzeug/serving.py
):
if not can_fork:
raise ValueError("Your platform does not support forking.")
@@ -783,6 +785,23 @@ class ForkingWSGIServer(ForkingMixIn, Ba
@@ -784,6 +786,23 @@ class ForkingWSGIServer(ForkingMixIn, Ba
)
self.max_children = processes

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a24d43be6a7dce81bae05292356176d6c46d63e42a0dd3f9504b210a9cfaa43
size 926705

3
Werkzeug-0.16.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7280924747b5733b246fe23972186c6b348f9ae29724135a6dfc1e53cea433e7
size 925717

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Sep 24 10:15:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.16.0:
* Deprecate most top-level attributes provided by the werkzeug
module in favor of direct imports. The deprecated imports will
be removed in version 1.0.
- Rebase patch 0001_create_a_thread_to_reap_death_process.patch
-------------------------------------------------------------------
Fri Sep 13 13:06:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -19,7 +19,7 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Werkzeug
Version: 0.15.6
Version: 0.16.0
Release: 0
Summary: The Swiss Army knife of Python web development
License: BSD-3-Clause