From e2a7a8461085a01ea265ffc5c15f3bbddb2a26c6d2c9c42ab7a9d7dda149f01a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 21 Aug 2024 11:26:06 +0000 Subject: [PATCH 1/3] 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 --- python-python-socketio.changes | 11 ++++++++++ python-python-socketio.spec | 37 ++++++++++++++++++++-------------- python-socketio-5.7.2.tar.gz | 3 --- python_socketio-5.11.3.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 18 deletions(-) delete mode 100644 python-socketio-5.7.2.tar.gz create mode 100644 python_socketio-5.11.3.tar.gz diff --git a/python-python-socketio.changes b/python-python-socketio.changes index ae44ead..4566833 100644 --- a/python-python-socketio.changes +++ b/python-python-socketio.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 diff --git a/python-python-socketio.spec b/python-python-socketio.spec index e997179..624d67a 100644 --- a/python-python-socketio.spec +++ b/python-python-socketio.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-socketio # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -18,44 +18,51 @@ %{?sle15_python_module_pythons} Name: python-python-socketio -Version: 5.7.2 +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 +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 python-engineio >= 4.1.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} -Requires: python-bidict >= 0.21.0 -Requires: python-python-engineio >= 4.1.0 -Suggests: python-aiohttp >= 3.4 -Suggests: python-requests >= 2.21.0 -Suggests: python-websocket-client >= 0.54.0 -Suggests: python-websockets >= 7.0 -BuildArch: noarch +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} +%setup -q -n python_socketio-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -rs -k 'not test_logger' +%pytest -rs -k 'not test_logger' --timeout=60 %files %{python_files} %doc README.md diff --git a/python-socketio-5.7.2.tar.gz b/python-socketio-5.7.2.tar.gz deleted file mode 100644 index 8e03bf6..0000000 --- a/python-socketio-5.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -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 From f66430febe536a03d1405cb92c6573dfb58939627f12e1798b1d92fe8cde2b39 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 3 Sep 2024 04:58:54 +0000 Subject: [PATCH 2/3] - Do not use python_module in Requires/Suggests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=15 --- python-python-socketio.changes | 5 +++++ python-python-socketio.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-python-socketio.changes b/python-python-socketio.changes index 4566833..957e4dc 100644 --- a/python-python-socketio.changes +++ b/python-python-socketio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-python-socketio.spec b/python-python-socketio.spec index 624d67a..0e18f1a 100644 --- a/python-python-socketio.spec +++ b/python-python-socketio.spec @@ -31,11 +31,11 @@ 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} +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} From 42bb2d9f87a414c5bfaa466742adcdb71b4d3a9b1681ab9127a1dc2ed7139707 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 6 Sep 2024 23:02:15 +0000 Subject: [PATCH 3/3] Accepting request 1199123 from home:glaubitz:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/1199123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socketio?expand=0&rev=16 --- python-python-socketio.changes | 10 ++++++++++ python-python-socketio.spec | 4 ++-- python_socketio-5.11.3.tar.gz | 3 --- python_socketio-5.11.4.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 5 deletions(-) delete mode 100644 python_socketio-5.11.3.tar.gz create mode 100644 python_socketio-5.11.4.tar.gz diff --git a/python-python-socketio.changes b/python-python-socketio.changes index 957e4dc..e2759f3 100644 --- a/python-python-socketio.changes +++ b/python-python-socketio.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 diff --git a/python-python-socketio.spec b/python-python-socketio.spec index 0e18f1a..7955583 100644 --- a/python-python-socketio.spec +++ b/python-python-socketio.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-python-socketio -Version: 5.11.3 +Version: 5.11.4 Release: 0 Summary: SocketIO server License: MIT @@ -52,7 +52,7 @@ BuildArch: noarch Python implementation of the Socket.IO realtime server. %prep -%setup -q -n python_socketio-%{version} +%setup -q -n python-socketio-%{version} %build %pyproject_wheel diff --git a/python_socketio-5.11.3.tar.gz b/python_socketio-5.11.3.tar.gz deleted file mode 100644 index d3181af..0000000 --- a/python_socketio-5.11.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:194af8cdbb7b0768c2e807ba76c7abc288eb5bb85559b7cddee51a6bc7a65737 -size 117702 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