From 7343444b481809fcc421243d6a3e6a5f3811cff695e3b7e865f3bfab766c9277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:37:42 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-websocket-client revision 49c17d990b53f3bb8efe26760a5c7a3b --- python-websocket-client.changes | 64 +++++++++++++++++++++++++++++++-- python-websocket-client.spec | 22 ++++++------ websocket-client-1.5.1.tar.gz | 3 -- websocket_client-1.8.0.tar.gz | 3 ++ 4 files changed, 76 insertions(+), 16 deletions(-) delete mode 100644 websocket-client-1.5.1.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 2b5fbff..9008ab5 100644 --- a/python-websocket-client.changes +++ b/python-websocket-client.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +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 + +- update to 1.7.0: + * Renamed `mask` variable in ABNF to prevent name collision + with `mask()` function (9b51f73) + * Fixed old http import of HTTPStatus in _handshake.py + * Add `send_text()` and `send_bytes()` to _app.py + * Improved typehint support + * General readability improvements, made all string + concatenations use f-strings + * Applied black formatting style to code (da7f286) + +------------------------------------------------------------------- +Mon Nov 27 20:30:23 UTC 2023 - Dirk Müller + +- update to 1.6.4: + * Fix #952, add support for HTTP 307 and 308 redirect codes + * Fix type hints issues + * Add support for Python beta release 3.12 in CI + * Add maintainer email in setup.py + * Add support for SSLKEYLOGFILE environment variable + * Add support for callable header arguments + * Change handling of proxy environment variables, is_secure set + to true now prevents http_proxy from getting used + * Fix Dispatcher keyboard interrupt. Should solve reconnect + loop with rel + * Fix teardown issue when ping thread is not properly ended + * Fix double ping wait time on first ping + * Minor type hints improvements (eda6724, 54b3013) + * Add logic to avoid error in the case where content-length + header does not exist, bug introduced in 1.5.2 + * Fix wsdump.py script typing, bug introduced in 1.5.2 + * Add type hints + * Fix pytype errors + * Fix args passed to logging function + * Standardize PEP 3101 formatting (c6a445f) + * Add more verbose exception for unsuccessful handshake + ------------------------------------------------------------------- Wed May 10 07:00:29 UTC 2023 - Dirk Müller @@ -28,7 +76,7 @@ Mon Nov 14 13:25:02 UTC 2022 - pgajdos@suse.com ------------------------------------------------------------------- Wed Nov 9 19:43:22 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 1.4.2 +- Update to version 1.4.2 - create_dispatcher is determined by URL ws/wss, NOT by presence of sslopt args, to maintain consistency (#875) - Remove redundant key generation line (#864) - Updated docs to fix old links and updated CI to include Python 3.11 @@ -36,11 +84,16 @@ Wed Nov 9 19:43:22 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Tue Oct 11 17:11:02 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 1.4.1 +- Update to version 1.4.1 - Fix stack growth bug when `run_forever` reconnects (#854) - Add doctest CI for sphinx docs code examples (d150099) - General docs improvements +------------------------------------------------------------------- +Thu Jul 21 11:39:53 UTC 2022 - John Paul Adrian Glaubitz + +- Update in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629) + ------------------------------------------------------------------- Tue Apr 12 13:43:50 UTC 2022 - John Paul Adrian Glaubitz @@ -177,6 +230,11 @@ Thu Apr 29 19:50:49 UTC 2021 - Sebastian Wagner - during CI: - https://docs.python.org/3/library/unittest.html#deprecated-aliases +------------------------------------------------------------------- +Mon Dec 14 17:47:38 UTC 2020 - John Paul Adrian Glaubitz + +- Update in SLE-15 (bsc#1176785, jsc#ECO-3105, jsc#PM-2352) + ------------------------------------------------------------------- Thu Mar 12 07:49:24 UTC 2020 - Tomáš Chvátal @@ -443,7 +501,7 @@ Mon Jun 23 22:01:20 UTC 2014 - rschweikert@suse.com ------------------------------------------------------------------- Mon Jun 16 21:21:11 UTC 2014 - rschweikert@suse.com -- Clean up spec file +- Clean up spec file ------------------------------------------------------------------- Sat Jun 7 10:21:38 UTC 2014 - rschweikert@suse.com diff --git a/python-websocket-client.spec b/python-websocket-client.spec index 16c3965..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.5.1 +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.5.1.tar.gz b/websocket-client-1.5.1.tar.gz deleted file mode 100644 index a4c8ae5..0000000 --- a/websocket-client-1.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f09e6d8230892547132177f575a4e3e73cfdf06526e20cc02aa1c3b47184d40 -size 49942 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