Accepting request 1035017 from devel:languages:python

- Fix build with OpenSSL 3.0 [bsc#1205042]
  * Temporarily disable test_on_recv_basic

OBS-URL: https://build.opensuse.org/request/show/1035017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2022-11-11 13:36:08 +00:00 committed by Git OBS Bridge
commit 0413ddc5c1
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 9 11:44:45 UTC 2022 - Pedro Monreal <pmonreal@suse.com>
- Fix build with OpenSSL 3.0 [bsc#1205042]
* Temporarily disable test_on_recv_basic
-------------------------------------------------------------------
Sun Sep 25 20:35:28 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define plainpython python
%ifarch x86_64
@ -120,6 +119,8 @@ SKIPPED_TESTS+=" or test_log"
# tries to open a network connection on older distributions
SKIPPED_TESTS+=" or test_null or test_int_sockopts"
%endif
# temporarily disable to build with OpenSSL 3.0 bsc#1205042
SKIPPED_TESTS+=" or test_on_recv_basic"
mkdir cleantest
pushd cleantest
%pytest_arch --pyargs zmq -k "not (${SKIPPED_TESTS:4})" --timeout 1200
@ -129,7 +130,7 @@ popd
%files %{python_files}
%license COPYING.BSD COPYING.LESSER
%doc AUTHORS.md README.md examples
%{python_sitearch}/zmq/
%{python_sitearch}/zmq
%{python_sitearch}/pyzmq-%{version}-py*.egg-info
%exclude %{python_sitearch}/zmq/utils/*.h
%exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h