Sync from SUSE:SLFO:Main python-websocket-client revision 49c17d990b53f3bb8efe26760a5c7a3b

This commit is contained in:
Adrian Schröter 2024-12-13 12:37:42 +01:00
parent 6b3cf61214
commit 7343444b48
4 changed files with 76 additions and 16 deletions

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
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>
- 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 <dmueller@suse.com>
- 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 <dmueller@suse.com>
@ -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 <yarunachalam@suse.com>
- 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 <yarunachalam@suse.com>
-------------------------------------------------------------------
Tue Oct 11 17:11:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <adrian.glaubitz@suse.com>
- Update in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629)
-------------------------------------------------------------------
Tue Apr 12 13:43:50 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
@ -177,6 +230,11 @@ Thu Apr 29 19:50:49 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- during CI:
- https://docs.python.org/3/library/unittest.html#deprecated-aliases
-------------------------------------------------------------------
Mon Dec 14 17:47:38 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update in SLE-15 (bsc#1176785, jsc#ECO-3105, jsc#PM-2352)
-------------------------------------------------------------------
Thu Mar 12 07:49:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
@ -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

View File

@ -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

BIN
websocket-client-1.5.1.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.