#1132356 flask-socketio: autopkgtest needs update for new version of flask

#1132356#5
Date:
2026-03-30 20:21:56 UTC
From:
To:
Dear maintainer(s),

With a recent upload of flask the autopkgtest of flask-socketio fails in
testing when that autopkgtest is run with the binary packages of flask
from unstable. It passes when run with only packages from testing. In
tabular form:

                        pass            fail
flask                  from testing    3.1.3-1
flask-socketio         from testing    5.6.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of flask to testing [1].

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from flask should really add a
versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=flask

https://ci.debian.net/data/autopkgtest/testing/amd64/f/flask-socketio/69884824/log.gz

  31s EEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEE.
  31s ======================================================================
  31s ERROR: test_ack (__main__.TestSocketIO.test_ack)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 623, in test_ack
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_background_task
(__main__.TestSocketIO.test_background_task)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 806, in test_background_task
  31s     client = socketio.test_client(app, namespace='/bgtest')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_broadcast (__main__.TestSocketIO.test_broadcast)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 494, in test_broadcast
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_broadcast_namespace
(__main__.TestSocketIO.test_broadcast_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 508, in test_broadcast_namespace
  31s     client1 = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect (__main__.TestSocketIO.test_connect)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 303, in test_connect
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_class_based
(__main__.TestSocketIO.test_connect_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 685, in test_connect_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_class_based_query_string_and_headers
(__main__.TestSocketIO.test_connect_class_based_query_string_and_headers)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 694, in test_connect_class_based_query_string_and_headers
  31s     client = socketio.test_client(
  31s         app, namespace='/ns', query_string='foo=bar',
  31s         headers={'Authorization': 'Basic foobar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_namespace
(__main__.TestSocketIO.test_connect_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 333, in test_connect_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_namespace_query_string_and_headers
(__main__.TestSocketIO.test_connect_namespace_query_string_and_headers)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 344, in test_connect_namespace_query_string_and_headers
  31s     client = socketio.test_client(
  31s         app, namespace='/test', query_string='foo=bar',
  31s         headers={'My-Custom-Header': 'Value'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_query_string_and_headers
(__main__.TestSocketIO.test_connect_query_string_and_headers)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 320, in test_connect_query_string_and_headers
  31s     client = socketio.test_client(
  31s         app, query_string='?foo=bar&foo=baz',
  31s         headers={'Authorization': 'Bearer foobar'},
  31s         auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_connect_rejected
(__main__.TestSocketIO.test_connect_rejected)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 355, in test_connect_rejected
  31s     client = socketio.test_client(app, query_string='fail=1',
  31s                                   auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_delayed_init (__main__.TestSocketIO.test_delayed_init)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 774, in test_delayed_init
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_disconnect (__main__.TestSocketIO.test_disconnect)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 362, in test_disconnect
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_disconnect_class_based
(__main__.TestSocketIO.test_disconnect_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 708, in test_disconnect_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_disconnect_namespace
(__main__.TestSocketIO.test_disconnect_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 369, in test_disconnect_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_emit (__main__.TestSocketIO.test_emit)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 430, in test_emit
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_emit_binary (__main__.TestSocketIO.test_emit_binary)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 440, in test_emit_binary
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_emit_catch_all_event
(__main__.TestSocketIO.test_emit_catch_all_event)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 450, in test_emit_catch_all_event
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_emit_class_based
(__main__.TestSocketIO.test_emit_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 744, in test_emit_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_emit_namespace (__main__.TestSocketIO.test_emit_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 484, in test_emit_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_encode_decode (__main__.TestSocketIO.test_encode_decode)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 780, in test_encode_decode
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_encode_decode_2
(__main__.TestSocketIO.test_encode_decode_2)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 794, in test_encode_decode_2
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_error_handling (__main__.TestSocketIO.test_error_handling)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 599, in test_error_handling
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_error_handling_ack
(__main__.TestSocketIO.test_error_handling_ack)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 651, in test_error_handling_ack
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_error_handling_default
(__main__.TestSocketIO.test_error_handling_default)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 619, in test_error_handling_default
  31s     client.emit("error testing", "", namespace='/unused_namespace')
  31s     ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
199, in emit
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
encoded_pkt)
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
660, in _handle_eio_message
  31s     self._handle_event(eio_sid, pkt.namespace, pkt.id, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
589, in _handle_event
  31s     self._handle_event_internal(self, sid, eio_sid, data, namespace,
  31s     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                 id)
  31s                                 ^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
594, in _handle_event_internal
  31s     r = server._trigger_event(data[0], namespace, sid, *data[1:])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_error_handling_namespace
(__main__.TestSocketIO.test_error_handling_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 607, in test_error_handling_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_managed_session
(__main__.TestSocketIO.test_managed_session)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 525, in test_managed_session
  31s     client = socketio.test_client(app, flask_test_client=flask_client,
  31s                                   auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_noack (__main__.TestSocketIO.test_noack)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 639, in test_noack
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_on_event (__main__.TestSocketIO.test_on_event)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 665, in test_on_event
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_request_event_data
(__main__.TestSocketIO.test_request_event_data)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 471, in test_request_event_data
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_request_event_data_class_based
(__main__.TestSocketIO.test_request_event_data_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 754, in test_request_event_data_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_room (__main__.TestSocketIO.test_room)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 553, in test_room
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send (__main__.TestSocketIO.test_send)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 393, in test_send
  31s     client = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_catch_all_namespace
(__main__.TestSocketIO.test_send_catch_all_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 461, in test_send_catch_all_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_class_based
(__main__.TestSocketIO.test_send_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 713, in test_send_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_json (__main__.TestSocketIO.test_send_json)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 401, in test_send_json
  31s     client1 = socketio.test_client(app, auth={'foo': 'bar'})
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
534, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid], data)
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_json_class_based
(__main__.TestSocketIO.test_send_json_class_based)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 721, in test_send_json_class_based
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_json_namespace
(__main__.TestSocketIO.test_send_json_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 422, in test_send_json_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_send_namespace (__main__.TestSocketIO.test_send_namespace)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 414, in test_send_namespace
  31s     client = socketio.test_client(app, namespace='/test')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
620, in _trigger_event
  31s     return handler(*args)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 291,
in _handler
  31s     return self._handle_event(handler, message, real_ns, sid,
  31s            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                               *args)
  31s                               ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
======================================================================
  31s ERROR: test_server_disconnected
(__main__.TestSocketIO.test_server_disconnected)
  31s ----------------------------------------------------------------------
  31s Traceback (most recent call last):
  31s   File
"/tmp/autopkgtest-lxc.xmvy5ji_/downtmp/build.3b6/src/debian/tests/test_socketio.py",
line 729, in test_server_disconnected
  31s     client = socketio.test_client(app, namespace='/ns')
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 790,
in test_client
  31s     return SocketIOTestClient(app, self, namespace=namespace,
  31s                               query_string=query_string,
headers=headers,
  31s                               auth=auth,
  31s                               flask_test_client=flask_test_client)
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line 98,
in __init__
  31s     self.connect(namespace=namespace, query_string=query_string,
  31s     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                  headers=headers, auth=auth)
  31s                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/test_client.py", line
151, in connect
  31s     self.socketio.server._handle_eio_message(self.eio_sid,
pkt.encode())
  31s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
655, in _handle_eio_message
  31s     self._handle_connect(eio_sid, pkt.namespace, pkt.data)
  31s     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
538, in _handle_connect
  31s     success = self._trigger_event(
  31s         'connect', namespace, sid, self.environ[eio_sid])
  31s   File "/usr/lib/python3/dist-packages/socketio/server.py", line
630, in _trigger_event
  31s     return handler.trigger_event(event, *args)
  31s            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/namespace.py", line 26,
in trigger_event
  31s     return self.socketio._handle_event(handler, event, self.namespace,
  31s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31s                                        *args)
  31s                                        ^^^^^^
  31s   File
"/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 815,
in _handle_event
  31s     ctx.session = session_obj
  31s     ^^^^^^^^^^^
  31s AttributeError: property 'session' of 'RequestContext' object has
no setter
  31s  31s
----------------------------------------------------------------------
  31s Ran 42 tests in 0.066s
  31s  31s FAILED (errors=40)
  31s autopkgtest [21:23:51]: test verify.sh

#1132356#12
Date:
2026-04-13 14:31:30 UTC
From:
To:
Hi,

importing and simply building the current most recent version of
flask-socketio let the test suite pass again.

Tested within a local build.

Regards
Carsten

#1132356#17
Date:
2026-07-07 12:49:45 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
flask-socketio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1132356@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Knauß <hefee@debian.org> (supplier of updated flask-socketio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 07 Jul 2026 14:12:24 +0200
Source: flask-socketio
Architecture: source
Version: 5.6.1-0.1
Distribution: unstable
Urgency: medium
Maintainer: Paulo Henrique de Lima Santana (phls) <phls@debian.org>
Changed-By: Sandro Knauß <hefee@debian.org>
Closes: 1132356
Changes:
 flask-socketio (5.6.1-0.1) unstable; urgency=medium
 .
   * Non-Maintainer Upload.
   * New upstream version 5.6.1 (Closes: #1132356).
Checksums-Sha1:
 d0f9b1571d6811e0469dd6fa81a1141c548496ba 2268 flask-socketio_5.6.1-0.1.dsc
 b9c7f277e6051f23c239612e10291f7e854797e2 37857 flask-socketio_5.6.1.orig.tar.gz
 81381406785204a4ccf63228e0b54076cb1b88ce 31796 flask-socketio_5.6.1-0.1.debian.tar.xz
 a65d6e1ba884e421f26a4b61b0c61a5009b2fb4d 9835 flask-socketio_5.6.1-0.1_source.buildinfo
Checksums-Sha256:
 697709b157f9b44b7cfb4ba5644346a590185319396c8df4ede1401e54cdad27 2268 flask-socketio_5.6.1-0.1.dsc
 fe5bd995c3ed4da9a98f335d0d830fa1a19d84a64789f6265642a671fdacaeac 37857 flask-socketio_5.6.1.orig.tar.gz
 30b9c80286b365f7042d5a2cdd861c2bf5a68ed4f74207b63ce399bddca379bf 31796 flask-socketio_5.6.1-0.1.debian.tar.xz
 c82b29631dcbd4148143f6eb0fe1c3ac8787700ef2d1c16f1f26a9fa754ef2e0 9835 flask-socketio_5.6.1-0.1_source.buildinfo
Files:
 f09b7eb9c7d94278f75a6998aab0047c 2268 python optional flask-socketio_5.6.1-0.1.dsc
 576ef011a48fc56ad69d862f16d6686a 37857 python optional flask-socketio_5.6.1.orig.tar.gz
 0d4c7a81adad19e6d9927408cfd5c395 31796 python optional flask-socketio_5.6.1-0.1.debian.tar.xz
 2bdb6060687e1f4adbf3c03f1f3a4832 9835 python optional flask-socketio_5.6.1-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJqTO/mCRDjrbAIUGBWNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmemNH7ymoOS7cfGvmctytDaeUd/1I8VPM2eNYJSkDc0
RhYhBDnsEaAgFrcpJkkaBuOtsAhQYFY2AACVxw//ZVKQoCRC+GaEoAWv0F1nFh66
cPED9j1C01BAKRHzdBC4y6MKvTzqOWWZtTv+y4VHssvFO9qf2iEQb7LZu+D4a6yv
T3Xibwox8W6pQ5e+rgnN9RZ56OXtDpGdnSWDur1NuaHXrp9Lynvsa77KxcSVUGz/
lDi9Cwg//d+40d/dUboKHAeovbC794SrdyUqPIpGf5jYnoFOku4SUEbeq3KabbVR
Kilu++ZBCgZRmjOtroLai9k2XjgQctYhsXG6gFDR84kjrlmF6DcGJKuLDa2tI5NU
A6ffWADWm8sU8B10nsptUJbYjUevKZbM6+73m6cRVcC9jDyCKM47KJlA+p5A9fTo
VRnUSX3wYJ208lghHaMggAeIVMpcd1/b4vz9VWQ4CB9oRlKdmV7OcxKeKxPDRYPR
4gmgmTjWULx19jsCxlJctzAV9Lun+iLGpV/eMDZbcnOInTtPw2OEbxCXKgS5g8y/
Q05Nu8g8CsKOerquZC0yftTpKcFV81ZmJWfdnsS9qzBhV3XN4TWQedUPWxfIdg4A
gyOxMhP9yYqcReB7OBC+rCQ3y6g/mhbVErl59+7DjYyX2DuJE+NF0F8Hcy6nyvl0
YQOzThWJ8fyQqdiVjXlr9hMmitXF65LcLdl0AV5kHZ0Pn980V4vqFiayfKjhbi7T
Bt5qfO9V7Qm5iRS04pQ=
=SQVt
-----END PGP SIGNATURE-----