1
0

13 Commits

Author SHA256 Message Date
9caf827ccb Accepting request 1196099 from devel:languages:python
- Update to version 4.8.0
  * Return consistent responses after Websocket connection ends
  * Migrate Python package metadata to pyproject.toml
  * Remove Python 3.7 from builds
  * Internal code restructure (no functional changes)
- Drop python-311.patch as it is included upstream

OBS-URL: https://build.opensuse.org/request/show/1196099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=7
2024-08-27 17:38:44 +00:00
3fcd75c05f Accepting request 1130384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1130384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=6
2023-12-02 16:13:16 +00:00
6f36c9b611 Accepting request 1130325 from home:alarrosa:branches:devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1130325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=10
2023-12-02 08:41:44 +00:00
396c594c20 Accepting request 1067992 from devel:languages:python
- Add python-311.patch to support python 3.11,
  gh#miguelgrinberg/python-engineio@ac3911356fbe

OBS-URL: https://build.opensuse.org/request/show/1067992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=5
2023-02-28 11:48:35 +00:00
0cb9def0ae - Add python-311.patch to support python 3.11,
gh#miguelgrinberg/python-engineio@ac3911356fbe

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=8
2023-02-21 10:06:34 +00:00
1758937229 Accepting request 1008713 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1008713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=4
2022-10-07 23:25:30 +00:00
e947477506 Accepting request 1008607 from home:yarunachalam:branches:devel:languages:python
- Update to version 4.3.4 
  * Let companion ASGI app handle lifespan events #287 (commit)
  * Use configured request timeout when making a WebSocket connection #286 (commit) (thanks jpfarias!)
- Update to version 4.3.3
  * Handle ASGI lifespan when running with a secondary ASGI app #284 (commit) (thanks mozartilize!)
  * Update deprecated usage of asyncio.wait() #281 (commit) (thanks Ben Beasley!)
  * Better handling of queued WebSocket messages in uWSGI #256 (commit)
  * Gracefully fail to decode empty packets #269 (commit)
  * Only attempt to set an async signal handler once #276 (commit)
- Update to version 4.3.2
  * Option to use a callable for cors_allowed_origins #264 (commit)
  * Close aiohttp session when disconnecting #272 (commit)
  * Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8 (commit)

OBS-URL: https://build.opensuse.org/request/show/1008607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=6
2022-10-07 07:55:51 +00:00
8a0ea1dc78 Accepting request 948408 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/948408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=3
2022-01-24 22:10:12 +00:00
7d821b0e41 Accepting request 948193 from home:DocB:branches:devel:languages:python
- version 4.3.1
 * Fix support for Sanic v21.9.0 and up (commit) (thanks 13g10n!)
 * Include example code in flake8 pass (commit)
 * Remove unused version constant #262 (commit 1 commit 2) 
 * Backward incompatible change: Reject websocket messages larger than max_http_buffer_size #260 (commit)
 * Enable or disable specific transports #259 (commit) (thanks Maciej Szeptuch!)
 * Option to disable the SIGINT handler in the client (commit)
 * Support binary packets with zero length #257 (commit)
 * Improve documentation on start_background_task() function (commit)
 * Remove unsanitized client input from error messages #250 (commit) (thanks André Carvalho!)
 * Use plaintext Content-Type when using polling #248 (commit) (thanks Tobias!)
 * Return better error messages for client connection errors #243 (commit)
 * Reuse the aiohttp client session on reconnects #226 (commit) 
 * Support setting socketio_path to the root URL #242 (commit)
 * Use the gevent selector to avoid 1024 file handle limitation of select#228 (commit)
 * Pass reason when closing a WebSocket connection (commit)
 * Improved project structure (commit)
 * Remove executable permissions from files that lack shebang lines #240 (commit) (thanks Ben Beasley!)

OBS-URL: https://build.opensuse.org/request/show/948193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=5
2022-01-24 13:28:03 +00:00
d5aadebcf1 Accepting request 895560 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=2
2021-06-01 08:37:07 +00:00
491721d3db Accepting request 895419 from home:DocB:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895419
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=3
2021-05-26 14:29:46 +00:00
e362c2515c Accepting request 852935 from devel:languages:python
from :misc

OBS-URL: https://build.opensuse.org/request/show/852935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-engineio?expand=0&rev=1
2020-12-04 20:29:00 +00:00
b3a9640422 Accepting request 851595 from home:jayvdb:py-submit
from :misc , intrinsic part of python-socketio with 2.1k stars
https://github.com/miguelgrinberg/python-socketio
no. 1270 on https://hugovk.github.io/top-pypi-packages/

OBS-URL: https://build.opensuse.org/request/show/851595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-engineio?expand=0&rev=1
2020-12-02 09:14:32 +00:00
2 changed files with 0 additions and 57 deletions

View File

@@ -1,54 +0,0 @@
diff --git a/tests/asyncio/test_asyncio_server.py b/tests/asyncio/test_asyncio_server.py
index 47b3e6e..a55e1e0 100644
--- a/tests/asyncio/test_asyncio_server.py
+++ b/tests/asyncio/test_asyncio_server.py
@@ -278,9 +278,9 @@ def test_connect_custom_ping_times(self, import_module):
assert packets[0].data['pingTimeout'] == 123000
assert packets[0].data['pingInterval'] == 456000
- @mock.patch('engineio.asyncio_socket.AsyncSocket')
@mock.patch('importlib.import_module')
- def test_connect_bad_poll(self, import_module, AsyncSocket):
+ @mock.patch('engineio.asyncio_server.asyncio_socket.AsyncSocket')
+ def test_connect_bad_poll(self, AsyncSocket, import_module):
a = self.get_async_mock()
import_module.side_effect = [a]
AsyncSocket.return_value = self._get_mock_socket()
@@ -290,9 +290,9 @@ def test_connect_bad_poll(self, import_module, AsyncSocket):
assert a._async['make_response'].call_count == 1
assert a._async['make_response'].call_args[0][0] == '400 BAD REQUEST'
- @mock.patch('engineio.asyncio_socket.AsyncSocket')
@mock.patch('importlib.import_module')
- def test_connect_transport_websocket(self, import_module, AsyncSocket):
+ @mock.patch('engineio.asyncio_server.asyncio_socket.AsyncSocket')
+ def test_connect_transport_websocket(self, AsyncSocket, import_module):
a = self.get_async_mock(
{
'REQUEST_METHOD': 'GET',
@@ -312,9 +312,9 @@ def test_connect_transport_websocket(self, import_module, AsyncSocket):
== packet.OPEN
)
- @mock.patch('engineio.asyncio_socket.AsyncSocket')
@mock.patch('importlib.import_module')
- def test_http_upgrade_case_insensitive(self, import_module, AsyncSocket):
+ @mock.patch('engineio.asyncio_server.asyncio_socket.AsyncSocket')
+ def test_http_upgrade_case_insensitive(self, AsyncSocket, import_module):
a = self.get_async_mock(
{
'REQUEST_METHOD': 'GET',
@@ -334,11 +334,10 @@ def test_http_upgrade_case_insensitive(self, import_module, AsyncSocket):
== packet.OPEN
)
- @mock.patch('engineio.asyncio_socket.AsyncSocket')
@mock.patch('importlib.import_module')
+ @mock.patch('engineio.asyncio_server.asyncio_socket.AsyncSocket')
def test_connect_transport_websocket_closed(
- self, import_module, AsyncSocket
- ):
+ self, AsyncSocket, import_module):
a = self.get_async_mock(
{
'REQUEST_METHOD': 'GET',

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f6ff1c3b3463a453b8eafa7a81f1dd52bd1728bf524988f9ab99b71c31a8d8e
size 300665