- 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/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=47
This commit is contained in:
parent
dc8764cd01
commit
d119b4ffd5
@ -19,19 +19,19 @@ Fixes #810
|
|||||||
werkzeug/serving.py | 21 ++++++++++++++++++++-
|
werkzeug/serving.py | 21 ++++++++++++++++++++-
|
||||||
1 file changed, 20 insertions(+), 1 deletion(-)
|
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.16.0.orig/src/werkzeug/serving.py
|
||||||
+++ Werkzeug-0.15.4/src/werkzeug/serving.py
|
+++ Werkzeug-0.16.0/src/werkzeug/serving.py
|
||||||
@@ -41,6 +41,7 @@ import signal
|
@@ -40,6 +40,7 @@ import os
|
||||||
|
import signal
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
+import threading
|
+import threading
|
||||||
import werkzeug
|
|
||||||
from ._compat import PY2
|
from ._compat import PY2
|
||||||
from ._compat import reraise
|
from ._compat import reraise
|
||||||
@@ -775,6 +776,7 @@ class ForkingWSGIServer(ForkingMixIn, Ba
|
@@ -776,6 +777,7 @@ class ForkingWSGIServer(ForkingMixIn, Ba
|
||||||
passthrough_errors=False,
|
passthrough_errors=False,
|
||||||
ssl_context=None,
|
ssl_context=None,
|
||||||
fd=None,
|
fd=None,
|
||||||
@ -39,7 +39,7 @@ Index: Werkzeug-0.15.4/src/werkzeug/serving.py
|
|||||||
):
|
):
|
||||||
if not can_fork:
|
if not can_fork:
|
||||||
raise ValueError("Your platform does not support forking.")
|
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
|
self.max_children = processes
|
||||||
|
|
||||||
|
@ -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
3
Werkzeug-0.16.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7280924747b5733b246fe23972186c6b348f9ae29724135a6dfc1e53cea433e7
|
||||||
|
size 925717
|
@ -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>
|
Fri Sep 13 13:06:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-Werkzeug
|
Name: python-Werkzeug
|
||||||
Version: 0.15.6
|
Version: 0.16.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Swiss Army knife of Python web development
|
Summary: The Swiss Army knife of Python web development
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
Loading…
Reference in New Issue
Block a user