Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-websockets for
openSUSE:Factory checked in at 2021-08-12 09:01:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-websockets (Old)
and /work/SRC/openSUSE:Factory/.python-websockets.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-websockets"
Thu Aug 12 09:01:26 2021 rev:13 rq:911402 version:9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-websockets/python-websockets.changes
2021-06-06 22:41:02.975441910 +0200
+++
/work/SRC/openSUSE:Factory/.python-websockets.new.1899/python-websockets.changes
2021-08-12 09:02:19.002088938 +0200
@@ -1,0 +2,14 @@
+Wed Aug 11 09:17:13 UTC 2021 - Matej Cepl <[email protected]>
+
+- Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 10 to make
+ test_keepalive_ping_with_no_ping_timeout pass again.
+- Remove skip-test_keepalive_ping_with_no_ping_timeout.patch, of course.
+
+-------------------------------------------------------------------
+Tue Aug 10 07:18:14 UTC 2021 - Matej Cepl <[email protected]>
+
+- Use %pyunittest macro instead of doing it on our own.
+- Add skip-test_keepalive_ping_with_no_ping_timeout.patch for
+ gh#aaugustin/websockets#1026.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-websockets.spec ++++++
--- /var/tmp/diff_new_pack.3XUnCb/_old 2021-08-12 09:02:19.754087762 +0200
+++ /var/tmp/diff_new_pack.3XUnCb/_new 2021-08-12 09:02:19.758087756 +0200
@@ -27,6 +27,7 @@
URL: https://github.com/aaugustin/websockets
Source:
https://github.com/aaugustin/websockets/archive/%{version}.tar.gz
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,7 +43,7 @@
concurrent applications.
%prep
-%setup -q -n websockets-%{version}
+%autosetup -p1 -n websockets-%{version}
%build
export CFLAGS="%{optflags}"
@@ -54,10 +55,10 @@
%check
# Test execution speed depends on BS load and architecture, relax
-export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=5
+export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
# https://github.com/aaugustin/websockets/issues/855 is an intermittent failure
# for test_keepalive_ping_does_not_crash_when_connection_lost on s390x
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest
+%pyunittest_arch -v
%files %{python_files}
%license LICENSE