From 2d02bf22671e01cfeb7b5c9e3df3331aa23ca6c59f6185c918de6d04e1d0239c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 28 Dec 2025 19:46:02 +0000 Subject: [PATCH] - update to 5.16.0: * Address deprecation warnings (commit) * Drop Python 3.8 and 3.9 from CI builds (commit) * Restore support multiple arguments via pubsub emits #1540 (commit) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=30 --- .gitattributes | 23 ++++ .gitignore | 1 + python-python-socketio.changes | 205 +++++++++++++++++++++++++++++++++ python-python-socketio.spec | 77 +++++++++++++ python_socketio-5.13.0.tar.gz | 3 + python_socketio-5.14.1.tar.gz | 3 + python_socketio-5.14.3.tar.gz | 3 + python_socketio-5.15.0.tar.gz | 3 + python_socketio-5.16.0.tar.gz | 3 + 9 files changed, 321 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-python-socketio.changes create mode 100644 python-python-socketio.spec create mode 100644 python_socketio-5.13.0.tar.gz create mode 100644 python_socketio-5.14.1.tar.gz create mode 100644 python_socketio-5.14.3.tar.gz create mode 100644 python_socketio-5.15.0.tar.gz create mode 100644 python_socketio-5.16.0.tar.gz 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..0613256 --- /dev/null +++ b/python-python-socketio.changes @@ -0,0 +1,205 @@ +------------------------------------------------------------------- +Sun Dec 28 19:45:40 UTC 2025 - Dirk Müller + +- update to 5.16.0: + * Address deprecation warnings (commit) + * Drop Python 3.8 and 3.9 from CI builds (commit) + * Restore support multiple arguments via pubsub emits #1540 + (commit) + +------------------------------------------------------------------- +Wed Dec 3 21:26:55 UTC 2025 - Guang Yee + +- Update 5.15.0 + * Retry initial Redis connection #1534 + * Correctly regenerate RabbitMQ binding after a connection failure #1516 + * Support ext_type in the MsgPackPacket class #1521 + * Support sending bytesarrays when using pub/sub managers + * Fix typos in documentation #1520 + * Improvements to the logging documentation + +------------------------------------------------------------------- +Fri Oct 31 11:40:10 UTC 2025 - Dirk Müller + +- update to 5.14.3: + * Support Python's native `ConnectionRefusedError` exception to + reject a connection #1515 (commit) + * Push binary data to the aiopika client manager #1514 (commit) + * Restore binary message support in message queue setups #1509 + (commit) + * Fix formatting of client connection error #1507 (commit) + * Add 3.14 and pypy-3.11 CI tasks (commit) + * Improve documentation of the `BaseManager.get_participants()` + method (commit) + +------------------------------------------------------------------- +Wed Oct 8 03:04:46 UTC 2025 - Steve Kowalik + +- Update to 5.14.1: + * Restore support for rediss:// URLs, and add support for valkeys:// as + well + * Add support for Redis connections using unix sockets + * Replace pickle with json in message queue communications + (bsc#1251193, CVE-2025-61765) + * Add support for Valkey in the Redis client managers + * Keep track of which namespaces failed to connect + * Fixed transport property of the simple clients to be a string as + documented + * SimpleClient.call does not raise TimeoutError on timeout + * Wait for client to end background tasks on disconnect + * Better error logging for the Redis managers + * Channel was not properly initialized in several pubsub client managers + * Add message queue deployment recommendations for security + * Add missing async on session examples for the async server + * Add SPDX license identifier + +------------------------------------------------------------------- +Tue Aug 12 05:22:00 UTC 2025 - Steve Kowalik + +- Add missing BuildRequires on pytest-asyncio. + +------------------------------------------------------------------- +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..a6bee95 --- /dev/null +++ b/python-python-socketio.spec @@ -0,0 +1,77 @@ +# +# spec file for package python-python-socketio +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# 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.16.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.11.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.11.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-asyncio} +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 +# Requires python-valkey, not packaged +ignore="--ignore tests/async/test_redis_manager.py " +ignore+="--ignore tests/common/test_redis_manager.py" +%pytest -rs $ignore -k 'not test_logger' --timeout=60 + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/socketio +%{python_sitelib}/python_socketio-%{version}.dist-info + +%changelog 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 diff --git a/python_socketio-5.14.1.tar.gz b/python_socketio-5.14.1.tar.gz new file mode 100644 index 0000000..a78febc --- /dev/null +++ b/python_socketio-5.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0895560aec60eecc1e662ea39940feabf8f4e647828055d3e5ac9435bf2930c0 +size 198494 diff --git a/python_socketio-5.14.3.tar.gz b/python_socketio-5.14.3.tar.gz new file mode 100644 index 0000000..8496bf1 --- /dev/null +++ b/python_socketio-5.14.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ec6f0ccf7e065825b4e12d5f8f149c8d784499d3b5c4d7043e74aa70613ab02 +size 199963 diff --git a/python_socketio-5.15.0.tar.gz b/python_socketio-5.15.0.tar.gz new file mode 100644 index 0000000..27662df --- /dev/null +++ b/python_socketio-5.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4090ff56b6a5fafeb4a093a07edb1b928d9e3273214f70e8c97906a050cf70ba +size 202576 diff --git a/python_socketio-5.16.0.tar.gz b/python_socketio-5.16.0.tar.gz new file mode 100644 index 0000000..669826d --- /dev/null +++ b/python_socketio-5.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:361b3d763ecf5a253e4e041e992dba4b605f9364512e7dab11326ccf2b65b18d +size 203499