Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Flask-SocketIO for 
openSUSE:Factory checked in at 2023-12-18 22:56:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-SocketIO (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-SocketIO.new.9037 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-SocketIO"

Mon Dec 18 22:56:51 2023 rev:6 rq:1133839 version:5.3.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-Flask-SocketIO/python-Flask-SocketIO.changes  
    2023-12-06 23:50:12.555615504 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-SocketIO.new.9037/python-Flask-SocketIO.changes
    2023-12-18 22:56:57.905857470 +0100
@@ -1,0 +2,7 @@
+Mon Dec 18 12:19:34 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 5.3.6:
+  * Fixes in the test client to support recent changes in Socket.IO
+    dependencies
+
+-------------------------------------------------------------------

Old:
----
  Flask-SocketIO-5.3.5.tar.gz

New:
----
  Flask-SocketIO-5.3.6.tar.gz

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

Other differences:
------------------
++++++ python-Flask-SocketIO.spec ++++++
--- /var/tmp/diff_new_pack.RPUec2/_old  2023-12-18 22:56:59.761925443 +0100
+++ /var/tmp/diff_new_pack.RPUec2/_new  2023-12-18 22:56:59.761925443 +0100
@@ -16,10 +16,9 @@
 #
 
 
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-Flask-SocketIO
-Version:        5.3.5
+Version:        5.3.6
 Release:        0
 Summary:        SocketIO integration for Flask applications
 License:        MIT

++++++ Flask-SocketIO-5.3.5.tar.gz -> Flask-SocketIO-5.3.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-SocketIO-5.3.5/PKG-INFO 
new/Flask-SocketIO-5.3.6/PKG-INFO
--- old/Flask-SocketIO-5.3.5/PKG-INFO   2023-07-26 20:14:16.724852000 +0200
+++ new/Flask-SocketIO-5.3.6/PKG-INFO   2023-09-05 11:35:05.015492200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Flask-SocketIO
-Version: 5.3.5
+Version: 5.3.6
 Summary: Socket.IO integration for Flask applications
 Home-page: https://github.com/miguelgrinberg/flask-socketio
 Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-SocketIO-5.3.5/setup.cfg 
new/Flask-SocketIO-5.3.6/setup.cfg
--- old/Flask-SocketIO-5.3.5/setup.cfg  2023-07-26 20:14:16.724852000 +0200
+++ new/Flask-SocketIO-5.3.6/setup.cfg  2023-09-05 11:35:05.015492200 +0200
@@ -1,6 +1,6 @@
 [metadata]
 name = Flask-SocketIO
-version = 5.3.5
+version = 5.3.6
 author = Miguel Grinberg
 author_email = miguel.grinb...@gmail.com
 description = Socket.IO integration for Flask applications
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Flask-SocketIO-5.3.5/src/Flask_SocketIO.egg-info/PKG-INFO 
new/Flask-SocketIO-5.3.6/src/Flask_SocketIO.egg-info/PKG-INFO
--- old/Flask-SocketIO-5.3.5/src/Flask_SocketIO.egg-info/PKG-INFO       
2023-07-26 20:14:16.000000000 +0200
+++ new/Flask-SocketIO-5.3.6/src/Flask_SocketIO.egg-info/PKG-INFO       
2023-09-05 11:35:05.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Flask-SocketIO
-Version: 5.3.5
+Version: 5.3.6
 Summary: Socket.IO integration for Flask applications
 Home-page: https://github.com/miguelgrinberg/flask-socketio
 Author: Miguel Grinberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Flask-SocketIO-5.3.5/src/flask_socketio/test_client.py 
new/Flask-SocketIO-5.3.6/src/flask_socketio/test_client.py
--- old/Flask-SocketIO-5.3.5/src/flask_socketio/test_client.py  2023-06-13 
11:40:37.000000000 +0200
+++ new/Flask-SocketIO-5.3.6/src/flask_socketio/test_client.py  2023-09-05 
11:33:49.000000000 +0200
@@ -59,6 +59,23 @@
             elif pkt.packet_type in [packet.DISCONNECT, packet.CONNECT_ERROR]:
                 client.connected[pkt.namespace or '/'] = False
 
+        _current_packet = None
+
+        def _mock_send_eio_packet(eio_sid, eio_pkt):
+            nonlocal _current_packet
+            if _current_packet is not None:
+                _current_packet.add_attachment(eio_pkt.data)
+                if _current_packet.attachment_count == \
+                        len(_current_packet.attachments):
+                    _mock_send_packet(eio_sid, _current_packet)
+                    _current_packet = None
+            else:
+                pkt = packet.Packet(encoded_packet=eio_pkt.data)
+                if pkt.attachment_count == 0:
+                    _mock_send_packet(eio_sid, pkt)
+                else:
+                    _current_packet = pkt
+
         self.app = app
         self.flask_test_client = flask_test_client
         self.eio_sid = uuid.uuid4().hex
@@ -69,6 +86,7 @@
         self.queue = []
         self.acks = None
         socketio.server._send_packet = _mock_send_packet
+        socketio.server._send_eio_packet = _mock_send_eio_packet
         socketio.server.environ[self.eio_sid] = {}
         socketio.server.async_handlers = False      # easier to test when
         socketio.server.eio.async_handlers = False  # events are sync

Reply via email to