1
0

2 Commits

Author SHA256 Message Date
e981740279 Accepting request 1208011 from devel:languages:python
- Update to 1.8.0:
  * Added `on_reconnect` parameter to WebSocketApp to handle callback
    ambiguity
  * Improve handling of SSLEOFError and use reconnect bool
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1208011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websocket-client?expand=0&rev=26
2024-10-16 21:35:46 +00:00
c8c9cd6f22 - Update to 1.8.0:
* Added `on_reconnect` parameter to WebSocketApp to handle callback
    ambiguity
  * Improve handling of SSLEOFError and use reconnect bool
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=61
2024-10-15 03:35:34 +00:00
4 changed files with 24 additions and 13 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Oct 15 03:35:11 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.0:
* Added `on_reconnect` parameter to WebSocketApp to handle callback
ambiguity
* Improve handling of SSLEOFError and use reconnect bool
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 13 10:36:07 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Dec 13 10:36:07 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-websocket-client # spec file for package python-websocket-client
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,16 +24,18 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-websocket-client Name: python-websocket-client
Version: 1.7.0 Version: 1.8.0
Release: 0 Release: 0
Summary: WebSocket client implementation Summary: WebSocket client implementation
License: LGPL-2.1-only License: LGPL-2.1-only
URL: https://github.com/liris/websocket-client/releases URL: https://github.com/liris/websocket-client/releases
Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket-client-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket_client-%{version}.tar.gz
BuildRequires: %{python_module Sphinx >= 3.4} BuildRequires: %{python_module Sphinx >= 6.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sphinx_rtd_theme >= 0.5} BuildRequires: %{python_module sphinx_rtd_theme >= 1.1}
BuildRequires: %{python_module websockets} BuildRequires: %{python_module websockets}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with libalternatives} %if %{with libalternatives}
@@ -41,7 +43,7 @@ Requires: alts
BuildRequires: alts BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%endif %endif
Provides: python-websocket-client-test = %{version} Provides: python-websocket-client-test = %{version}
Obsoletes: python-websocket-client-test < %{version} Obsoletes: python-websocket-client-test < %{version}
@@ -55,13 +57,13 @@ low-level APIs for WebSocket. All APIs are synchronous functions.
Websocket-client supports only hybi-13. Websocket-client supports only hybi-13.
%prep %prep
%setup -q -n websocket-client-%{version} %setup -q -n websocket_client-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib} %python_expand %fdupes %{buildroot}/%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/wsdump %python_clone -a %{buildroot}%{_bindir}/wsdump
@@ -83,6 +85,6 @@ Websocket-client supports only hybi-13.
%doc README.md ChangeLog %doc README.md ChangeLog
%python_alternative %{_bindir}/wsdump %python_alternative %{_bindir}/wsdump
%{python_sitelib}/websocket/ %{python_sitelib}/websocket/
%{python_sitelib}/websocket_client-%{version}-py*.egg-info %{python_sitelib}/websocket_client-%{version}.dist-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10e511ea3a8c744631d3bd77e61eb17ed09304c413ad42cf6ddfa4c7787e8fe6
size 54037

BIN
websocket_client-1.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.