Hello community,

here is the log from the commit of package python-Werkzeug for openSUSE:Factory 
checked in at 2017-04-24 09:47:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Werkzeug (Old)
 and      /work/SRC/openSUSE:Factory/.python-Werkzeug.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Werkzeug"

Mon Apr 24 09:47:54 2017 rev:17 rq:487845 version:0.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Werkzeug/python-Werkzeug-doc.changes      
2016-09-27 13:44:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Werkzeug.new/python-Werkzeug-doc.changes 
2017-04-24 09:47:55.995175037 +0200
@@ -1,0 +2,6 @@
+Tue Apr  4 15:47:05 UTC 2017 - [email protected]
+
+- update to 0.12.1
+- use python3-Sphinx for build
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-Werkzeug/python-Werkzeug.changes  
2016-11-28 15:06:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-Werkzeug.new/python-Werkzeug.changes     
2017-04-24 09:47:56.059165986 +0200
@@ -1,0 +2,49 @@
+Tue Apr  4 15:26:59 UTC 2017 - [email protected]
+
+- update for singlespec
+- update to 0.12.1
+  * deprecate werkzeug.script
+  * Use `inspect.getfullargspec` internally when available as
+    `inspect.getargspec` is gone in 3.6
+  * Added support for status code 451 and 423
+  * Improved the build error suggestions.  In particular only if
+    someone stringifies the error will the suggestions be calculated.
+  * Added support for uWSGI's caching backend.
+  * Fix a bug where iterating over a `FileStorage` would result in an infinite
+    loop.
+  * Datastructures now inherit from the relevant baseclasses from the
+    `collections` module in the stdlib. See #794.
+  * Add support for recognizing NetBSD, OpenBSD, FreeBSD, DragonFlyBSD 
platforms
+    in the user agent string.
+  * Recognize SeaMonkey browser name and version correctly
+  * Recognize Baiduspider, and bingbot user agents
+  * If `LocalProxy`'s wrapped object is a function, refer to it with 
__wrapped__
+    attribute.
+  * The defaults of ``generate_password_hash`` have been changed to more secure
+    ones, see pull request ``#753``.
+  * Add support for encoding in options header parsing, see pull request
+    ``#933``.
+  * ``test.Client`` now properly handles Location headers with relative URLs, 
see
+    pull request ``#879``.
+  * When `HTTPException` is raised, it now prints the description, for easier
+    debugging.
+  * Werkzeug's dict-like datastructures now have ``view``-methods under Python 
2,
+    see pull request ``#968``.
+  * Fix a bug in ``MultiPartParser`` when no ``stream_factory`` was provided
+    during initialization, see pull request ``#973``.
+  * Disable autocorrect and spellchecker in the debugger middleware's Python
+    prompt, see pull request ``#994``.
+  * Don't redirect to slash route when method doesn't match, see pull request
+    ``#907``.
+  * Fix a bug when using ``SharedDataMiddleware`` with frozen packages, see 
pull
+    request ``#959``.
+  * `Range` header parsing function fixed for invalid values ``#974``.
+  * Add support for byte Range Requests, see pull request ``#978``.
+  * Use modern cryptographic defaults in the dev servers ``#1004``.
+  * the post() method of the test client now accept file object through the 
data
+    parameter.
+  * Color run_simple's terminal output based on HTTP codes ``#1013``.
+  * Fix self-XSS in debugger console, see ``#1031``.
+  * Fix IPython 5.x shell support, see ``#1033``.
+
+-------------------------------------------------------------------

Old:
----
  Werkzeug-0.11.11.tar.gz

New:
----
  Werkzeug-0.12.1.tar.gz

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

Other differences:
------------------
++++++ python-Werkzeug-doc.spec ++++++
--- /var/tmp/diff_new_pack.je324C/_old  2017-04-24 09:47:56.843055116 +0200
+++ /var/tmp/diff_new_pack.je324C/_new  2017-04-24 09:47:56.847054550 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Werkzeug-doc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,23 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Werkzeug-doc
-Version:        0.11.11
+Version:        0.12.1
 Release:        0
 Url:            http://werkzeug.pocoo.org/
-Summary:        Documentation for python3-Werkzeug
+Summary:        Documentation for python-Werkzeug
 License:        BSD-3-Clause
 Group:          Documentation/Other
 Source:         
https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-Sphinx
-BuildRequires:  python-Werkzeug = %{version}
-BuildRequires:  python-setuptools
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-Werkzeug = %{version}
+BuildRequires:  python3-setuptools
 BuildArch:      noarch
-Requires:       python-Werkzeug = %{version}
+Provides:       %{python_module Werkzeug-doc = %{version}}
 
 %description
-Documentation and examples for python3-Werkzeug
+Documentation and examples for python-Werkzeug
 
 %prep
 %setup -q -n Werkzeug-%{version}

++++++ python-Werkzeug.spec ++++++
--- /var/tmp/diff_new_pack.je324C/_old  2017-04-24 09:47:56.883049459 +0200
+++ /var/tmp/diff_new_pack.je324C/_new  2017-04-24 09:47:56.883049459 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Werkzeug
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,27 +16,30 @@
 #
 
 
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Werkzeug
-Version:        0.11.11
+Version:        0.12.1
 Release:        0
-Url:            http://werkzeug.pocoo.org/
 Summary:        The Swiss Army knife of Python web development
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
+Url:            http://werkzeug.pocoo.org/
 Source:         
https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM 0001_create_a_thread_to_reap_death_process.patch 
bsc#954591
 Patch0:         0001_create_a_thread_to_reap_death_process.patch
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
-BuildRequires:  python-setuptools
-Provides:       python-werkzeug = %{version}
-Obsoletes:      python-werkzeug < %{version}
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
+Recommends:     python-watchdog
+Recommends:     python-termcolor
+%ifpython2
+Provides:       %{oldpython}-werkzeug = %{version}
+Obsoletes:      %{oldpython}-werkzeug < %{version}
 %endif
+%python_subpackages
 
 %description
 Werkzeug started as simple collection of various utilities for WSGI
@@ -60,15 +63,15 @@
 %patch0 -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-python setup.py test
+%python_exec setup.py test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE CHANGES
 %{python_sitelib}/*

++++++ 0001_create_a_thread_to_reap_death_process.patch ++++++
--- /var/tmp/diff_new_pack.je324C/_old  2017-04-24 09:47:56.911045499 +0200
+++ /var/tmp/diff_new_pack.je324C/_new  2017-04-24 09:47:56.911045499 +0200
@@ -19,28 +19,29 @@
  werkzeug/serving.py | 21 ++++++++++++++++++++-
  1 file changed, 20 insertions(+), 1 deletion(-)
 
-diff --git a/werkzeug/serving.py b/werkzeug/serving.py
-index 15b6cd7..778df2d 100644
---- a/werkzeug/serving.py
-+++ b/werkzeug/serving.py
-@@ -41,6 +41,7 @@
+Index: Werkzeug-0.12.1/werkzeug/serving.py
+===================================================================
+--- Werkzeug-0.12.1.orig/werkzeug/serving.py
++++ Werkzeug-0.12.1/werkzeug/serving.py
+@@ -41,6 +41,7 @@ import os
  import socket
  import sys
  import signal
 +import threading
  
- try:
-     import ssl
-
-@@ -524,11 +525,29 @@
+ 
+ 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):
+         if not can_fork:
+             raise ValueError('Your platform does not support forking.')
          BaseWSGIServer.__init__(self, host, port, app, handler,
-                                passthrough_errors, ssl_context, fd)
+                                 passthrough_errors, ssl_context, fd)
          self.max_children = processes
  
 +        if frequency:

++++++ Werkzeug-0.11.11.tar.gz -> Werkzeug-0.12.1.tar.gz ++++++
++++ 3936 lines of diff (skipped)


Reply via email to