forked from pool/python-python-socketio
* 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
74 lines
2.4 KiB
RPMSpec
74 lines
2.4 KiB
RPMSpec
#
|
|
# 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
|