From 5ec385e87fc7f4a3d272160e3ac07b5c51b1f0fc Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 25 Nov 2024 08:08:43 -0500 Subject: [PATCH] Add some notes on test dependencies [skip changelog] --- python-zmq.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python-zmq.spec b/python-zmq.spec index a8b17db..7fdacbf 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -86,10 +86,17 @@ License: BSD-3-Clause Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} %py_provides python%{python3_pkgversion}-pyzmq-tests +# Tests in zmq/tests/mypy.py require mypy, but see: +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters +# +# Some tests in zmq/tests/test_context.py and zmq/tests/test_socket.py require +# pyczmq, which is not packaged and has not been updated in a decade. +# BuildRequires: python%{python3_pkgversion}-pytest Requires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-tornado Requires: python%{python3_pkgversion}-tornado +# Enable more tests in zmq/tests/test_message.py: BuildRequires: python%{python3_pkgversion}-numpy Requires: python%{python3_pkgversion}-numpy %if %{with gevent}