forked from pool/python-python-engineio
Compare commits
22 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2ac0c6cc6a | |||
| 85cc57ade5 | |||
| bc689e5eeb | |||
| f09daf0f9b | |||
| cd95790c9c | |||
| fc956b3de8 | |||
| 99811f03fe | |||
| bf30da28e9 | |||
| 50a9854aa0 | |||
| 9caf827ccb | |||
| 3fcd75c05f | |||
| 6f36c9b611 | |||
| 396c594c20 | |||
| 0cb9def0ae | |||
| 1758937229 | |||
| e947477506 | |||
| 8a0ea1dc78 | |||
| 7d821b0e41 | |||
| d5aadebcf1 | |||
| 491721d3db | |||
| e362c2515c | |||
| b3a9640422 |
@@ -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',
|
||||
3
python-engineio-4.12.0.tar.gz
Normal file
3
python-engineio-4.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ccc0d15535ad82ed03aeff022f31d450ab1eaa9d2108ecb1c4647d587514be9
|
||||
size 319601
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f6ff1c3b3463a453b8eafa7a81f1dd52bd1728bf524988f9ab99b71c31a8d8e
|
||||
size 300665
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a32585d8fecd0118264fe0c39788670456ca9aa466d7c026d995cfff68af164
|
||||
size 88626
|
||||
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 10:52:22 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 4.12.0
|
||||
* Optimize packet parsing to avoid unnecessary calls to
|
||||
JSON parser (#399)
|
||||
* Pass `environ` as a second argument to callable option
|
||||
`cors_allowed_origins` #398)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 23 17:44:26 UTC 2025 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 4,11,2
|
||||
* Fix incorrect disconnection reason reported when browser page is closed (commit)
|
||||
* Remove debugging prints :blush: (commit)
|
||||
* Pass a reason argument to the disconnect handler #393 (commit)
|
||||
* Add maxPayload to connection response #392 (commit) (thanks HeySMMReseller & HeySMMProvider!)
|
||||
* Client option to disable timestamps in connection URLs #386 (commit)
|
||||
* Return disconnected sessions as 400 errors #391 (commit)
|
||||
* Handle unicode errors in ASGI driver #389 (commit)
|
||||
* Replaced deprecated get_event_loop with get_running_loop #384 (commit)
|
||||
* Remove constructs required by older, now unsupported Python versions (commit)
|
||||
* Switched to pyenv-asyncio for async unit tests (commit)
|
||||
* Adopted unittest.mock.AsyncMock in async unit tests instead of homegrown version (commit)
|
||||
* Removed tests dependency on unittest.TestCase base class (commit)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 07:49:41 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Add missing dependency python-simple-websocket
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 18 10:52:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.10.1:
|
||||
* Reject request with incorrect transport #367 (commit)
|
||||
* Reject requests with incorrect transport #367 (commit)
|
||||
* Fixed runtime error when disconnecting all clients #368
|
||||
(commit)
|
||||
* More flexible handling of the ASGI path #359 (commit)
|
||||
* Remove unused parameter in log message #377 (commit)
|
||||
* Minor updates to the server and client documentation (commit)
|
||||
* Add Python 3.13 CI builds (commit)
|
||||
* Run tests with mocked eventlet to avoid 3.13 failures
|
||||
(commit)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 00:46:24 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||
|
||||
@@ -22,7 +68,7 @@ Tue Feb 21 10:05:49 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 22:22:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 4.3.4
|
||||
- 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!)
|
||||
|
||||
@@ -44,7 +90,7 @@ Wed Jan 19 12:31:11 UTC 2022 - Axel Braun <axel.braun@gmx.de>
|
||||
- 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)
|
||||
* 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)
|
||||
@@ -53,13 +99,13 @@ Wed Jan 19 12:31:11 UTC 2022 - Axel Braun <axel.braun@gmx.de>
|
||||
* 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)
|
||||
* 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!)
|
||||
|
||||
* Remove executable permissions from files that lack shebang lines #240 (commit) (thanks Ben Beasley!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 25 17:35:08 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-engineio
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-engineio
|
||||
Version: 4.8.0
|
||||
Version: 4.12.0
|
||||
Release: 0
|
||||
Summary: EngineIO server
|
||||
License: MIT
|
||||
@@ -30,6 +30,7 @@ BuildRequires: %{python_module simple-websocket >= 0.10.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-simple-websocket
|
||||
Recommends: python-eventlet
|
||||
Suggests: python-aiohttp >= 3.4
|
||||
Suggests: python-requests >= 2.21.0
|
||||
@@ -38,6 +39,7 @@ BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aiohttp >= 3.4}
|
||||
BuildRequires: %{python_module eventlet}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.21.0}
|
||||
BuildRequires: %{python_module tornado}
|
||||
@@ -61,7 +63,7 @@ Python implementation of the Engine.IO realtime server.
|
||||
%check
|
||||
# FIXME: disable the static files tests because the tests/async/files is missing from
|
||||
# the release tarball. Hence those tests will always fail.
|
||||
%pytest -rs -k 'not test_logger and not test_static_file_routing and not test_static_files'
|
||||
%pytest -rs -k 'not test_logger and not test_static_file_routing and not test_static_files and not testserver'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user