Accepting request 894161 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/894161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websocket-client?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-05-20 17:23:23 +00:00 committed by Git OBS Bridge
commit 355d7b56b4
4 changed files with 61 additions and 15 deletions

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Thu Apr 29 19:50:49 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- remove RHEL 7 compatibility from specfile
- update to version 0.58.0:
- fix callback
- Capitalize default connection header
- Fix None.lower() when sec-websocket-protocol response header does notexist
- Fix for #516
- Tweak Python 3.4 build settings
- fix callback
- Fix None.lower() when sec-websocket-protocol response header doesn't exist
- Create README.md and fix minor typo (both from existing pull requests)
- Fix _handshake.py error where subproto is None
- fix documentation: create_connection, settimeout
- Capitalize default connection header
- Edit README.md for clarification and to add missing material from parent repo
- Fix minor typo - getdefauttimeout to getdefaulttimeout
- Remove README text copied from fork that is not applicable
- Add support for Python 3.8 and 3.9 (#596)
- Fix a few minor typo/misspellings (#659)
- Add pip command to README for 2nd dependency
- Improve README code example formatting
- Use thread.is_alive() to replace deprecated thread.isAlive() (#594)
- Add first draft of Sphinx documentation
- Edit README.md to include docs links and badges
- Replace README.md FAQ with link to documentation FAQ page
- Add acknowledgements section to README.md
- Add detail to Autobahn testing README (still needs improvement)
- Add autobahn test report and additional test instructions
- Add sample connection code to example docs page
- Fixes #631
- Improve documentation, mostly new examples but some code comment upgrades
- Add suppress origin example to documentation
- Add FAQ advice to ping server
- 'ping_interval' should be less than 'ping_timeout' (#611)
- Allow optional, not mandatory, argument for pong() in WebSocket
- Add basic ping/pong and HTTP proxy documentation and examples
- Properly revert _app.py callback to state before PR #442 (previously only partially reverted)
- Add timeout examples to documentation
- Edit documentation to clarify timeout can be int or float (#654)
- Reshuffle and enhance documentation
- Fix #526 by reverting invalid BSD license migration in commit e94ed9e to return to LGPL2.1
- Fix #526 by reverting invalid BSD license migration in commit e94ed9e to return to LGPL2.1
- Fix #546 by removing comments introduced by PR #513
- Update contribution guidelines
- Revert PR #611
- Replace deprecated assertEquals() with assertEqual()
- The plural 'assertEquals()' is deprecated in Python 3 and triggers a warning
- during CI:
- https://docs.python.org/3/library/unittest.html#deprecated-aliases
-------------------------------------------------------------------
Thu Mar 12 07:49:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-websocket-client
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,16 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# RHEL provides this backport in its own repository
%if 0%{?rhel} == 7
%define ssl_match_hostname python-backports-ssl_match_hostname
%else
%define ssl_match_hostname python-backports.ssl_match_hostname
%endif
%bcond_without python2
Name: python-websocket-client
Version: 0.57.0
Version: 0.58.0
Release: 0
Summary: WebSocket client implementation
License: LGPL-2.1-only
@ -42,10 +35,10 @@ Provides: python-websocket-client-test = %{version}
Obsoletes: python-websocket-client-test < %{version}
BuildArch: noarch
%if %{with python2}
BuildRequires: %{ssl_match_hostname}
BuildRequires: python-backports.ssl_match_hostname
%endif
%ifpython2
Requires: %{ssl_match_hostname}
Requires: python-backports.ssl_match_hostname
%endif
%python_subpackages
@ -57,6 +50,7 @@ Websocket-client supports only hybi-13.
%prep
%setup -q -n websocket_client-%{version}
sed -i '1 i #!/usr/bin/python' bin/wsdump.py
%build
%python_build

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63509b41d158ae5b7f67eb4ad20fecbb4eee99434e73e140354dc3ff8e09716f
size 48216