commit 65801d303053f5cba55d6a0b9f50bfb457d7977b5a8dad8a801c7eb269cc4122 Author: Dirk Mueller Date: Wed Aug 21 11:26:06 2024 +0000 Accepting request 1194152 from home:yeey:branches:devel:languages:python - 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!) OBS-URL: https://build.opensuse.org/request/show/1194152 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=14 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..4566833 --- /dev/null +++ b/python-python-socketio.changes @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +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..624d67a --- /dev/null +++ b/python-python-socketio.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-python-socketio +# +# Copyright (c) 2024 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.11.3 +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_module bidict >= 0.21.0} +Requires: %{python_module python-engineio >= 4.8.0} +Suggests: %{python_module aiohttp >= 3.4} +Suggests: %{python_module requests >= 2.21.0} +Suggests: %{python_module 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.3.tar.gz b/python_socketio-5.11.3.tar.gz new file mode 100644 index 0000000..d3181af --- /dev/null +++ b/python_socketio-5.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:194af8cdbb7b0768c2e807ba76c7abc288eb5bb85559b7cddee51a6bc7a65737 +size 117702