Hello community,

here is the log from the commit of package python-websockets for 
openSUSE:Factory checked in at 2019-08-13 20:45:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-websockets (Old)
 and      /work/SRC/openSUSE:Factory/.python-websockets.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-websockets"

Tue Aug 13 20:45:27 2019 rev:8 rq:723124 version:8.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-websockets/python-websockets.changes      
2019-07-22 17:19:26.565910005 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-websockets.new.9556/python-websockets.changes
    2019-08-13 20:45:28.255041589 +0200
@@ -1,0 +2,7 @@
+Tue Aug 13 16:35:47 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 8.0.2:
+  * Restored the ability to pass a socket with the sock parameter of 
:func:`~server.serve`.
+  * Removed an incorrect assertion when a connection drops.
+
+-------------------------------------------------------------------

Old:
----
  8.0.1.tar.gz

New:
----
  8.0.2.tar.gz

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

Other differences:
------------------
++++++ python-websockets.spec ++++++
--- /var/tmp/diff_new_pack.Cv6Pjv/_old  2019-08-13 20:45:30.811040852 +0200
+++ /var/tmp/diff_new_pack.Cv6Pjv/_new  2019-08-13 20:45:30.859040838 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-websockets
-Version:        8.0.1
+Version:        8.0.2
 Release:        0
 Summary:        An implementation of the WebSocket Protocol (RFC 6455)
 License:        BSD-3-Clause

++++++ 8.0.1.tar.gz -> 8.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/websockets-8.0.1/docs/changelog.rst 
new/websockets-8.0.2/docs/changelog.rst
--- old/websockets-8.0.1/docs/changelog.rst     2019-07-21 07:38:10.000000000 
+0200
+++ new/websockets-8.0.2/docs/changelog.rst     2019-07-31 21:14:25.000000000 
+0200
@@ -8,6 +8,14 @@
 
 *In development*
 
+8.0.2
+.....
+
+* Restored the ability to pass a socket with the ``sock`` parameter of
+  :func:`~server.serve`.
+
+* Removed an incorrect assertion when a connection drops.
+
 8.0.1
 .....
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/websockets-8.0.1/docs/conf.py 
new/websockets-8.0.2/docs/conf.py
--- old/websockets-8.0.1/docs/conf.py   2019-07-21 07:38:10.000000000 +0200
+++ new/websockets-8.0.2/docs/conf.py   2019-07-31 21:14:25.000000000 +0200
@@ -61,7 +61,7 @@
 # The short X.Y version.
 version = '8.0'
 # The full version, including alpha/beta/rc tags.
-release = '8.0.1'
+release = '8.0.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/websockets-8.0.1/src/websockets/protocol.py 
new/websockets-8.0.2/src/websockets/protocol.py
--- old/websockets-8.0.1/src/websockets/protocol.py     2019-07-21 
07:38:10.000000000 +0200
+++ new/websockets-8.0.2/src/websockets/protocol.py     2019-07-31 
21:14:25.000000000 +0200
@@ -479,7 +479,6 @@
                 if self.legacy_recv:
                     return None  # type: ignore
                 else:
-                    assert self.state in [State.CLOSING, State.CLOSED]
                     # Wait until the connection is closed to raise
                     # ConnectionClosed with the correct code and reason.
                     await self.ensure_open()
@@ -760,8 +759,8 @@
         # Handle cases from most common to least common for performance.
         if self.state is State.OPEN:
             # If self.transfer_data_task exited without a closing handshake,
-            # self.close_connection_task may be closing it, going straight
-            # from OPEN to CLOSED.
+            # self.close_connection_task may be closing the connection, going
+            # straight from OPEN to CLOSED.
             if self.transfer_data_task.done():
                 await asyncio.shield(self.close_connection_task)
                 raise self.connection_closed_exc()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/websockets-8.0.1/src/websockets/server.py 
new/websockets-8.0.2/src/websockets/server.py
--- old/websockets-8.0.1/src/websockets/server.py       2019-07-21 
07:38:10.000000000 +0200
+++ new/websockets-8.0.2/src/websockets/server.py       2019-07-31 
21:14:25.000000000 +0200
@@ -928,9 +928,6 @@
         )
 
         if path is None:
-            # serve(..., host, port) must specify host and port parameters.
-            # host can be None to listen on all interfaces; port cannot be 
None.
-            assert port is not None
             create_server = functools.partial(
                 loop.create_server, factory, host, port, **kwargs
             )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/websockets-8.0.1/src/websockets/version.py 
new/websockets-8.0.2/src/websockets/version.py
--- old/websockets-8.0.1/src/websockets/version.py      2019-07-21 
07:38:10.000000000 +0200
+++ new/websockets-8.0.2/src/websockets/version.py      2019-07-31 
21:14:25.000000000 +0200
@@ -1 +1 @@
-version = "8.0.1"
+version = "8.0.2"


Reply via email to