Hello community,

here is the log from the commit of package python-falcon for openSUSE:Factory 
checked in at 2018-03-20 21:55:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-falcon (Old)
 and      /work/SRC/openSUSE:Factory/.python-falcon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-falcon"

Tue Mar 20 21:55:40 2018 rev:10 rq:583416 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-falcon/python-falcon.changes      
2017-10-11 22:57:07.908006016 +0200
+++ /work/SRC/openSUSE:Factory/.python-falcon.new/python-falcon.changes 
2018-03-20 21:55:42.955714879 +0100
@@ -1,0 +2,79 @@
+Tue Mar  6 13:56:37 UTC 2018 - [email protected]
+
+- Allows Recommends and Suggest in Fedora
+
+-------------------------------------------------------------------
+Tue Feb 27 17:16:01 UTC 2018 - [email protected]
+
+- Suggests only for SUSE
+
+-------------------------------------------------------------------
+Wed Jan 17 03:58:52 UTC 2018 - [email protected]
+
+- specfile:
+  * update copyright year
+  * require pygments-style-railscasts to build documentation
+
+- update to version 1.4.1:
+  * Fixed
+    + Reverted the breaking change in 1.4.0 to
+      "falcon.testing.Result.json".  Minor releases should have no
+      breaking changes.
+    + The README was not rendering properly on PyPI. This was fixed
+      and a validation step was added to the build process.
+
+- changes from version 1.4.0:
+  * New & Improved
+    + We added a new method, API.add_static_route(), that makes it
+      easy to serve files from a local directory. This feature
+      provides an alternative to serving files from the web server
+      when you don't have that option, when authorization is required,
+      or for testing purposes.
+    + Arguments can now be passed to hooks.
+    + The default JSON media type handler will now use ujson, if
+      available, to speed up JSON (de)serialization under CPython.
+    + Semantic validation via the format keyword is now enabled for
+      the falcon.media.validators.jsonschema.validate() JSON Schema
+      decorator.
+    + We added a new helper, falcon.Request.get_param_as_uuid(), to
+      the Request class.
+    + We added a new property, downloadable_as, to the Response class
+      for setting the Content-Disposition header.
+    + Falcon now supports WebDAV methods (RFC 3253), such as UPDATE
+      and REPORT.
+    + falcon.routing.create_http_method_map has been refactored into
+      two new methods, falcon.routing.map_http_methods and
+      falcon.routing.set_default_responders, so that custom routers
+      can better pick and choose the functionality they need. The
+      original method is still available for backwards-compatibility,
+      but will be removed in a future release.
+    + We added a new json param to falcon.testing.simulate_request()
+      et al. to automatically serialize the request body from a JSON
+      serializable object or type (for a complete list of serializable
+      types, see json.JSONEncoder).
+    + TestClient's simulate_*() methods now call
+      TestClient.simulate_request to make it easier for subclasses to
+      override TestClient's behavior.
+    + TestClient can now be configured with a default set of headers
+      to send with every request.
+    + testing.Result.json now returns None when the response body is
+      empty, rather than raising an error.
+    + The FAQ has been reorganized and greatly expanded.
+    + We restyled the docs to match https://falconframework.org
+  * Fixed
+    + Forwarded headers containing quoted strings with commas were not
+      being parsed correctly. This has been fixed, and the parser
+      generally made more robust.
+    + falcon.media.JSONHandler was raising an error under Python 2.x
+      when serializing strings containing Unicode code points. This
+      issue has been fixed.
+    + Overriding a resource class and calling its responders via
+      super() did not work when passing URI template params as
+      positional arguments. This has now been fixed.
+    + Python 3.6 was generating warnings for strings containing '\s'
+      within Falcon. These strings have been converted to raw strings
+      to mitigate the warning.
+    + Several syntax errors were found and fixed in the code examples
+      used in the docs.
+
+-------------------------------------------------------------------

Old:
----
  1.3.0.tar.gz

New:
----
  falcon-1.4.1.tar.gz

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

Other differences:
------------------
++++++ python-falcon.spec ++++++
--- /var/tmp/diff_new_pack.nq3TgX/_old  2018-03-20 21:55:44.187670519 +0100
+++ /var/tmp/diff_new_pack.nq3TgX/_new  2018-03-20 21:55:44.191670375 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-falcon
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,17 +19,19 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:           python-falcon
-Version:        1.3.0
+Version:        1.4.1
 Release:        0
 Summary:        A web framework for building APIs and app backends
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://falconframework.org
-Source:         https://github.com/falconry/falcon/archive/%{version}.tar.gz
+Source:         
https://github.com/falconry/falcon/archive/%{version}.tar.gz#./falcon-%{version}.tar.gz
 # The file on pypi misses docs/ext, should be fixed in next version
-#Source:         
https://files.pythonhosted.org/packages/source/f/falcon/falcon-%%{version}.tar.gz
+# Source:         
https://files.pythonhosted.org/packages/source/f/falcon/falcon-%%{version}.tar.gz
 # PATCH-FIX-UPSTREAM remove_failing_test.patch [email protected] -- 
removes a broken test
 Patch0:         remove_failing_test.patch
+# TODO: Cython support
+# BuildRequires:  %%{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -51,10 +53,14 @@
 # /SECTION
 # SECTION docs
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-pygments-style-railscasts
 # /SECTION
+# Requires:       python-Cython
 Requires:       python-python-mimeparse
 Requires:       python-six
+%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Suggests:       %{name}-doc
+%endif
 Requires(post):   update-alternatives
 Requires(postun):  update-alternatives
 
@@ -77,7 +83,8 @@
 %setup -q -n falcon-%{version}
 %patch0 -p1
 # remove unwanted shebang
-sed -i '1s/^#!.*//' falcon/bench/bench.py falcon/cmd/print_routes.py
+sed -i '1s/^#!.*//' falcon/bench/bench.py falcon/cmd/print_routes.py 
falcon/bench/dj/manage.py
+chmod a-x falcon/bench/dj/manage.py
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"


Reply via email to