From cdd839f19a650ceeaf7cd32aca3bfa7aac6efe9f242f4310479ef3178ff81a06 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 15 Oct 2024 03:35:34 +0000 Subject: [PATCH] - 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 --- python-websocket-client.changes | 9 +++++++++ python-websocket-client.spec | 22 ++++++++++++---------- websocket-client-1.7.0.tar.gz | 3 --- websocket_client-1.8.0.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 13 deletions(-) delete mode 100644 websocket-client-1.7.0.tar.gz create mode 100644 websocket_client-1.8.0.tar.gz diff --git a/python-websocket-client.changes b/python-websocket-client.changes index 2278aed..9008ab5 100644 --- a/python-websocket-client.changes +++ b/python-websocket-client.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Oct 15 03:35:11 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-websocket-client.spec b/python-websocket-client.spec index aad2853..2400646 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -24,16 +24,18 @@ %{?sle15_python_module_pythons} Name: python-websocket-client -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: WebSocket client implementation License: LGPL-2.1-only URL: https://github.com/liris/websocket-client/releases -Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket-client-%{version}.tar.gz -BuildRequires: %{python_module Sphinx >= 3.4} +Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket_client-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 6.0} +BuildRequires: %{python_module pip} 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 wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with libalternatives} @@ -41,7 +43,7 @@ Requires: alts BuildRequires: alts %else Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %endif Provides: 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. %prep -%setup -q -n websocket-client-%{version} +%setup -q -n websocket_client-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}/%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/wsdump @@ -83,6 +85,6 @@ Websocket-client supports only hybi-13. %doc README.md ChangeLog %python_alternative %{_bindir}/wsdump %{python_sitelib}/websocket/ -%{python_sitelib}/websocket_client-%{version}-py*.egg-info +%{python_sitelib}/websocket_client-%{version}.dist-info %changelog diff --git a/websocket-client-1.7.0.tar.gz b/websocket-client-1.7.0.tar.gz deleted file mode 100644 index 2037c4d..0000000 --- a/websocket-client-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10e511ea3a8c744631d3bd77e61eb17ed09304c413ad42cf6ddfa4c7787e8fe6 -size 54037 diff --git a/websocket_client-1.8.0.tar.gz b/websocket_client-1.8.0.tar.gz new file mode 100644 index 0000000..a6c77a1 --- /dev/null +++ b/websocket_client-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3239df9f44da632f96012472805d40a23281a991027ce11d2f45a6f24ac4c3da +size 54648