commit fa2fe0e1807ca9981a62cba6aa5da16ec4d2b8dcd6fac8b1892deeed42158c7b Author: Dirk Mueller Date: Mon Apr 28 14:20:55 2025 +0000 - update to 5.13.0: * Eliminate race conditions on disconnect #1441 (commit) * Preserve exception context in `Client.connect` and `AsyncClient.connect` * Allow custom client subclasses to be used in SimpleClient and AsyncSimpleClient * Add support for Redis Sentinel URLs in `RedisManager` and `AsyncRedisManager` * Remove incorrect reference to an `asyncio` installation extra in documentation - Do not use python_module in Requires/Suggests. - Update to 5.7.2 Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8 (commit) * Include example code in flake8 pass * Option to disable the SIGINT handler in the client #792 * Do not invoke reserved events on a catch-all handler #814 * Use correct binary packet types in the msgpack packet encoder #811 * Add missing call() method to namespace classes #800 * Add missing to argument to namespace emit() and send() methods #810 * Configure Redis pubsub to skip subscription messages * Update Python supported versions in docs * Document how to get the connection state in the client #799 * Improved documentation of start_background_task() function * Improved documentation of call() method #813 * Fixed intermittent test failures #572 - version 5.4.1 * Catch-all event handlers * Implement disconnect method for external processes #684 * Big changelog, see CHANGES.md * Big changelog, see CHANGES.md OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=20 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-socketio.changes b/python-python-socketio.changes new file mode 100644 index 0000000..a151bfe --- /dev/null +++ b/python-python-socketio.changes @@ -0,0 +1,145 @@ +------------------------------------------------------------------- +Mon Apr 28 14:20:32 UTC 2025 - Dirk Müller + +- update to 5.13.0: + * Eliminate race conditions on disconnect #1441 (commit) + * Preserve exception context in `Client.connect` and + `AsyncClient.connect` + * Allow custom client subclasses to be used in SimpleClient and + AsyncSimpleClient + * Add support for Redis Sentinel URLs in `RedisManager` and + `AsyncRedisManager` + * Remove incorrect reference to an `asyncio` installation extra + in documentation + +------------------------------------------------------------------- +Sun Mar 23 18:01:01 UTC 2025 - Axel Braun + +- version 5.12.1 + * no changelog provided + +------------------------------------------------------------------- +Fri Sep 6 06:24:13 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 5.11.4 + * Prevent crash when client sends empty event + * Add missing `to` argument in manager's `emit()` method (#1374) + * Reorganization of server documentation (#1350) + * Update documentation note about Sanic issues (#1365) +- Adjust upstream source name in spec file + +------------------------------------------------------------------- +Tue Sep 3 04:58:19 UTC 2024 - Steve Kowalik + +- Do not use python_module in Requires/Suggests. + +------------------------------------------------------------------- +Wed Aug 14 17:15:24 UTC 2024 - Guang Yee + +- Update to 5.11.3 + * New shutdown() method added to the client #1333 (commit) + * Ignore catch-all namespace in client connections #1351 (commit) + * Accept 0 as a callback id #1329 (commit) (thanks Ruslan Bel'kov!) + * Minor updates to the server and client documentation (commit) + * Remove outdated information in intro section of documentation #1337 (commit) + * Fixed typos in server documentation #1331 (commit) (thanks John Sigg!) + +------------------------------------------------------------------- +Fri Dec 1 16:43:24 UTC 2023 - Antonio Larrosa + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri Oct 28 20:49:21 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 5.7.2 + * Fixed disconnect implementation when using a message queue #1002 (commit) + * Fixed remote async disconnects via message queue #1003 (commit) + * Support optional payloads in msgpack implementation #981 (commit) (thanks Cromfel!) + * Recommend ASGI integration for Sanic in Documentation (commit) + +------------------------------------------------------------------- +Thu Oct 6 22:50:37 UTC 2022 - Yogalakshmi Arunachalam + +- Update to Release 5.7.1 - 2022-07-15 + Add namespaces argument to Server and AsyncServer #822 (commit) + Add missing await in asyncio server #952 (commit) (thanks sjrodahl!) + +- Update to Release 5.7.0 - 2022-07-04 + Server refuses connections on unknown namespaces #822 (commit) + Do not send ACK packet for unknown events #824 (commit) + Fix Python 3.11 deprecation warning #941 (commit) (thanks Jérôme Boulmier!) + Correct handling of RedisError exception #919 (commit) + Update Django example (commit) + Documentation fix for async client (commit) + Update documentation of asyncio server (commit) + Fix documentation typo #948 (commit) (thanks mostlycryptic!) + +- Update to Release 5.6.0 - 2022-04-24 + Catch and log errors in pubsub listening thread #889 (commit) + Use new asyncio support in redis package #911 (commit) + Add support for aiopiko version 7 and higher #897 (commit) (thanks Dmitriy!) + Fixed documentation typo #910 (commit) (thanks Omar Costa Hamido!) + Fix aiohttp example's background task #881 (commit) + Bump sanic from 0.8 to 20.12.6 in /examples/server/sanic #875 (commit) (thanks dependabot[bot]!) + Add application name to Sanic example #892 (commit) (thanks Florian Metzger-Noel!) + +- Update to Release 5.5.2 - 2022-02-15 + Connect with an empty auth object instead of None #861 (commit) + Fix indentation in the "Rooms" docs example. #872 (commit) (thanks Ezio Melotti!) + Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8 (commit) + +------------------------------------------------------------------- +Sun Jan 23 08:34:21 UTC 2022 - Axel Braun + +- version 5.5.1 + * Support multiple Kafka servers (thanks sparkingdark!) + * Include example code in flake8 pass + * Option to disable the SIGINT handler in the client #792 + * Do not invoke reserved events on a catch-all handler #814 + * Use correct binary packet types in the msgpack packet encoder #811 + * Add missing call() method to namespace classes #800 + * Add missing to argument to namespace emit() and send() methods #810 + * Configure Redis pubsub to skip subscription messages + * Migrate async Redis client manager to aioredis 2 #771 (thanks Sam Mosleh!) + * Update Python supported versions in docs + * Document how to get the connection state in the client #799 + * Improved documentation of start_background_task() function + * Improved documentation of call() method #813 + * Fixed intermittent test failures #572 + +------------------------------------------------------------------- +Sat Oct 23 16:21:35 UTC 2021 - Axel Braun + +- version 5.4.1 + * Catch-all event handlers + * Implement disconnect method for external processes #684 + +------------------------------------------------------------------- +Wed Oct 6 10:45:54 UTC 2021 - Axel Braun + +- update to version 5.4.0 + * Big changelog, see CHANGES.md + +------------------------------------------------------------------- +Tue May 25 17:26:54 UTC 2021 - Ben Greiner + +- Update to 5.3.0 + * Big changelog, see CHANGES.md + +------------------------------------------------------------------- +Sun May 16 09:43:42 UTC 2021 - Axel Braun + +- python2 build removed + +------------------------------------------------------------------- +Sun Nov 29 02:00:48 UTC 2020 - John Vandenberg + +- Convert to single spec +- Activate test suite +- Update to v4.6.1 + +------------------------------------------------------------------- +Thu Feb 1 15:35:31 UTC 2018 - gsmith@suse.com + +- Initial version 1.8.4 diff --git a/python-python-socketio.spec b/python-python-socketio.spec new file mode 100644 index 0000000..d2cfd99 --- /dev/null +++ b/python-python-socketio.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-python-socketio +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-python-socketio +Version: 5.13.0 +Release: 0 +Summary: SocketIO server +License: MIT +URL: http://github.com/miguelgrinberg/python-socketio/ +Source: https://github.com/miguelgrinberg/python-socketio/archive/v%{version}.tar.gz#/python_socketio-%{version}.tar.gz +BuildRequires: %{python_module bidict >= 0.21.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module python-engineio >= 4.8.0} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-bidict >= 0.21.0 +Requires: python-python-engineio >= 4.8.0 +Suggests: python-aiohttp >= 3.4 +Suggests: python-requests >= 2.21.0 +Suggests: python-websocket-client >= 0.54.0 +#Tests: +BuildRequires: %{python_module aiohttp >= 3.4} +BuildRequires: %{python_module msgpack} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 2.21.0} +BuildRequires: %{python_module simple-websocket} +BuildRequires: %{python_module uvicorn} +BuildRequires: %{python_module websocket-client >= 0.54.0} +BuildArch: noarch +%python_subpackages + +%description +Python implementation of the Socket.IO realtime server. + +%prep +%setup -q -n python-socketio-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest -rs -k 'not test_logger' --timeout=60 + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/socketio +%{python_sitelib}/python_socketio-%{version}*-info + +%changelog diff --git a/python-socketio-5.7.2.tar.gz b/python-socketio-5.7.2.tar.gz new file mode 100644 index 0000000..8e03bf6 --- /dev/null +++ b/python-socketio-5.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d71d68f4225a6525efe162e3c1df1adfecd1d05c94d17c032aec5e850624ba8 +size 143771 diff --git a/python_socketio-5.11.4.tar.gz b/python_socketio-5.11.4.tar.gz new file mode 100644 index 0000000..1063b48 --- /dev/null +++ b/python_socketio-5.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a29e1f9249ea347a706caa62e49a3e502ddae6306e090d7d70ca7b1d636ad69 +size 188779 diff --git a/python_socketio-5.12.1.tar.gz b/python_socketio-5.12.1.tar.gz new file mode 100644 index 0000000..14181c2 --- /dev/null +++ b/python_socketio-5.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:731c0a139d9e5218201d6613a6d2f10b236be207b8be87d82ebfee43f6b65ecf +size 194404 diff --git a/python_socketio-5.13.0.tar.gz b/python_socketio-5.13.0.tar.gz new file mode 100644 index 0000000..ea15490 --- /dev/null +++ b/python_socketio-5.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42b2e11a8e0ebd74fd355d585a4236afa4309c900b24f26ad79c0c88d2bfc095 +size 195569