Skip to content

Commit

Permalink
Update python-websockets to version 11.0.3 / rev 22 via SR 1088821
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1088821
by user dgarcia + dimstar_suse
- Run tests with pytest
- Disable flaky test gh#python-websockets/websockets#1322
  • Loading branch information
dgarcia authored and bmwiedemann committed May 26, 2023
1 parent ef2bd72 commit 01e0b2e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
Binary file modified packages/p/python-websockets/.files
Binary file not shown.
10 changes: 10 additions & 0 deletions packages/p/python-websockets/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,14 @@
* Added ``open_timeout`` to :func:`~server.serve`.</comment>
<requestid>1087125</requestid>
</revision>
<revision rev="22" vrev="2">
<srcmd5>3a8b566dc294d69f1db3d6b7ec0faa4e</srcmd5>
<version>11.0.3</version>
<time>1685124863</time>
<user>dimstar_suse</user>
<comment>- Run tests with pytest
- Disable flaky test gh#python-websockets/websockets#1322
</comment>
<requestid>1088821</requestid>
</revision>
</revisionlist>
6 changes: 6 additions & 0 deletions packages/p/python-websockets/python-websockets.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 24 11:10:45 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

- Run tests with pytest
- Disable flaky test gh#python-websockets/websockets#1322

-------------------------------------------------------------------
Sun May 14 18:45:02 UTC 2023 - Dirk Müller <dmueller@suse.com>

Expand Down
8 changes: 2 additions & 6 deletions packages/p/python-websockets/python-websockets.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,8 @@ export CFLAGS="%{optflags}"
%check
# Test execution speed depends on BS load and architecture, relax
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
# export PYTHONWARNINGS=default
# test suite temporarily broken on python 3.9.7: gh#aaugustin/websockets#1051
python39_donttest=(-k testnothing)
%pyunittest_arch -v "${$python_donttest[@]}"
# Disable flaky tests gh#python-websockets/websockets#1322
%pytest_arch -v -k "not test_close_waits_for_close_frame" tests

%files %{python_files}
%license LICENSE
Expand Down

0 comments on commit 01e0b2e

Please sign in to comment.