Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-websocket-client for openSUSE:Factory checked in at 2022-04-16 00:13:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-websocket-client (Old) and /work/SRC/openSUSE:Factory/.python-websocket-client.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-websocket-client" Sat Apr 16 00:13:21 2022 rev:16 rq:969543 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-websocket-client/python-websocket-client.changes 2021-11-09 23:54:06.619937331 +0100 +++ /work/SRC/openSUSE:Factory/.python-websocket-client.new.1941/python-websocket-client.changes 2022-04-16 00:13:39.593601885 +0200 @@ -1,0 +2,79 @@ +Tue Apr 12 13:43:50 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 1.3.2 + * Add support for pre-initialized stream socket in new WebSocketApp (#804) + * Remove rel.saferead() in examples (f0bf03d) + * Increase scope of linting checks (dca4022) + * Start adding type hints (a8a4099) +- from version 1.3.1 + * Fix 10 year old bug and improve dispatcher handling + for run_forever (#795) + * Fix run_forever to never return None, only + return True or False, and add two tests (#788) + * Remove Python 3.6 support, EOL in Dec 2021 +- from version 1.3.0 + * BREAKING: Set Origin header to use https:// scheme + when wss:// WebSocket URL is passed (#787) + * Replace deprecated/broken WebSocket URLs with working ones (6ad5197) + * Add documentation referencing rel for automatic + reconnection with run_forever() + * Add missing opcodes 1012, 1013 (#771) + * Add errno.ENETUNREACH to improve error handling (da1b050) + * Minor documentation improvements and typo fixes +- from version 1.2.3 + * Fix broken run_forever() functionality (#769) +- from version 1.2.2 + * Migrate wsdump script in setup.py from scripts to newer entry_points (#763) + * Add support for ssl.SSLContext for arbitrary SSL parameters (#762) + * Remove keep_running variable (#752) + * Remove HAVE_CONTEXT_CHECK_HOSTNAME variable (dac1692) + * Replace deprecated ssl.PROTOCOL_TLS with ssl.PROTOCOL_TLS_CLIENT (#760) + * Simplify code and improve Python 3 support (#751, #750, #746) + * Fill default license template fields (#748) + * Update CI tests + * Improve documentation (#732, #733, #734, #737, #766, #768) +- from version 1.2.1 + * Fix python-socks dependency issue mentioned in #728 + * Replace echo.websocket.org with a local websockets + echo server for unit tests (4951de2) +- from version 1.2.0 + * Fix #697, #665: Transition from LGPL 2.1 license to Apache 2.0 license + * Revert #417 and reimplement SOCKS proxy support with + python-socks instead of PySocks (fbcbd43) +- from version 1.1.1 + * Fix #377: increase exception verbosity in _app.py callback exception + * Fix #717: race condition during connection close + * Fix #722: improve handling where credentials include symbols like @ + * Fix #711: improve handling if ssl is None +- from version 1.1.0 + * Set enable_multithread to True by default (beb135a) + * Performance improvement in _mask() function (287970e, #433) + * Performance improvement in recv_strict() function (60e4711, #255) + * Performance improvement by removing numpy-related code (a462d45) + * Support uppercase no_proxy, http_proxy, https_proxy env vars (150df4f, #700) + * Add sslopt 'server_hostname' support (#698) + * Replace deprecated ssl.PROTOCOL_SSLv23 with ssl.PROTOCOL_TLS (494564f) + * Update documentation, README (7c9d604, #704) +- from version 1.0.1 + * Fix exception handling bug #694 +- from version 1.0.0 + * Removed Python 2 code, now only Python 3 compatible (d45343b, b7c5733, ff67af8) + * Use semver for release versions, unlike breaking release 0.58.0 (#669) + * Enhance enableTrace output (13e83b4) + * Improve unit tests to over 80% code coverage (1679ab0, a00dd2d, etc.) + * Fix old _app.py close status code bug (resulted in on_close() requiring 3 args) (#686) + * Replace select import with selectors (#568) +- from version 0.59.0 + * Last main release to support Python 2 + * Fix Python 2 urlparse scheme (#332) + * Add support for headers with multiple values (#627) + * Add debug support for reserved custom status codes (#639) + * Allow multiple Set-Cookie: headers (#649) + * Simplified cookie sorting (#662) + * Add no_proxy support (#671) + * Add Host header to HTTP proxy request (#677) + * Improve PEP8 style compliance (dc3f5c4) +- Drop support for Python2 which was removed upstream +- Rename README.rst to README.md in %files section + +------------------------------------------------------------------- Old: ---- websocket_client-0.58.0.tar.gz New: ---- websocket-client-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-websocket-client.spec ++++++ --- /var/tmp/diff_new_pack.IwSJEz/_old 2022-04-16 00:13:40.097602557 +0200 +++ /var/tmp/diff_new_pack.IwSJEz/_new 2022-04-16 00:13:40.105602569 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-websocket-client # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,18 +22,22 @@ %bcond_with libalternatives %endif -%bcond_without python2 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-websocket-client -Version: 0.58.0 +Version: 1.3.2 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 +Source0: https://files.pythonhosted.org/packages/source/w/websocket_client/websocket-client-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 3.4} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module sphinx_rtd_theme >= 0.5} +BuildRequires: %{python_module websockets} BuildRequires: fdupes -BuildRequires: python-rpm-macros >= 20210929 +BuildRequires: python-rpm-macros Requires: python-six %if %{with libalternatives} Requires: alts @@ -45,12 +49,6 @@ Provides: python-websocket-client-test = %{version} Obsoletes: python-websocket-client-test < %{version} BuildArch: noarch -%if %{with python2} -BuildRequires: python-backports.ssl_match_hostname -%endif -%ifpython2 -Requires: python-backports.ssl_match_hostname -%endif %python_subpackages %description @@ -60,8 +58,7 @@ Websocket-client supports only hybi-13. %prep -%setup -q -n websocket_client-%{version} -sed -i '1 i #!/usr/bin/python' bin/wsdump.py +%setup -q -n websocket-client-%{version} %build %python_build @@ -69,25 +66,25 @@ %install %python_install %python_expand %fdupes %{buildroot}/%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/wsdump.py +%python_clone -a %{buildroot}%{_bindir}/wsdump %check -%python_exec websocket/tests/test_websocket.py +%pyunittest discover -v %pre # If libalternatives is used: Removing old update-alternatives entries. -%python_libalternatives_reset_alternative wsdump.py +%python_libalternatives_reset_alternative wsdump %post -%python_install_alternative wsdump.py +%python_install_alternative wsdump %postun -%python_uninstall_alternative wsdump.py +%python_uninstall_alternative wsdump %files %{python_files} %license LICENSE -%doc README.rst ChangeLog -%python_alternative %{_bindir}/wsdump.py +%doc README.md ChangeLog +%python_alternative %{_bindir}/wsdump %{python_sitelib}/websocket/ %{python_sitelib}/websocket_client-%{version}-py*.egg-info