Hello community,

here is the log from the commit of package python-falcon for openSUSE:Factory 
checked in at 2017-10-11 22:57:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-falcon (Old)
 and      /work/SRC/openSUSE:Factory/.python-falcon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-falcon"

Wed Oct 11 22:57:05 2017 rev:9 rq:531783 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-falcon/python-falcon.changes      
2017-09-26 21:14:47.635263059 +0200
+++ /work/SRC/openSUSE:Factory/.python-falcon.new/python-falcon.changes 
2017-10-11 22:57:07.908006016 +0200
@@ -1,0 +2,43 @@
+Tue Oct  3 05:44:49 UTC 2017 - [email protected]
+
+- specfile:
+  * require jsonschema
+  * require msgpack-python
+
+- updated patch
+
+- update to version 1.3.0:
+  * Changes to Supported Platforms
+    + CPython 3.6 is now fully supported.
+    + Falcon appears to work well on PyPy3.5, but we are waiting until
+      that platform is out of beta before officially supporting it.
+    + Support for both CPython 2.6 and Jython 2.7 is now deprecated
+      and will be discontinued in Falcon 2.0.
+  * New & Improved
+    + We added built-in resource representation serialization and
+      deserialization, including input validation based on JSON
+      Schema.
+    + URI template field converters are now supported. We expect to
+      expand this feature over time.
+    + A new method, get_param_as_datetime(), was added to the Request
+      class.
+    + A number of attributes were added to the Request class to make
+      proxy information easier to consume. These include the
+      forwarded, forwarded_uri, forwarded_scheme, forwarded_host, and
+      forwarded_prefix attributes. The prefix attribute was also added
+      as part of this work.
+    + A referer attribute was added to the Request class.
+    + We implemented __repr__() for Request, Response, and HTTPError
+      to aid in debugging.
+    + A number of Internet media type constants were defined to make
+      it easier to check and set content type headers.
+    + Several new 5xx error classes were implemented.
+  * Fixed
+    + If even a single cookie in the request to the server is
+      malformed, none of the cookies will be parsed
+      (all-or-nothing). Change the parser to simply skip bad cookies
+      (best-effort).
+    + API instances are not pickleable. Modify the default router to
+      fix this.
+
+-------------------------------------------------------------------

Old:
----
  1.2.0.tar.gz

New:
----
  1.3.0.tar.gz

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

Other differences:
------------------
++++++ python-falcon.spec ++++++
--- /var/tmp/diff_new_pack.WEnQFX/_old  2017-10-11 22:57:11.911830428 +0200
+++ /var/tmp/diff_new_pack.WEnQFX/_new  2017-10-11 22:57:11.915830253 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:           python-falcon
-Version:        1.2.0
+Version:        1.3.0
 Release:        0
 Summary:        A web framework for building APIs and app backends
 License:        Apache-2.0
@@ -39,6 +39,8 @@
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module ddt}
 BuildRequires:  %{python_module fixtures >= 1.3.0}
+BuildRequires:  %{python_module jsonschema}
+BuildRequires:  %{python_module msgpack-python}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-mimeparse >= 1.5.2}

++++++ 1.2.0.tar.gz -> 1.3.0.tar.gz ++++++
++++ 16154 lines of diff (skipped)

++++++ remove_failing_test.patch ++++++
--- /var/tmp/diff_new_pack.WEnQFX/_old  2017-10-11 22:57:12.127820956 +0200
+++ /var/tmp/diff_new_pack.WEnQFX/_new  2017-10-11 22:57:12.131820780 +0200
@@ -1,6 +1,6 @@
 --- falcon-1.2.0/tests/test_utils.py   2017-05-02 01:05:49.000000000 +0200
 +++ falcon-1.2.0/tests/test_utils.py   2017-09-02 11:54:01.484271099 +0200
-@@ -37,26 +37,6 @@
+@@ -33,19 +33,6 @@
          # below.
          self.uris = _arbitrary_uris(count=100, length=32)
  
@@ -11,18 +11,11 @@
 -        def old_thing():
 -            pass
 -
--        if six.PY3:
--            stream = io.StringIO()
--        else:
--            stream = io.BytesIO()
+-        with pytest.warns(UserWarning) as rec:
+-            old_thing()
 -
--        old_stderr = sys.stderr
--        sys.stderr = stream
--
--        old_thing()
--
--        sys.stderr = old_stderr
--        self.assertIn(msg, stream.getvalue())
+-        warn = rec.pop()
+-        assert msg in str(warn.message)
 -
      def test_http_now(self):
          expected = datetime.utcnow()


Reply via email to